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

Bernard Aboba <bernard.aboba@gmail.com> Wed, 30 August 2017 21:30 UTC

Return-Path: <bernard.aboba@gmail.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 E217313247A for <ice@ietfa.amsl.com>; Wed, 30 Aug 2017 14:30:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 9FJAX5T1IdtY for <ice@ietfa.amsl.com>; Wed, 30 Aug 2017 14:30:24 -0700 (PDT)
Received: from mail-yw0-x232.google.com (mail-yw0-x232.google.com [IPv6:2607:f8b0:4002:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 83293120721 for <ice@ietf.org>; Wed, 30 Aug 2017 14:30:24 -0700 (PDT)
Received: by mail-yw0-x232.google.com with SMTP id s187so37369957ywf.2 for <ice@ietf.org>; Wed, 30 Aug 2017 14:30:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=etCqFygXqlzJ0Fs2l2cUAtbz8Ue+tnT3jagGMJC4HzM=; b=BWx4urucGKChL1dald0CWlITZK9Bs3sNSvsER/UKIGxbi/wj8cYpKlxEl1NfIe/qlA jSorTPhoICcOryH4GtiGrsdWrKkOMBi+8KKGcVQ2vuZNVrRYuMOYv3wktX8EQAvKCqot sQ19d72ty2kRNZ6WgyeD9auHi2vwQqrsKxW4RlAEbgZFsQ0Nq0WkCwMu5P6JWeM6diYW TTAMEnI4EUVDk9tuwsBqGDJtLouLWydJwT2Px9yPMswsxfU2G+h5ybGcpHGANcESLCaW CygkPakgORw5iT5mu/oFkZdeGM9yr9qbtUHbkPpw1YPSobgyuT1w9orh31IaofzpOVbX 5NPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=etCqFygXqlzJ0Fs2l2cUAtbz8Ue+tnT3jagGMJC4HzM=; b=j3+HWPM13uUry8IB79aX+jRntJ37ZNa00KSRICKLoNiMhAf76s20rbpsd3Fe+0ya42 Pr7njKmtBWkFg/Dzdfp+I1jfmXae0a9Sl58iyV0X9CZbiYTjnMR4O29kR5D6KU+p1V+J lYcrg9RY0xjl9p7KbV4ULSxt0pmsuxVgOP8vYmtp5rqERfoPQcrbtZWcOpdLL8K+T+Vt mpTAfa77mkNvurjA9OMm+A6AkQlkKnL/irzSzrPDQ6jnSPhJHgIR01AiEvD1ul+lKmgo 4cZvA0X+u5A/4Q2Wv8jPq3ZhgTCMr0AhY8UNnc3LyyLZkOzoFtZBCaifIOTnorD9pa/0 mniw==
X-Gm-Message-State: AHYfb5g9GkkOWfL5aE0HLRgnuxObH4UFVlLk/TKL5sQD1bTOoJFfuWMG 0LSGxX3vaLfU9cbsuhQ=
X-Received: by 10.129.109.11 with SMTP id i11mr2611716ywc.449.1504128623535; Wed, 30 Aug 2017 14:30:23 -0700 (PDT)
Received: from [10.46.243.58] (mobile-166-172-187-56.mycingular.net. [166.172.187.56]) by smtp.gmail.com with ESMTPSA id o9sm2343060ywb.110.2017.08.30.14.30.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2017 14:30:23 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-081EE8BE-99D0-412E-BE0D-C155E45F3EB0"
Mime-Version: 1.0 (1.0)
From: Bernard Aboba <bernard.aboba@gmail.com>
X-Mailer: iPhone Mail (14G60)
In-Reply-To: <CAJrXDUEW_N+hyceuMN_j=pA36cN69qYQzDuNoOVXuS9uuBcDtA@mail.gmail.com>
Date: Wed, 30 Aug 2017 17:30:22 -0400
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, "ice@ietf.org" <ice@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <90DEFADE-5113-488A-9C0F-2073681D94B1@gmail.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> <CAJrXDUEW_N+hyceuMN_j=pA36cN69qYQzDuNoOVXuS9uuBcDtA@mail.gmail.com>
To: Peter Thatcher <pthatcher@google.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/bbEsoT7iOMMGsci2HntxEzZq5pY>
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: Wed, 30 Aug 2017 21:30:27 -0000

The problem as I understand it is that RFC 5245bis is intended to be usable by non-WebRTC implementations, so it cannot mandate (or even mention??) consent. 

If this seems silly to you (it does to me) maybe it would make more sense to assume RFC 5245bis is for use in a modern ICE implementation usable with WebRTC, because after all, isn't that what ICE developers should be working on???

That would make it possible for consent to be referenced and then the idea of keeping consent for non-nominated pairs after nomination could be introduced.

Just a thought.

> On Aug 30, 2017, at 4:55 PM, Peter Thatcher <pthatcher@google.com> wrote:
> 
> 
> 
>> On Wed, Aug 30, 2017 at 11:23 AM Bernard Aboba <bernard.aboba@gmail.com> wrote:
>>> On Aug 30, 2017, at 12:28 PM, Peter Thatcher <pthatcher@google.com> wrote:
>> 
>>>> On Wed, Aug 30, 2017 at 9:26 AM Peter Thatcher <pthatcher@google.com> wrote:
>> 
>>>> As far as "just enough" so that it isn't a hindrance: that's why I wanted to say that agents *may* switch.  It allows a renomination in the future.  Saying they MUST NOT is a hindrance.  I would be fine if the *may* requires negotiation.  That's what https://www.ietf.org/archive/id/draft-thatcher-ice-renomination-01.txt does: it negotiates "renomination".  And that's what Chrome's implementation of WebRTC does. 
>> 
>> [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. 
> 
> You always need to have consent to use a candidate pair.  I guess the question you're asking is how recent does the consent need to be.  But I'm not sure we need to standardize that.  If an implementation chooses to be too aggressive about switching, it will send a path that doesn't work.  In your analogy, you're worried about the driver assist doing something dumb and crashing into the Edsel.  Well, don't ship a car that crashes.  Do we need to standardize "don't switch to a candidate pair that doesn't work" (AKA don't crash)?