Re: [Ice] Eric Rescorla's No Objection on draft-ietf-ice-rfc5245bis-17: (with COMMENT) (excluding Security Considerations)

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 01 March 2018 14:09 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: ice@ietfa.amsl.com
Delivered-To: ice@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC9B7124BAC for <ice@ietfa.amsl.com>; Thu, 1 Mar 2018 06:09:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.319
X-Spam-Level:
X-Spam-Status: No, score=-4.319 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X2D5MYqXwIUj for <ice@ietfa.amsl.com>; Thu, 1 Mar 2018 06:09:46 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0FD4D1200F1 for <ice@ietf.org>; Thu, 1 Mar 2018 06:09:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1519913384; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2B86qDu9hJy/w6lcTeBLictIyB+IXAqODI+tpgjRYZ8=; b=MygTj3CUOIuG12ia1fDiJ6GjZQkhXHgPqsdyEM65YzYA65S1GzpWCu098YRW/0zF PwpVky5MTVe8apdrTcZc4Ij5SI1PH1ir7CMxJ5vNLWZ4uRvJOdrDvKCaFXJ//ixO ZJLrDBCzdkyPTg9J7DjppexaJ59bDI27pBTtThHBXfQ=;
X-AuditID: c1b4fb2d-499ff70000005540-e5-5a9809a87695
Received: from ESESSHC020.ericsson.se (Unknown_Domain [153.88.183.78]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 8E.B8.21824.8A9089A5; Thu, 1 Mar 2018 15:09:44 +0100 (CET)
Received: from ESESSMB109.ericsson.se ([169.254.9.82]) by ESESSHC020.ericsson.se ([153.88.183.78]) with mapi id 14.03.0352.000; Thu, 1 Mar 2018 15:09:43 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Eric Rescorla <ekr@rtfm.com>, Ari Keränen <ari.keranen@ericsson.com>
CC: The IESG <iesg@ietf.org>, "draft-ietf-ice-rfc5245bis@ietf.org" <draft-ietf-ice-rfc5245bis@ietf.org>, "ice-chairs@ietf.org" <ice-chairs@ietf.org>, Peter Thatcher <pthatcher@google.com>, "ice@ietf.org" <ice@ietf.org>
Thread-Topic: Eric Rescorla's No Objection on draft-ietf-ice-rfc5245bis-17: (with COMMENT) (excluding Security Considerations)
Thread-Index: AdOpa677O8VqdAW5ThyXNM/NhWOUGQAG8xsAAerqwYAACYXUgAAF+QMA
Date: Thu, 01 Mar 2018 14:09:43 +0000
Message-ID: <D6BDD809.2BD66%christer.holmberg@ericsson.com>
References: <7594FB04B1934943A5C02806D1A2204B6C17768D@ESESSMB109.ericsson.se> <CABcZeBMTrP-4j1UChjvjMYtcCgf9MyhXOn_E6AasuizZGiLytA@mail.gmail.com> <AD332F42-F6D6-4B3A-A440-08AC7C0391F1@ericsson.com> <CABcZeBPg2NZ6rFxM2qRMbL1vUUfcVkU0y+AORDAB62Dg_EiVwQ@mail.gmail.com>
In-Reply-To: <CABcZeBPg2NZ6rFxM2qRMbL1vUUfcVkU0y+AORDAB62Dg_EiVwQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.7.170905
x-originating-ip: [153.88.183.146]
Content-Type: multipart/alternative; boundary="_000_D6BDD8092BD66christerholmbergericssoncom_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKIsWRmVeSWpSXmKPExsUyM2K7n+4KzhlRBnf3iFvMP3md2WLF63Ps FhdnTWaz+Hah1mLGn4nMFteWv2Z1YPNYsKnUY8mSn0wekx+3MQcwR3HZpKTmZJalFunbJXBl zDt+l7XgiW/FpClt7A2MU5y6GDk5JARMJGYev8DUxcjFISRwmFHi3LmXjBDOIkaJWR97gRwO DjYBC4nuf9ogDSICsRJn53exgdQwCzxglNi79z8TSEJYoF5i5oLjrCAJEYEGRokvl6awQnS4 SazcspQZxGYRUJHYe+8HWJxXwFri0Mm9LCC2kMBEJom1M9VAbE6BQInXbzayg9iMAmIS30+t AVvALCAucevJfCaIswUkluw5zwxhi0q8fPwPbKaogJ7EhhO32SHiShI/NlxigehNkDj2dT8T xF5BiZMzn7BMYBSdhWTsLCRls5CUQcT1JG5MncIGYWtLLFv4mhnC1pWY8e8QVI21xI6br5iQ 1Sxg5FjFKFqcWlycm25krJdalJlcXJyfp5eXWrKJERi5B7f81t3BuPq14yFGAQ5GJR7eawwz ooRYE8uKK3MPMUpwMCuJ8J7ePi1KiDclsbIqtSg/vqg0J7X4EKM0B4uSOO9JT94oIYH0xJLU 7NTUgtQimCwTB6dUA2NYU9xnLrbE9DVKITsM89vOZx0WnlBzNrusJT2YTfAEk3/0HI58bV4u /q08h4/LcCn3K7z9dkNofnHflrXqBziU36kYcIWfXlIwxzBv24ayA63ud3mz4yaxMO2Z2OdR /lLlplS7j5O/ZvaBDI2zZ3YzT3seVXHbUjXBrO2ox7WLiUvW33geqcRSnJFoqMVcVJwIAHUl /hjYAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/QfT6B8LSv51vnk6I9Fia-AqlT8w>
Subject: Re: [Ice] Eric Rescorla's No Objection on draft-ietf-ice-rfc5245bis-17: (with COMMENT) (excluding Security Considerations)
X-BeenThere: ice@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Interactive Connectivity Establishment \(ICE\)" <ice.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ice>, <mailto:ice-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ice/>
List-Post: <mailto:ice@ietf.org>
List-Help: <mailto:ice-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ice>, <mailto:ice-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Mar 2018 14:09:49 -0000

Hi,

I guess Ari will reply, but my understanding is that, since triggered checks have high priority, we want the triggered binding requests to be sent asap. But, if the ongoing transaction (In-Progress) has already been going on for a while, and all transmitted/re-transmitted binding requests so far for whatever reason have got dropped in the network, due to the current re-transmission timer (which grows after each re-transmission) it may take a while before binding check is re-transmitted again.

(Of course, even if we create a new transaction, there may be other checks waiting in the triggered check queue, so it may still take a while before the new binding check is sent.)

Regards,

Christer

From: Eric Rescorla <ekr@rtfm.com<mailto:ekr@rtfm.com>>
Date: Thursday 1 March 2018 at 15:31
To: Ari Keränen <ari.keranen@ericsson.com<mailto:ari.keranen@ericsson.com>>
Cc: Christer Holmberg <christer.holmberg@ericsson.com<mailto:christer.holmberg@ericsson.com>>, "iesg@ietf.org<mailto:iesg@ietf.org>" <iesg@ietf.org<mailto:iesg@ietf.org>>, "draft-ietf-ice-rfc5245bis@ietf.org<mailto:draft-ietf-ice-rfc5245bis@ietf.org>" <draft-ietf-ice-rfc5245bis@ietf.org<mailto:draft-ietf-ice-rfc5245bis@ietf.org>>, "ice-chairs@ietf.org<mailto:ice-chairs@ietf.org>" <ice-chairs@ietf.org<mailto:ice-chairs@ietf.org>>, "pthatcher@google.com<mailto:pthatcher@google.com>" <pthatcher@google.com<mailto:pthatcher@google.com>>, "ice@ietf.org<mailto:ice@ietf.org>" <ice@ietf.org<mailto:ice@ietf.org>>
Subject: Re: Eric Rescorla's No Objection on draft-ietf-ice-rfc5245bis-17: (with COMMENT) (excluding Security Considerations)



On Thu, Mar 1, 2018 at 12:58 AM, Ari Keränen <ari.keranen@ericsson.com<mailto:ari.keranen@ericsson.com>> wrote:
Hi Eric & Christer,

> On 19 Feb 2018, at 16.42, Eric Rescorla <ekr@rtfm.com<mailto:ekr@rtfm.com>> wrote:
>
>
>
> >         in-progress transaction.  Cancellation means that the agent
> >         will not retransmit the request, will not treat the lack of
> >         response to be a failure, but will wait the duration of the
> >
> > Why are you cancelling In-Progress checks when you receive a peer-reflective check?
> > If you receive two in a row, then it seems like this delays a successful check.
>
> True.
>
> So, I will remove the cancel part.
>
> Do you still think it should create a new binding request, or is the ongoing In-Progress check enough to check the pair?
>
> My initial reaction is you don't need to do anything extra, but I could easily be wrong here.

I'm afraid this is one of the parts of the spec that solves a corner case in an interesting but non-obvious way. For context, here's the original text:
https://tools.ietf.org/html/rfc5245#section-7.2.1.4

IIRC, one of the reasons for this is that an agent might have started the transaction a while ago, perhaps even sent a few re-transmissions. Now, if you don't cancel that transaction, but just keep that going and send the remaining re-transmission(s) and those are lost due to bad network connectivity, you end up marking that pair as failed. However, if you cancel and start a new transaction, you have full amount of fast retransmissions to go. And if you receive a reply to a cancelled check, it is still a success. I remember this was unintuitive but eventually made sense when I implemented it.

So, I'd recommend we keep this text as such.

Why is this different from any other case of transient failure?

-Ekr



Cheers,
Ari (hat off)