Re: [MMUSIC] [rtcweb] Tunnelling DTLS in SDP

Justin Uberti <juberti@google.com> Tue, 05 April 2016 02:07 UTC

Return-Path: <juberti@google.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9019412D0DB for <mmusic@ietfa.amsl.com>; Mon, 4 Apr 2016 19:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 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_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 ERVtGztEaW6L for <mmusic@ietfa.amsl.com>; Mon, 4 Apr 2016 19:07:12 -0700 (PDT)
Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 86F0D12D5B0 for <mmusic@ietf.org>; Mon, 4 Apr 2016 19:07:11 -0700 (PDT)
Received: by mail-wm0-x22c.google.com with SMTP id n3so2355097wmn.0 for <mmusic@ietf.org>; Mon, 04 Apr 2016 19:07:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xyEz6gUQBQ+N4cC4fJPTd6mk1X/SkDxtCgtsYYLLJt8=; b=pp2XiFi0qojdr7/hNDY6aQUy0R6xcIMmgsOF9xUaJ4jG3EbEFTzTSM+E5SQWLlWMkh wKOL+i4PuHysmeSaGG5HicLoWHsd1mBQzGsteltZq2p4D6qRNudBR4QfiDeYW/vH4H90 b3mbn3aK0zIMVUILE0XxYb3+ZPHMPs7fIMDrlEDwSjv5TvILXHsY2pY8LF5n3M4Dh3wi FAgQ+RBmsLUsCMJBOxbHjW9F4sPzR6MoA9+21LqK+AZquNuhFGGazsc7W8/FmdwLh1JF 4aZQ4Obd93xDVI4CubJ0m9Efpgp26i8+xqvCzz3lX500PbrEh10frplGj/bT6okxmN24 brjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xyEz6gUQBQ+N4cC4fJPTd6mk1X/SkDxtCgtsYYLLJt8=; b=E0qzqTyKDqsf0Dz/6XhKCl6kBeHt+NIvEVvqR0nv4KGLMQJIq4au2HGZxzke+qkLba qEfyyfY1t7OwrHrePgZbqHGddQh2SsgMCc4x2j8q7D1srxN+VyXj265BwUOGNWrCn0nq tRXwHmRLm4qXncKW4eWTFGWt09yvnMh/6+538ECVl0JISr096SOmetb2bvNSbfOIb7NY QC0Lx3VFUPavCnk8ORUiGQpYyP1v6N1aeBg/PPyi9Gn/czEeVrioN+HYcxT/x3CVmkcn LtSsy3O0Rqq0kSVwFvCZfMptfcZ01yAMsjdqff5cADxIq6KBY+JIpw/6T2hixhS3R+59 Pb7w==
X-Gm-Message-State: AD7BkJKuD2RqXkrlRYBMsVvoqUIKmw23t5XKLovjBNq67tJq0MYxotU0Rswkwrzy8Qs/kfUdNYvKD9WKDNjaD0FS
X-Received: by 10.194.184.234 with SMTP id ex10mr20203229wjc.8.1459822029993; Mon, 04 Apr 2016 19:07:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.148.79 with HTTP; Mon, 4 Apr 2016 19:06:50 -0700 (PDT)
In-Reply-To: <D5416C24-0032-48CB-8CC6-FD5D4E046C0D@phonefromhere.com>
References: <CABcZeBOM1KoXpXFhvjS753EVpsMENWVen3CCdFj8ry36vPH0dg@mail.gmail.com> <D5416C24-0032-48CB-8CC6-FD5D4E046C0D@phonefromhere.com>
From: Justin Uberti <juberti@google.com>
Date: Mon, 04 Apr 2016 19:06:50 -0700
Message-ID: <CAOJ7v-3pov_NC0b8wkNyvfxHTG934RW-QnLRSQ0TzmpU3LvawA@mail.gmail.com>
To: pfh <tim@phonefromhere.com>
Content-Type: multipart/alternative; boundary="047d7b86cc1e88d08e052fb34d33"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/5k9mo5BqSVFYu8kFtW3Nr0H2buI>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>, mmusic WG <mmusic@ietf.org>
Subject: Re: [MMUSIC] [rtcweb] Tunnelling DTLS in SDP
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 05 Apr 2016 02:07:14 -0000

On Mon, Apr 4, 2016 at 8:39 AM, pfh <tim@phonefromhere.com> wrote:

>
> On 4 Apr 2016, at 14:10, Eric Rescorla <ekr@rtfm.com> wrote:
>
> Hi folks,
>
> I wanted to call your attention to a draft I just published with a
> possibly stupid
> idea.
>
> https://tools.ietf.org/html/draft-rescorla-dtls-in-sdp-00
>
> A nontrivial fraction of call setup time in WebRTC is the DTLS handshake.
> This document describes how to piggyback the first few handshake messages
> in the SDP offer/answer exchange, thus reducing latency.
>
>
> It strikes me we could get the same reduced latency benefits by
> piggybacking on ICE
> rather than SDP, e.g. embedding the DTLS packet as data in a new STUN
> attribute type.
>
> The downside of piggybacking on the SDP is that you are increasing the
> trust you have to place in the
> signalling server undermining the elegant decoupling we have at the moment
> between signalling and
> media. (The SDES issues of logging keys in the web servers apply to the
> public certs as well).
>

I don't think the logging issue applies here. Only the public key would be
logged, and it's already transmitted in cleartext during a normal DTLS
handshake (it's a public key, after all).

>
> It also significantly clutters the SDP (even more) !
>

Please see Jonathan Lennox's comment about garbage piles. I think the only
truly unattractive part here is the fact that the messages will need to be
base64ed, resulting in minor blowup. But that seems like a reasonable
downside for 1+ RTT upside.


> As you point out, it weakens the usefulness of longer term certs, which
> would be a major nuisance IMHO.
>
> Tim.
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>