Re: [MMUSIC] Faster ICE by role reversal?
Ari Keränen <ari.keranen@ericsson.com> Tue, 04 November 2014 17:50 UTC
Return-Path: <ari.keranen@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1E281ACCE6 for <mmusic@ietfa.amsl.com>; Tue, 4 Nov 2014 09:50:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level:
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 hSwPcvDgpu-M for <mmusic@ietfa.amsl.com>; Tue, 4 Nov 2014 09:50:48 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20A161ACCE2 for <mmusic@ietf.org>; Tue, 4 Nov 2014 09:50:47 -0800 (PST)
X-AuditID: c1b4fb3a-f79596d000001123-5b-545911f5b071
Received: from ESESSHC002.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 90.CA.04387.5F119545; Tue, 4 Nov 2014 18:50:45 +0100 (CET)
Received: from mail.lmf.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.26) with Microsoft SMTP Server id 14.3.174.1; Tue, 4 Nov 2014 18:50:45 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 27F5F110207; Tue, 4 Nov 2014 19:50:45 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id A11E45F2A4; Tue, 4 Nov 2014 19:50:54 +0200 (EET)
Received: from aris-mbp-2.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 434985953D; Tue, 4 Nov 2014 19:50:54 +0200 (EET)
Message-ID: <545911E9.3070300@ericsson.com>
Date: Tue, 04 Nov 2014 19:50:33 +0200
From: Ari Keränen <ari.keranen@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Justin Uberti <juberti@google.com>, Jonathan Lennox <jonathan@vidyo.com>, mmusic <mmusic@ietf.org>, Martin Thomson <martin.thomson@gmail.com>, Dan Wing <dwing@cisco.com>, Emil Ivov <emcho@jitsi.org>, Iñaki Baz Castillo <ibc@aliax.net>
References: <CABkgnnVrXKz-7M_Qn7pSZBxCJTdQYPDOcEzrEbbv6eYrQs1Dhg@mail.gmail.com> <67A963F0-3667-47A7-B116-4712BA1147AD@vidyo.com> <CABkgnnV+ARP5xC-z=3AshUObUX_m3uisLY6NcsgEZVq-1drU8Q@mail.gmail.com> <DD8DA86E-3C6A-44A7-B4E1-92CC0742369D@vidyo.com> <CAOJ7v-1OpbtEujbp4rZOnmOxXB2hoTfjtn5U_kR5wML5sXD_4Q@mail.gmail.com>
In-Reply-To: <CAOJ7v-1OpbtEujbp4rZOnmOxXB2hoTfjtn5U_kR5wML5sXD_4Q@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsUyM+Jvje5XwcgQgz0H9CwuXnvIZLFm5wQW i+n7bCz2Lz7PbLF1qpDFtTP/GC2mLn/M4sDuca7hPbvHlN8bWT12zrrL7rFgU6nHkiU/mTz+ vwn0aHt2hz2APYrLJiU1J7MstUjfLoErY0lbE0tBg3jFn57nrA2MDwW7GDk5JARMJN5fPsMC YYtJXLi3nq2LkYtDSOAIo8S8LVNYIJz1jBKzb/cyQzh7GCUaPv2CctYySvz+dI8Fzjmy6RsT yDBeAW2Js7sngdksAioSOxduBVvCJuAocfvhS1YQW1QgWaLr5UOoekGJkzOfgA0SEehkknh1 9wFYg7CAkcTitknMIDbQbiaJlo1mIDanQKBE+6/DQNdycDAL2Es82FoGEmYWkJdo3jqbGeIh NYmr5zZBtapKXP33inECo8gsJOtmIXTPQtK9gJF5FaNocWpxcW66kZFealFmcnFxfp5eXmrJ JkZgZB3c8ttqB+PB546HGAU4GJV4eA0cI0KEWBPLiitzDzFKc7AoifMuPDcvWEggPbEkNTs1 tSC1KL6oNCe1+BAjEwenVANj3uk359kad+l1rUnMKVTaG7trctD7ZQxr7/geiGMRcWSdopZr 4vjUZOd+R9+CgvY50/fkW0V7yZfdvRR3eP4rsRWZG0JiWr7pnHo269sux5fJ+j/UQx/knJ3h eCP9u7RCKnf69MV71evz9tw5I3E/+IXtS0/nyOZNWl3f38msrmh5Oy94ToOvEktxRqKhFnNR cSIASr5SbI0CAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/sP76pum8Lz0bdZl39r6am9xB9fg
Subject: Re: [MMUSIC] Faster ICE by role reversal?
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 04 Nov 2014 17:50:54 -0000
All, This feature seemed to get quite a bit of support. There were also some concerns about: * DTLS implementations *may* not like the fact that Hello comes from an unexpected candidate (may also apply to other protocols?) * Whether (and when) the selected candidate is really firm and the others can be freed, media on them discarded, or an ICE library can return a socket that is bound to right candidate See also the threads: http://www.ietf.org/mail-archive/web/mmusic/current/msg13596.html http://www.ietf.org/mail-archive/web/mmusic/current/msg13656.html I'm planning to take this as a discussion item during the meeting, but before that it would be great if the proponents of the change could come up with a text proposal. I assume we'd need an ICE option to indicate this and clarify what to do with data on a candidate without USE-CANDIDATE exchange. Also, if I missed some point why this would be a bad idea, please speak now. Cheers, Ari On 31/07/14 02:42, Justin Uberti wrote: > On Wed, Jul 30, 2014 at 4:05 PM, Jonathan Lennox <jonathan@vidyo.com > <mailto:jonathan@vidyo.com>> wrote: > > > On Jul 30, 2014, at 7:00 PM, Martin Thomson > <martin.thomson@gmail.com <mailto:martin.thomson@gmail.com>> wrote: > > > On 30 July 2014 15:56, Jonathan Lennox <jonathan@vidyo.com > <mailto:jonathan@vidyo.com>> wrote: > >> The offerer can’t send its own connectivity checks until it > receives an answer, because it needs the remote ufrag and password. > Without this, it doesn’t have any valid pairs, and so can’t send > any media. > > > > Of course. But you could do all the computation necessary for > > generating the ServerHello and accompanying messages (which in > TLS 1.3 > > is quite a bit). > > > >> This suggestion might still save half an RTT, though? I’d need > to work through a full ladder diagram to figure it out. > > > > That's the idea. I haven't plotted it all out either, but I think > > that this is the fastest possible start assuming that you don't send > > any DTLS messages prior to getting a successful connectivity check > > response. > > Actually, if the answerer (controlled endpoint) can send on any > Valid pair, as in my suggestion, I don’t think you need the ICE role > reversal for this optimization. It can send ClientHello as soon as > its first check succeeds, despite never having received any remote > checks (with or without USE-CANDIDATE). > > This makes a lot of sense and we should do it. Implementations not > expecting media before choosing a selected pair (on the controlling side > this time) may eat the packet, but it won't be fatal. > > > _______________________________________________ > mmusic mailing list > mmusic@ietf.org > https://www.ietf.org/mailman/listinfo/mmusic >
- Re: [MMUSIC] Faster ICE by role reversal? Jonathan Lennox
- [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Jonathan Lennox
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Justin Uberti
- Re: [MMUSIC] Faster ICE by role reversal? Dan Wing
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Dan Wing
- Re: [MMUSIC] Faster ICE by role reversal? Iñaki Baz Castillo
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Ari Keränen
- Re: [MMUSIC] Faster ICE by role reversal? Justin Uberti
- Re: [MMUSIC] Faster ICE by role reversal? Justin Uberti
- Re: [MMUSIC] Faster ICE by role reversal? 🔓Dan Wing
- Re: [MMUSIC] Faster ICE by role reversal? Varun Singh
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Justin Uberti
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Justin Uberti
- Re: [MMUSIC] Faster ICE by role reversal? Ari Keränen
- [MMUSIC] Continuous Nomination (Was: Faster ICE b… Emil Ivov
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… 🔓Dan Wing
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Emil Ivov
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Justin Uberti
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Justin Uberti
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… 🔓Dan Wing
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Justin Uberti
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Bernard Aboba
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Tirumaleswar Reddy (tireddy)
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Varun Singh
- Re: [MMUSIC] Faster ICE by role reversal? Varun Singh
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Emil Ivov
- Re: [MMUSIC] Faster ICE by role reversal? Varun Singh
- Re: [MMUSIC] Faster ICE by role reversal? Martin Thomson
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Emil Ivov
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Justin Uberti
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Emil Ivov
- Re: [MMUSIC] Continuous Nomination (Was: Faster I… Justin Uberti