Re: [MMUSIC] DTLS-SDP and JSEP Conflicts

Roman Shpount <roman@telurix.com> Tue, 05 September 2017 04:16 UTC

Return-Path: <roman@telurix.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 970AE1321D5 for <mmusic@ietfa.amsl.com>; Mon, 4 Sep 2017 21:16:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.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 TnwptMA3TFAQ for <mmusic@ietfa.amsl.com>; Mon, 4 Sep 2017 21:16:17 -0700 (PDT)
Received: from mail-pf0-x230.google.com (mail-pf0-x230.google.com [IPv6:2607:f8b0:400e:c00::230]) (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 D7CE21241F3 for <mmusic@ietf.org>; Mon, 4 Sep 2017 21:16:16 -0700 (PDT)
Received: by mail-pf0-x230.google.com with SMTP id e199so5059090pfh.3 for <mmusic@ietf.org>; Mon, 04 Sep 2017 21:16:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BEUDD2aPFMOMbBjbgZHmpm5n3BDZUDMt88jr/QBWF44=; b=k3g6pGaan9Nn9uzGxuJA8Ee3S5vS0etPiQAJsHKCPTjQ2clzKJqLnqCG6/J/57i6iu vYOogdVtJj4s8rGm8X5ymCpgykTMahWxIjq4G6NVYg33m9ZQvSPA+/RmdsicPIVjfGHx D5KqZTjLE36L+MS++0kYJis+bEWwwIMgdhpvYcql+qTyzHSdecRlT/718SgcPz2rIRRn tTysMrjFi7gIPv8miUqFyIqIXXziqW9er2WIf4lTlxQmu4oPUZd2UBgZyQIN7O6cfZUA gc3Yn+xooS+n93OQiPtkzSvSBlyuJvLjlzx2vLugwxiOO5wySuNVMX07w3hVf3NrpyzE Aeiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BEUDD2aPFMOMbBjbgZHmpm5n3BDZUDMt88jr/QBWF44=; b=jPbxofaEOb4x39tPei6LrMebnQyTmxYRwtw7CtJvPXwD52XZPdhRRD4RmsT2r2l8DY evZu1nkovyJYQuc8hadEgFlWRNuVW+s5VpYFeJC/o3e4KyhEV6p2cCVzBqLbjBU/ptOA cP8Nq/MSlFoCEfn78+SVJ/HQw7yOaFE3YvkoyA/EFGo/PpOYUl08LTzvKfMNHllpn4WJ HvvSF7GYW2j3wpAETg2AhyxTVm11HEXeJkewUsgNkBvyUx/kWB0vI9eqecY3BMnWyQc2 PsGhZ7ZRSPY7FspjdsOIUM7yhmPsYyaqOlw6bCfR7/THCrKh3FggYAPd8t939WJ+eJEv dsYA==
X-Gm-Message-State: AHPjjUgDD+bMF8Bba14KVGh4I36eWPBxero7IC8s3LQK2b2lVZFLpEJ3 /0iTxGAZmadfJQtMVTc=
X-Received: by 10.84.211.35 with SMTP id b32mr2839859pli.256.1504584976258; Mon, 04 Sep 2017 21:16:16 -0700 (PDT)
Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com. [209.85.192.171]) by smtp.gmail.com with ESMTPSA id w15sm14981186pgo.63.2017.09.04.21.16.15 for <mmusic@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Sep 2017 21:16:15 -0700 (PDT)
Received: by mail-pf0-f171.google.com with SMTP id m1so5088366pfk.1 for <mmusic@ietf.org>; Mon, 04 Sep 2017 21:16:15 -0700 (PDT)
X-Google-Smtp-Source: ADKCNb52pgXS+4rpkhlB7GFoZzRnsyQpZmJrDLvnCD7XYxG1HxaXL5u4CWyRibXprcv8uQvH5+xC/80WjYeuHgvfbaM=
X-Received: by 10.99.185.93 with SMTP id v29mr2780997pgo.32.1504584975188; Mon, 04 Sep 2017 21:16:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.100.191.8 with HTTP; Mon, 4 Sep 2017 21:16:14 -0700 (PDT)
In-Reply-To: <CABcZeBNHJXCzjuArsHAa_+hb0QC98ftA4-P0h2vwzMV1_ReyQg@mail.gmail.com>
References: <f353ad39-4ee5-4661-8e99-7fab6e394e91@nostrum.com> <CAOW+2dtv8r7qTyNxWY8NacfEh+Ojk5ObVAXEur3D4GyMw89YaQ@mail.gmail.com> <CABcZeBOJgyva5e-ykH-RkKN=BJPrXVYLu8vZbbNBv0xscv6bOA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B562818F7@ESESSMB109.ericsson.se> <CABcZeBNv4fdFTJ+tXeBkMDqbMCEw916Txt8owFY-X7ijX0-FcA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B56282B43@ESESSMB109.ericsson.se> <CABcZeBNh9ep+tq4_wWHT6uqXZz=OS8VngrmtspPz5nJ=pZS0ow@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B562869A2@ESESSMB109.ericsson.se> <CABcZeBPj6e=rtYHr4nyqeaB58TDBEjyB0xYeJJ+P63rO0DSw+A@mail.gmail.com> <D5D30222.20F35%christer.holmberg@ericsson.com> <b5a72f26-8bae-7eb8-4d54-93dc38b0f16a@alum.mit.edu> <CABcZeBM3m6Sdou5-VE6hjtdQpzC8sEpeSH1fUzauW68NqoSiog@mail.gmail.com> <CAD5OKxviYzVHYwXzk0DDiMQ64nWYq1WnB1hYbNR0xUCwT33JiA@mail.gmail.com> <CABcZeBNHJXCzjuArsHAa_+hb0QC98ftA4-P0h2vwzMV1_ReyQg@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
Date: Tue, 05 Sep 2017 00:16:14 -0400
X-Gmail-Original-Message-ID: <CAD5OKxufxwtEuq8a7z16wGcdxWfLOP5E439hbs2Ev=nSbK52cA@mail.gmail.com>
Message-ID: <CAD5OKxufxwtEuq8a7z16wGcdxWfLOP5E439hbs2Ev=nSbK52cA@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: Paul Kyzivat <pkyzivat@alum.mit.edu>, mmusic WG <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1bac82fb09710558697cad"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/UBaDwZmbByJzAS-WsVHQsCy7iMM>
Subject: Re: [MMUSIC] DTLS-SDP and JSEP Conflicts
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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 Sep 2017 04:16:18 -0000

