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

Iñaki Baz Castillo <ibc@aliax.net> Thu, 05 March 2015 14:36 UTC

Return-Path: <ibc@aliax.net>
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 8477A1A0120 for <rtcweb@ietfa.amsl.com>; Thu, 5 Mar 2015 06:36:22 -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, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7] 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 ppwaBIX0-PQI for <rtcweb@ietfa.amsl.com>; Thu, 5 Mar 2015 06:36:18 -0800 (PST)
Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) (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 C03EE1A0178 for <rtcweb@ietf.org>; Thu, 5 Mar 2015 06:33:15 -0800 (PST)
Received: by mail-qa0-f53.google.com with SMTP id j7so1956991qaq.12 for <rtcweb@ietf.org>; Thu, 05 Mar 2015 06:33:15 -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:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=iIWztgjWpbaHOgUA0d50TuuVN9e7tRLxgkMEJ4BbISw=; b=axcca8l1qEtJqZEQcqN6m4DhNttrZNqPdz9PJLYH/A6wg8dTlPAeoOvuvApf058J4W o/7ecTLX3DqU9lfjKZw1PmZXdVy/hg5EBpGM89MyhvXiP2bp1nxd8VUDslKB51qmxaCz Sw48YZEXPrk0AoOICK/XcngcOoqHL6z+vueNUB4dpJH5WEzbi3oRiHOdDcnwDQqrVfkV imV1VIBxtsaovmJQWQ3QKRF0qZekjubqsURHl1fkkraAHMtuGz6A98GV/K8LmuPA2Exz dRodMP105cyLGtyp7DGXdMNG0CMX/E84qtfT3gHsGc+1wmHRFrumK/RdFiw0+6oCWKAY ZDLQ==
X-Gm-Message-State: ALoCoQlY0wXnpnVuyB3EbXijIw5F+qAkDysn45NMqiSKmot6HOwfv/S4zrwJ419gvcb/W0USmGD4
X-Received: by 10.140.85.137 with SMTP id n9mr12304091qgd.17.1425565995048; Thu, 05 Mar 2015 06:33:15 -0800 (PST)
MIME-Version: 1.0
Received: by 10.96.200.4 with HTTP; Thu, 5 Mar 2015 06:32:54 -0800 (PST)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D728BE2@ESESSMB209.ericsson.se>
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> <CAD5OKxsu3D0xHY-zYbDu1hyH_+4=3mWDvW2i98WCVZ+29BpKCw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D728297@ESESSMB209.ericsson.se> <CALiegf=uPN+g546Ucv9s89z14cUTEme55y7B1siXZe97yj7Lig@mail.gmail.com> <E1FE4C082A89A246A11D7F32A95A17828E726EEC@US70UWXCHMBA02.zam.alcatel-lucent.com> <CALiegf=oVWk-8UcbQE2Edh=QSXSRUnSC=X-WMyGpvHYQ9SD1yg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B1D728BE2@ESESSMB209.ericsson.se>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Thu, 05 Mar 2015 15:32:54 +0100
Message-ID: <CALiegfkATTc=W5AS_A8usNwvK96=miKWUfsoC85zLAGnVBCf6w@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtcweb/r0a5NV8FIj1I26Q4jKBkqXvgAH8>
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 14:36:22 -0000

2015-03-05 14:44 GMT+01:00 Christer Holmberg <christer.holmberg@ericsson.com>:
>>- A sends USE-CANDIDATE requests in parallel.
>>- A receives the ok response from one of them.
>>- A sends DTLS ClientHello.
>>- A receives the ok response with higher priority from another pair.
>>- A then continues sending media (maybe remaining DTLS stuff or RTP) for that pair.
>
> Just to clarify: when you say "continues sending", you are NOT saying that A "starts over" by sending a new initial ClientHello on the new pair - instead A only switches to the other pair and continues with normal DTLS setup procedures?
>
> ...which means that both the client and server may receive DTLS messages, associated with the same DTLS connection setup, on different 5-tuples?

yep, and that happens.


-- 
Iñaki Baz Castillo
<ibc@aliax.net>