Re: [rtcweb] DTLS, DTLS-SRTP, and 5-tuples

Roman Shpount <roman@telurix.com> Thu, 05 March 2015 10:14 UTC

Return-Path: <roman@telurix.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC5A11A8773 for <rtcweb@ietfa.amsl.com>; Thu, 5 Mar 2015 02:14:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.678
X-Spam-Level:
X-Spam-Status: No, score=-1.678 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=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 LaH74yyf3chp for <rtcweb@ietfa.amsl.com>; Thu, 5 Mar 2015 02:14:43 -0800 (PST)
Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) (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 3494F1A8748 for <rtcweb@ietf.org>; Thu, 5 Mar 2015 02:14:43 -0800 (PST)
Received: by iecar1 with SMTP id ar1so75085433iec.11 for <rtcweb@ietf.org>; Thu, 05 Mar 2015 02:14:42 -0800 (PST)
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:date :message-id:subject:from:to:cc:content-type; bh=P548fOQGJZTLNn80QMtprkcWGgz/m7sxm1Ors7kwP2o=; b=HK0aO09E/vi3J1tVWKOU9TFTtiOJ95ja3rmKxhIF1QkGs2btZihlRB8OocUrDhGgO4 +Xae1FV9DB6BuWZ+IbgAs6F8Y16IiIqOkZZGVxu+1OGoZ+/ditw41IZeSEcbXozIx5Tr BVgYxA0UmcYM9nQFgWlGoJ+CLHa90DesXjieuwqBAs8SfRjRVCS0dR45RWTuecUT8stD d//FeVIYW2I0G1aPEJr34CE1CA1tRLv+e/jrI7W3DYil+f70cSrx0dcoPgHEfJWoeB20 bjvYnuqgHHwq4oMbrBVQF51sczekBfNGmzO1SJC/qlXwF+kFWZyudRTwVGmuO4J555qC yf8A==
X-Gm-Message-State: ALoCoQm7OSZ6vFxyRDI7ymAElS49tDUvORx/rnNZZe2dBFRrj+DjYgJBlDj5gi0O8GZhz22Zyb/A
X-Received: by 10.50.49.43 with SMTP id r11mr46246383ign.18.1425550482653; Thu, 05 Mar 2015 02:14:42 -0800 (PST)
Received: from mail-ig0-f179.google.com (mail-ig0-f179.google.com. [209.85.213.179]) by mx.google.com with ESMTPSA id 130sm4707635ioz.10.2015.03.05.02.14.40 for <rtcweb@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 02:14:42 -0800 (PST)
Received: by igal13 with SMTP id l13so40722498iga.1 for <rtcweb@ietf.org>; Thu, 05 Mar 2015 02:14:39 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.107.167.3 with SMTP id q3mr18798493ioe.18.1425550479891; Thu, 05 Mar 2015 02:14:39 -0800 (PST)
Received: by 10.36.20.10 with HTTP; Thu, 5 Mar 2015 02:14:39 -0800 (PST)
In-Reply-To: <CALiegfmfvz3NWSjcovGBytiOTbR6kFfyh0vx5cXoMJtytfGzRA@mail.gmail.com>
References: <54F74B02.1070902@jive.com> <CAD5OKxs8JYG3-Vvndi59ZrdPE7UTj22ozD4tcWTHgzWrHv=q7Q@mail.gmail.com> <54F756B2.60408@jive.com> <7594FB04B1934943A5C02806D1A2204B1D726AD8@ESESSMB209.ericsson.se> <CAD5OKxu7py3HbrFjxTDZS5ECFzx7vd=wpjve-gT6gWwksjEu+g@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D726B71@ESESSMB209.ericsson.se> <CABcZeBO1O6sA8MqvWkCDu3RPLz5-P2G65Us28i0baOavDnRT7Q@mail.gmail.com> <CAD5OKxuWCdgMR5Kxjv9BSwZ3Jm9kGXx9Pi-9FrfsnuQZ_91jAA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D726DC1@ESESSMB209.ericsson.se> <CALiegfkipJhsy7-40+=d9xMUf4RJGdn3_fABL3NN2KuFNvS2BA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D727570@ESESSMB209.ericsson.se> <CALiegfmfvz3NWSjcovGBytiOTbR6kFfyh0vx5cXoMJtytfGzRA@mail.gmail.com>
Date: Thu, 05 Mar 2015 05:14:39 -0500
Message-ID: <CAD5OKxsu3D0xHY-zYbDu1hyH_+4=3mWDvW2i98WCVZ+29BpKCw@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Content-Type: multipart/alternative; boundary="001a1141ca9ef6a4ff051087d5fe"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/9r55aRI50i5MDvQV0_GVTjjaFtc>
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] DTLS, DTLS-SRTP, and 5-tuples
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Mar 2015 10:14:44 -0000

On Thu, Mar 5, 2015 at 4:52 AM, Iñaki Baz Castillo <ibc@aliax.net> wrote:

> 2015-03-05 7:58 GMT+01:00 Christer Holmberg <
> christer.holmberg@ericsson.com>:
> > As far as I understand, sending of multiple ClientHellos, on different
> > 5-tuples, would require a change to core DTLS (not only DTLS-SRTP), and
> who
> > knows how long such work would take. Do we really want to add such
> > dependency to our deliveries at this point?
>
> Sorry, I think I didn't explain well.
>
> It is not about multiple DTLS connections, but about the fact that
> DTLS packets belonging to the *same* DTLS connection/association can
> be carried over different 5-tuples. This may happen during agressive
> ICE nomination in which media (so the DTLS ClientHello) follows the
> USE-CANDIDATE Binding request without even waiting for a response.
>

When was it agreed that DTLS ClientHello can be sent before the
connectivity check succeeded? I understand that this will increase the
connection setup time, but I though that no data should be sent before the
connectivity check response (consent) from the remote party.

> In addition, do we expect existing DTLS implementations to support this?
>
> There is nothing new to implement in DTLS libraries. It is just the
> the DTLS user must not assume a single and fixed 5-tuple
>
>
> > If one doesn't want to re-establish DTLS when jumping between candidates,
> > doesn't it work by creating separate DTLS connections for each candidate?
>
> This subject has been heavily discussed time ago:
>
> http://www.ietf.org/mail-archive/web/mmusic/current/msg13637.html
>
> No, there MUST NOT be separate DTLS connection for each candidate-pair.
>

Agreed
_____________
Roman Shpount