Re: [MMUSIC] Faster ICE by role reversal?

Martin Thomson <martin.thomson@gmail.com> Wed, 30 July 2014 23:00 UTC

Return-Path: <martin.thomson@gmail.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 BEB411A01AA for <mmusic@ietfa.amsl.com>; Wed, 30 Jul 2014 16:00:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, 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 aJCOVl8G9X37 for <mmusic@ietfa.amsl.com>; Wed, 30 Jul 2014 16:00:11 -0700 (PDT)
Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F3E091A00AF for <mmusic@ietf.org>; Wed, 30 Jul 2014 16:00:10 -0700 (PDT)
Received: by mail-wg0-f43.google.com with SMTP id l18so1892809wgh.14 for <mmusic@ietf.org>; Wed, 30 Jul 2014 16:00:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ln9Lo7TQwYVZghGoLxf2fzQIcHM/cGxXWz7FIwvjmVE=; b=jW+6aKJTB6RdBpbynkpxZ/zhHNKrW1UHN0tIVbSeMclkLnps9l8gidxLFFfv0sn6HO iH7i/QevOyxwxqrsEP2omgD3c7MdHfMYBF4Y+bNNpmQzjKYjllsFfjDDet5vjyncujx5 8RwSUsgeS3Izit0+agRdPFY16IUqtBdf2maSLPMG4xmaFjBsmT8tD4BRpo2PfPQurvPq 2UcxbZN36jHP/UNdEZpPJXR+THxYA/vPHFLAPeTtpp9wJb4aBzhZIL7p8bEEfxKlxhFX mKD99Cqf/2i6nRaunyY0Fi8QL2I+C7s8KsbACT1/GVCPcQfVqncYxBGFR+81iD5KEwHv /06A==
MIME-Version: 1.0
X-Received: by 10.194.143.49 with SMTP id sb17mr10439069wjb.25.1406761209084; Wed, 30 Jul 2014 16:00:09 -0700 (PDT)
Received: by 10.194.169.10 with HTTP; Wed, 30 Jul 2014 16:00:09 -0700 (PDT)
In-Reply-To: <67A963F0-3667-47A7-B116-4712BA1147AD@vidyo.com>
References: <CABkgnnVrXKz-7M_Qn7pSZBxCJTdQYPDOcEzrEbbv6eYrQs1Dhg@mail.gmail.com> <67A963F0-3667-47A7-B116-4712BA1147AD@vidyo.com>
Date: Wed, 30 Jul 2014 16:00:09 -0700
Message-ID: <CABkgnnV+ARP5xC-z=3AshUObUX_m3uisLY6NcsgEZVq-1drU8Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Jonathan Lennox <jonathan@vidyo.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/SMCr-54xF96tppN52OekQKnkcZE
Cc: mmusic <mmusic@ietf.org>
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: Wed, 30 Jul 2014 23:00:12 -0000

On 30 July 2014 15:56, Jonathan Lennox <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.