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

Paul Kyzivat <pkyzivat@alum.mit.edu> Sun, 06 March 2016 22:41 UTC

Return-Path: <pkyzivat@alum.mit.edu>
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 3C7391B3B58 for <mmusic@ietfa.amsl.com>; Sun, 6 Mar 2016 14:41:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.035
X-Spam-Level:
X-Spam-Status: No, score=-0.035 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, J_CHICKENPOX_110=0.6, J_CHICKENPOX_111=0.6, SPF_SOFTFAIL=0.665] 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 LFkUr_dXshzr for <mmusic@ietfa.amsl.com>; Sun, 6 Mar 2016 14:41:11 -0800 (PST)
Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:37]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 232EF1B3B56 for <mmusic@ietf.org>; Sun, 6 Mar 2016 14:41:11 -0800 (PST)
Received: from resomta-ch2-07v.sys.comcast.net ([69.252.207.103]) by resqmta-ch2-05v.sys.comcast.net with comcast id Smgs1s0062EPM3101mhAPR; Sun, 06 Mar 2016 22:41:10 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([73.218.51.154]) by resomta-ch2-07v.sys.comcast.net with comcast id Smh91s00A3KdFy101mh9QL; Sun, 06 Mar 2016 22:41:10 +0000
To: Eric Rescorla <ekr@rtfm.com>
References: <CABcZeBNJ6jdL7SfLaatfr28X83dVOafpi=jrM6bSJ-qpmj4RuA@mail.gmail.com> <CAD5OKxuK9wBG47d+SwBH_f8-PgMQJuxFRmMg9E4omjgqO0tNbQ@mail.gmail.com> <56D8D2E1.2030306@alum.mit.edu> <CABcZeBMAhv5DVxkk4f-yXc7HXWysw2eQTBNCtYWyACJy8PXn2w@mail.gmail.com>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <56DCB204.4090206@alum.mit.edu>
Date: Sun, 06 Mar 2016 17:41:08 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <CABcZeBMAhv5DVxkk4f-yXc7HXWysw2eQTBNCtYWyACJy8PXn2w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1457304070; bh=08617cLI6bFPuKiGVfiXW+fNOQ+4+7tmnbPBtVCRCw8=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=TjnjxeeNaSqYRjfK3usyovUFFKykE0+S5yw0boU5J+3oOwhbhVSu2ppWuCQOq8xar XIiZdNPCd2mcNuMFK7A30Iyh4S1Xjjq0cN5Nd7UbBpmzFYBv1JMEe3lIh+eBT9tZHp yCgoEal8Mi6oGbcIIZ9nzXWkcbS5TVwt0Y9ws7N1c8raMA7Ar6wac/8AHJRd6cD/Ie BfaGZgrAYL9iECq7on5+L4CHlvp8q/Xw/V8VsTIsaSYaiZoYd/r6iCBhpPeffRPJR9 4EJovxwi4bbrSXtJ5nl8C4W+fjmZI8I+fznMogwT4bwbaWzy4vMUUelOHgLek2EW9J 36aNHf56w+Nwg==
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/r5lvzX5N08i_IT_HUOOxySS9MmI>
Cc: mmusic WG <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: Sun, 06 Mar 2016 22:41:12 -0000

On 3/3/16 7:31 PM, Eric Rescorla wrote:
>
>
> On Thu, Mar 3, 2016 at 4:12 PM, Paul Kyzivat <pkyzivat@alum.mit.edu
> <mailto: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?
>
>
> How many people actually get a=connection right?

I don't know. But it should be pretty obvious when they get it wrong. 
And they have had a long time to get the bugs worked out of their code.

	Thanks,
	Paul