Re: [Ice] Re-nomination and candidate pair switching in RFC 5245bis - PROPOSAL

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 05 September 2017 06:26 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 23B23132376 for <ice@ietfa.amsl.com>; Mon, 4 Sep 2017 23:26:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level:
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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=ham autolearn_force=no
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 tcO36pHKN_ia for <ice@ietfa.amsl.com>; Mon, 4 Sep 2017 23:26:29 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 23A6A120727 for <ice@ietf.org>; Mon, 4 Sep 2017 23:26:28 -0700 (PDT)
X-AuditID: c1b4fb25-94fff70000005333-05-59ae4393f2df
Received: from ESESSHC009.ericsson.se (Unknown_Domain [153.88.183.45]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 00.97.21299.3934EA95; Tue, 5 Sep 2017 08:26:27 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.194]) by ESESSHC009.ericsson.se ([153.88.183.45]) with mapi id 14.03.0352.000; Tue, 5 Sep 2017 08:26:26 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Bernard Aboba <bernard.aboba@gmail.com>
CC: Emil Ivov <emcho@jitsi.org>, Peter Thatcher <pthatcher@google.com>, "ice@ietf.org" <ice@ietf.org>
Thread-Topic: [Ice] Re-nomination and candidate pair switching in RFC 5245bis - PROPOSAL
Thread-Index: AdMGx5vayPULxOekRUuarjHzPdbbFQayu7YAAAG4ewAAAKDJgAAAEW8AAAQIgIAAhTWxQABTJ90AAAuoNvAANyDJAA==
Date: Tue, 05 Sep 2017 06:26:26 +0000
Message-ID: <D5D41E9F.20FC9%christer.holmberg@ericsson.com>
References: <7594FB04B1934943A5C02806D1A2204B4CC9ED94@ESESSMB109.ericsson.se> <CAJrXDUHGYkivt5+dnX48C8TkR9W7afoUWAPv8+MbafYNsZsFmA@mail.gmail.com> <CAOW+2duR54wenv088kZSmKJj56u8j=Qi6KzNUNrjA0=o5qhekg@mail.gmail.com> <CAJrXDUEKWCa7GsL_bSrdvVN-erROSgHJt5DO5VOZ2Qx3PQr15g@mail.gmail.com> <CAJrXDUH6vvauP8Bj2k+e5B=reTM=5C+vwD0+WidtdTRW5MpdAA@mail.gmail.com> <0447726F-82C7-43D8-99AE-5B72F0B55B6C@gmail.com> <7594FB04B1934943A5C02806D1A2204B5626F889@ESESSMB102.ericsson.se> <CAOW+2dv9UqW3J+Z_zQYb1fSbOoPkzc2Guiw5eHng-LbwheQ-cg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B56289F26@ESESSMB109.ericsson.se>
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B56289F26@ESESSMB109.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.4.170508
x-originating-ip: [153.88.183.20]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <691969BCA5F62C42A996965BCA0A7ABA@ericsson.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRmVeSWpSXmKPExsUyM2K7ru5k53WRBos65Cw27PvPbLFm5wQW i28Xai2uLX/N6sDisXPWXXaPBZtKPZYs+cnk8f9NYABLFJdNSmpOZllqkb5dAlfGj2fv2Qqm 6Vd8P+3bwDhTrYuRk0NCwETiysQz7F2MXBxCAkcYJQ693cYM4SxmlFg69QdjFyMHB5uAhUT3 P22QBhGBRIlrcyawgdjMAukSby4cYQKxhQUiJT7Of8gKUi4iECXxdlMmRHmWxPn5E9lBbBYB FYmDcxeCTeQVsJaY+DUXYtNrFok1c26ygNRwCvhJTNn1gRHEZhQQk/h+ag0TxCpxiVtP5jNB 3CwgsWTPeWYIW1Ti5eN/YGtFBfQk3u33hAgrSlydvhyqVUdiwe5PUBdbS2y48Rkqri2xbOFr sDG8AoISJ2c+YZnAKD4LybZZSNpnIWmfhaR9FpL2BYysqxhFi1OLk3LTjYz1Uosyk4uL8/P0 8lJLNjECY/Hglt+qOxgvv3E8xCjAwajEwzvBZl2kEGtiWXFl7iFGCQ5mJRHebBOgEG9KYmVV alF+fFFpTmrxIUZpDhYlcV7HfRcihATSE0tSs1NTC1KLYLJMHJxSDYx9eX9bJhu+226s8+5o 8CdVd1mdWJHNC8+JniqfwOMoprt4zSWmrWty28V12cocVkemi1SvP2HsPD3K/eW/mBAuJu6U BoVjph9ulDasW+bx92eHwPU35z92nOUzVtXQX943afPjItnLVRMtc2dWGq6/d9vFatoxzpmv hJ7fyg3g2LBxw7edW58osRRnJBpqMRcVJwIAXzWUU8ECAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/PwcF13e2oCvnfke7hmqnszuXjKs>
Subject: Re: [Ice] Re-nomination and candidate pair switching in RFC 5245bis - PROPOSAL
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: Tue, 05 Sep 2017 06:26:31 -0000

Peter (and others interested),

IF you want some change to the current behaviour, where a re-nomination is
NOT allowed, you need to participate in the discussion NOW. We are moving
towards WGLC, and we should close the window for technical changes
(non-bug fixing).