On Tue, Sep 5, 2017 at 12:03 AM, Eric Rescorla <ekr@rtfm.com> wrote:

>
>
> On Mon, Sep 4, 2017 at 8:48 PM, Roman Shpount <roman@telurix.com> wrote:
>
>> On Mon, Sep 4, 2017 at 10:41 AM, Eric Rescorla <ekr@rtfm.com> wrote:
>>
>>>
>>>
>>> On Mon, Sep 4, 2017 at 7:37 AM, Paul Kyzivat <pkyzivat@alum.mit.edu>
>>> wrote:
>>>
>>>> On 9/4/17 6:14 AM, Christer Holmberg wrote:
>>>>
>>>> Now, based on your suggestion, if the offerer doesn¹t know whether the
>>>>>>> answerer supports tls-id, does that mean that the only way
>>>>>>> for the offerer to ensure that the re-offer will trigger a new DTLS
>>>>>>> association is by modifying the fingerprint set in the offer?
>>>>>>>
>>>>>>
>>>>>> That's true in any case, because we have implementations which behave
>>>>>> that way and we can't change them.
>>>>>>
>>>>>
>>>>> On GitHub you also suggested
>>>>> (https://github.com/cdh4u/draft-dtls-sdp/issues/37) that the answerer,
>>>>> even if it supports tls-id, shall not be able to trigger a new DTLS
>>>>> association (read: change the tls-id value). I assume that means the
>>>>> answerer would not be able to change its fingerprint set either, or do
>>>>> anything else that would trigger a new DTLS association?
>>>>>
>>>>
>>>> Why would you want to *prevent* the answerer from triggering a new DTLS
>>>> association???
>>>>
>>>
>>> As noted previously, it's confusing and it's only possible at all in the
>>> edge case where the offerer offers an ICE restart but not a new DTLS
>>> association.
>>>
>>>
>> The main reason new DTLS association can started by the answering party
>> is third party call control. The new DTLS association will be required if
>> as a result of the offer/answer exchange two new end points ends up being
>> connected with each other by a third party call control agent. This is a
>> fairly common scenario. If it is not supported interoperability with
>> existing implementations will be seriously affected. Please note that in
>> existing specification new DTLS association can already be started by the
>> answerer changing fingerprints, transport parameters, or setup role.
>>
>
> Well, as has been noted, the current specification is fairly unclear (I
> feel comfortable saying that as one of the authors), but as a practical
> matter, this only works if you already are doing an ICE restart. Is that
> what is happening in this instance?
>
>
Current specification is not very specific about ICE. It does allow
answerer to start a new DTLS association even if ICE restart is not
initiated. I am not sure how this will work in all the cases, but it
definitely works for third party call control, which, as far as I am
concerned, is the only useful use case of answerer triggering a new DTLS
association. ICE restart is required in case of the new offer generated in
response to INVITE with no SDP. Because of this, answerer can successfullu
establish a new DTLS association by changing fingerprints. And, since
answerer is a new end point, ICE candidate pair nominated for transport
will end up to be a new distinct 5-tuple so new and old DTLS associations
can be easily demuxed. So, in some sense, current specification works
almost by accident.

I would really like for this to continue to work since this is being used.

Regards,
_____________
Roman Shpount