Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-sdp-10 semantics

Justin Uberti <juberti@google.com> Fri, 04 March 2016 00:36 UTC

Return-Path: <juberti@google.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 8AB151B30C1 for <mmusic@ietfa.amsl.com>; Thu, 3 Mar 2016 16:36:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.184
X-Spam-Level:
X-Spam-Status: No, score=-0.184 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_110=0.6, J_CHICKENPOX_111=0.6, RP_MATCHES_RCVD=-0.006, 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 hp1vL4rmFscw for <mmusic@ietfa.amsl.com>; Thu, 3 Mar 2016 16:36:01 -0800 (PST)
Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (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 B7B391B30C5 for <mmusic@ietf.org>; Thu, 3 Mar 2016 16:36:00 -0800 (PST)
Received: by mail-wm0-x234.google.com with SMTP id p65so11334553wmp.0 for <mmusic@ietf.org>; Thu, 03 Mar 2016 16:36:00 -0800 (PST)
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=ECGPxdSFDHIDGHe7q1wY8gLAWoSPDaWd+m8WKN95q2Q=; b=iSVpRw8s9ARo2IZvbEmKuvufiGHkBWILLwK1jKhlgayi/VlnZp2AZzErS7+EUDoJZj oH5twxtigpDt60hZgTlqd6RnwX8Nd+apNQwgyxe/ESj7SwhJ1I0W1pMxFfJ4Qs3O0kRC nq3AEnpuOUdHJT0y63KjTCE/GUMMEBHdFp+Fwh7xzGpZ8h7qNstAwy8TmZNjJrXkYfiH 2wOEcYFowAb1YjaDizxA48F45PLYyCd0pSlRETkr5/PIxkdBHA0TvKWLUFlY2Hx3V7TW lty9iQBo5DQ3E2i6DU3zLbDSsrO9HCIq82bISxvx69q8hjybqiDBniMkOzJuuv6I8rkL RVmw==
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=ECGPxdSFDHIDGHe7q1wY8gLAWoSPDaWd+m8WKN95q2Q=; b=IPchqFEHArDQcobIN9n/CddDF4mK6UkHBr+a+tpS1fZj0dH4A5k3ZsykB8LzXY614k 380hK5J3m9uu356ENJYUSjSDNhX+IxGevZfb+O0Gn3VGE9Bs1/UELWQ0XJCWnXqkumi7 yIT/Oca3pM33VhnlQ8cffYKMcs8v/lgLYpFrWGr+b3NmnBjvg+gYQHtypO/S2L3qHooN R0i3dIlamuuq8EeMQ+xBALihDkGV0Wx7BNEK7SEcREvxvEt0SBDbyCHclX9rRknYTHwY GOIs3DqH4xpVWdSLbzval+6qUVKG3MhX9sZhDSBigFZxU269jFUaENRUbR0YvgDDBqBH 0KEw==
X-Gm-Message-State: AD7BkJIn51oWhOf+Yrk2H8/ld4VYm7sdHRa200BDIsWCQ6ogyU7iCPKY80Q+QuaDRq8rmyf+n1VWYpuT75aiJQMa
X-Received: by 10.194.85.193 with SMTP id j1mr5792164wjz.122.1457051759175; Thu, 03 Mar 2016 16:35:59 -0800 (PST)
MIME-Version: 1.0
Received: by 10.28.27.146 with HTTP; Thu, 3 Mar 2016 16:35:39 -0800 (PST)
In-Reply-To: <56D8D2E1.2030306@alum.mit.edu>
References: <CABcZeBNJ6jdL7SfLaatfr28X83dVOafpi=jrM6bSJ-qpmj4RuA@mail.gmail.com> <CAD5OKxuK9wBG47d+SwBH_f8-PgMQJuxFRmMg9E4omjgqO0tNbQ@mail.gmail.com> <56D8D2E1.2030306@alum.mit.edu>
From: Justin Uberti <juberti@google.com>
Date: Thu, 03 Mar 2016 16:35:39 -0800
Message-ID: <CAOJ7v-2eWFFzK_rtSkT5Q12qv5Cdug_Do1z=cAWvfJsKi0U94Q@mail.gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: multipart/alternative; boundary="089e010d862a86c64a052d2e4cb5"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/E4YS8UFQ7zxuOa8UpAkhcnmpt2o>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-sdp-10 semantics
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: <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: Fri, 04 Mar 2016 00:36:02 -0000

On Thu, Mar 3, 2016 at 4:12 PM, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:

> On 3/3/16 6:23 PM, Roman Shpount wrote:
>
>     Assuming you are comfortable with the above, I think the indicator
>>     we want is some sort of “connection-id” parameter, either as a
>>     standalone value or as a value which is unique in association with
>>     the fingerprint. This seems cleaner than having a “new” versus
>>     “reuse” token. The semantics would be that if you see a new
>>     identifier that means you need to form a new association but that
>>     multiple replays of the same identifier mean that you reuse the same
>>     association (i.e., do not DTLS reconnect).
>>
>>
>>     This resolves the idempotency concern that present with the existing
>>     proposal, and also makes backwards compatibility simpler; a change
>>     in either a=fingerprint or a=dtls-connection-id will trigger a new
>>     DTLS connection.
>>
>>
>> I have actually proposed this very thing (dtls-association-id instead of
>> dtls-connection), but people on the list found this to be too complex.
>> This has an additional benefit of handling some of the 3pcc use cases
>> when in response to empty INVITE it is unknown if generated offer will
>> be used in the same session or in the new one. dtls-association-id
>> resolves this nicely, but we settled for a simpler requirement to always
>> respond with a=dtls-connection=new in response to empty INVITE.
>>
>> The question is does group feels strongly about changes to
>> (dtls-association-id from dtls-connection at this late stage, since this
>> will require a major rewrite.
>>
>
> I had discomfort with connection=new/existing back when it first came up
> with TCP, exactly because it isn't idempotent. I don't recall why I lost
> that battle.
>
> But now that is water over the dam. So I think it takes a stronger
> argument for why to adopt a different pattern now for something so similar.
> If the SDP implementation already has to deal with this for a=connection,
> then why is it a problem to also do so for dtls-connection?
>

I don't agree that the ship has sailed on this. If we unearth a compelling
reason (idempotency), we shouldn't be bound by decisions to a different
attribute made 10+ years ago.

Besides idempotency, the connection/instance id approach has the additional
benefit of simpler logic for old remote endpoints - if either the
fingerprint or id changes, make a new DTLS connection.