If I understood Bernard correctly, he was asking for having multiple
SIMULTANEOUS nominations, in order to do RTP multipath stuff etc. I
personally think that is outside the scope of 5245bis. I think the
question is whether we should allow re-nominations of single candidate
pairs.

Regards,

Christer



On 04/09/17 08:44, "Ice on behalf of Christer Holmberg"
<ice-bounces@ietf.org on behalf of christer.holmberg@ericsson.com> wrote:

>Hi,
>
>>"The irony is that "ice2" is used to prevent a legacy ICE peer from
>>using aggressive nomination. But, isn't allowing re-nomination more or
>>less bringing "aggressive >nomination" back? :)"
>>
>>[BA] I think we need to carefully examine the implications of "passive
>>aggressive" as well as the meaning of "nomination" in RFC 5245bis and
>>make sure that the meaning >(and its implications) of these notions are
>>articulated.
>>
>>*Prior* to nomination, I believe that RFC 5245bis allows both the
>>controlling and controlled sides to select validated pairs to send media
>>on, and permits *either side* to >switch between validated pairs.  I
>>don't think this is said explicitly anywhere, but it is true, isn't it?
>
>Perhaps it could be more clear, but there is text:
>
>Section 11.1.1 says:
>
>   "Agents always send media using a candidate pair, using candidate
>   pairs in the VALID LIST.  Once a candidate pair has been selected
>   only that candidate pair (referred to as selected pair) is used for
>   sending media."
>
>>Wouldn't that also imply that the return path doesn't have to match the
>>sending path?  Again, not said anywhere explicitly, but it seems like it
>>would be the case.
>
>There is no text mandating the paths to match prior to nomination.
>
>>That would also seem to imply that prior to nomination we have the
>>flexibility for implementations to support mujlti-path RTP? (e.g.
>>sending different RTP flows using >different candidate pairs). Again,
>>not said explicitly anywhere.
>
>While I guess it would technically be possible, I don't think that's the
>intention. 
>
>Every now and then there have been discussion about never nominating,
>allowing usage of multiple valid pairs. But, if using multiple valid
>pairs is something people want to do I think we should properly specify
>how it is done, so that people don't have to do it using hacks.
>
>> Then somehow, *after* nomination, many of these magical properties
>>vanish, for reasons that I find hard to justify.
>>
>> Again, the reasoning behind this is not explained in RFC 5245bis...
>
>The reason is that entities can release resources.
>
>>, nor are all the magical powers restored by the re-nomination document.
>
>Re-nomination does not mean (AFAIU) that you suddenly can start switching
>between valid pairs - it means that you change the one valid pair that
>you are going to use for media.
>
>>The problem I think arises from a full articulation of the meaning of
>>"nomination" in RFC 5245bis.
>>
>>For example, if we are removing the concept of resource release from
>>nomination and basing it on consent instead,
>
>I think it's still good to explicitly say that endpoints are allowed to
>release resources.
>
>Also, after some thinking, I am not sure a re-nomination really would
>need consent. If the peer responds to a nomination STUN request it means
>it accepts the (re-)nomination.
>
>>we need to explain the meaning of "nomination" encapsulated in the
>>negotiation of "ice2".  Which of the following statements are implied by
>>"nomination"? 
>>
>>1.  "I want to use this pair (and only this pair) to send"
>>2. "I want to receive using this pair (and only this pair)"
>>3. "I have selected a set of validated pairs for sending and will
>>request consent for them"
>>4. "I have granted consent for a set of pairs suitable for receiving"
>>5. "The controlled side can release candidates that are neither
>>receiving or sending consent requests"?
>>
>>Right now, it is not clear to me which of these statements are implied
>>by RFC 5245bis (or which ones are implied by the renomination document).
>
>I'll let others speak on behalf of the re-nomination document. In my
>understanding, 5245bis currently implies, once nomination occurs: 1, 2*
>and 5.
>
>* Section 11.2 contains the following text:
>
>   "Even though ICE agents are only allowed to send media using valid
>   candidate pairs (and, once a candidate pair has been selected, only
>   on the selected pair) ICE implementations SHOULD by default be
>   prepared to receive media on any of the candidates provided in the
>   most recent candidate exchange with the peer."
>
>I think that text is confusing. After a pair has been selected, an
>endpoint should not have be prepared to receive media on any of the
>candidiates. 
>
>Regards,
>
>Christer
>
>
>
>
>On Sat, Sep 2, 2017 at 4:00 AM, Christer Holmberg
><christer.holmberg@ericsson.com> wrote:
>Hi
>
>> [BA] It seems like the document would at least need to talk about
>>consent to include a "may". As it is,
>> negotiating "ice2" only means that you're talking to a slightly
>>refurbished RFC 5245 implementation.
>> That's like the difference between a new car with driver assist (a
>>modern WebRTC ICE implementation
>>with Trickle) and an Edsel that's been waxed and given an oil change.
>
>The irony is that "ice2" is used to prevent a legacy ICE peer from using
>aggressive nomination. But, isn't allowing re-nomination more or less
>bringing "aggressive nomination" back? :)
>
>Regards,
>
>Christer
>
>_______________________________________________
>Ice mailing list
>Ice@ietf.org
>https://www.ietf.org/mailman/listinfo/ice