Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-sdp-10 semantics
Justin Uberti <juberti@google.com> Tue, 08 March 2016 02:16 UTC
Return-Path: <juberti@google.com>
X-Original-To: mmusic@ietfc.amsl.com
Delivered-To: mmusic@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 6165B1CD9A7 for <mmusic@ietfc.amsl.com>; Mon, 7 Mar 2016 18:16:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfc.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r8K-bkKnmPyE for <mmusic@ietfc.amsl.com>; Mon, 7 Mar 2016 18:16:19 -0800 (PST)
Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfc.amsl.com (Postfix) with ESMTPS id 6EC6B1CD9A3 for <mmusic@ietf.org>; Mon, 7 Mar 2016 18:16:19 -0800 (PST)
Received: by mail-wm0-x231.google.com with SMTP id p65so131547269wmp.1 for <mmusic@ietf.org>; Mon, 07 Mar 2016 18:16:19 -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=uIHdovPAI5Ne5L02FIOMD6E1bALrnsyzyAY+p7FF5Pc=; b=FDKBnAiTaQd4upYvec4VEPlNpCP4NyoFnn0rhg72CEUn5+JHaoVpp7Na0G1laJSkQF XMRmIL9EV9dhUQHB3KF4fhH3mX1IbsOKpu+m2N0+Nco68oqXsAlHZQCNKT+ce8DeEFM1 leNkWYaw1evhc/ziCt7e05K84m6XrBi5PfFO4cqByXYMNlC5ua0nnQsZ/D15cLPLvCv2 RB+U++Rgi3aZ8PcoHPc16EkYw+sdSgXvhr3vPpfwkLH63k1BHl4Q02E6IErAh3rOZMYO i+1BjALhKDwjqntdEOrKodfNmm2VYpETMKPTf7EibwUx5Oab41lafRo0hA2yS9RhZzcS ZLxg==
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=uIHdovPAI5Ne5L02FIOMD6E1bALrnsyzyAY+p7FF5Pc=; b=V3KW2uisbomeR5QxLWwnycyTz6bG1nlmjOorpsaLl7asJ0jNWQF5rRRqN7N2vTdLqk IlNhf8C201eTOOQFDczrgjAW/bFw3CtH8YbOuOFMmHnptweZOOVcMtbPmmb0mxnSoAtE VZn68r6M1FQSLo5YYHsiacYrVq7mTchGoCqduMuQH6DqdtU4Ah2+OKYkC0FUp6+NaMoJ F2ChceKjd4Nr1vnRZKepR3AKl+BQJ3LXkHl21ycTlBKo8YtzOVnCP3fz5kkLz85H+erv 77PHEu18rIRFJT+moYHBQecgv/N1dJooq1kp6nZALQOG8dslAt1uDD+0kPSo1DaaR12w keqw==
X-Gm-Message-State: AD7BkJIjgVnD87E9fmxI5aHOWRdyRanBNOd87k1B+DO1iwfJ902aJt6xxFnD5pIeqh+cYSPTWSTsT42gV/NlSp63
X-Received: by 10.194.6.36 with SMTP id x4mr10448078wjx.122.1457403377768; Mon, 07 Mar 2016 18:16:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.28.148.79 with HTTP; Mon, 7 Mar 2016 18:15:58 -0800 (PST)
In-Reply-To: <CAD5OKxtsPiakn+N7PhVv+7f4cJ=+jOoB-M3VmrN-HguWy-sKCQ@mail.gmail.com>
References: <CABcZeBNJ6jdL7SfLaatfr28X83dVOafpi=jrM6bSJ-qpmj4RuA@mail.gmail.com> <CAD5OKxuK9wBG47d+SwBH_f8-PgMQJuxFRmMg9E4omjgqO0tNbQ@mail.gmail.com> <56D8D2E1.2030306@alum.mit.edu> <CAOJ7v-2eWFFzK_rtSkT5Q12qv5Cdug_Do1z=cAWvfJsKi0U94Q@mail.gmail.com> <56DCB31A.1010502@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B37E818F9@ESESSMB209.ericsson.se> <56DDA6B2.5080403@alum.mit.edu> <CAD5OKxts-yfXS2nxTfoqMiDO2GLWu4AF6WJdvsE_tFtewmmmCg@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37E8B57C@ESESSMB209.ericsson.se> <56DDB1D2.6000801@alum.mit.edu> <CAD5OKxuXiPGDZtNQvfhQGD0NdmDoCZ6hAgqQnih8-_p7GD56fQ@mail.gmail.com> <56DDB8B0.5030806@alum.mit.edu> <CAD5OKxtsPiakn+N7PhVv+7f4cJ=+jOoB-M3VmrN-HguWy-sKCQ@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Mon, 07 Mar 2016 18:15:58 -0800
Message-ID: <CAOJ7v-3vSkHikt0_bKBsdP=GoAt5wJ5X6tOcq_4z_51jMQKT=w@mail.gmail.com>
To: Roman Shpount <roman@telurix.com>
Content-Type: multipart/alternative; boundary="047d7b5d295ca0c124052d802ad8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/COaKxmPSB56F3UDJKuesAvV2wy4>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>, Paul Kyzivat <pkyzivat@alum.mit.edu>, Christer Holmberg <christer.holmberg@ericsson.com>
Subject: Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-sdp-10 semantics
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.17
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, 08 Mar 2016 02:16:21 -0000
Keep in mind that this id value isn't actually sent anywhere. So it's not like the ICE ufrag that needs a certain amount of entropy. It can just as easily be a monotonically increasing number. IOW, a string with a 1-byte minimum seems right. On Mon, Mar 7, 2016 at 10:26 AM, Roman Shpount <roman@telurix.com> wrote: > > On Mon, Mar 7, 2016 at 12:21 PM, Paul Kyzivat <pkyzivat@alum.mit.edu> > wrote: > >> On 3/7/16 12:12 PM, Roman Shpount wrote: >> >>> On Mon, Mar 7, 2016 at 11:52 AM, Paul Kyzivat <pkyzivat@alum.mit.edu >>> <mailto:pkyzivat@alum.mit.edu>> wrote: >>> >>> On 3/7/16 11:26 AM, Christer Holmberg wrote: >>> >>> I suggest dtls-association-id. In my opinion there is no longer >>> the same >>> need to be aligned with the name of the connection attribute. >>> >>> >>> This seems plausible. But I want to reserve judgement until the >>> detailed semantics of the attribute are worked out: >>> >>> I wanted to model this attribute on ICE ufrag >>> >>> - is it numeric, or a token? >>> >>> >>> I was thinking something like this: >>> dtls-association-id-attr = "dtls-association-id" ":" dtls-association-id >>> >>> dtls-association-id = 4*256dtls-association-id-char >>> >>> dtls-association-id-char = ALPHA / DIGIT / "+" / "/" >>> >> >> Why this in particular? Is it your intent to reuse values that were >> generated for another purpose? Or to reuse code that is also used for >> another purpose? > > > This is reusing the definition (and generation code) from ice-ufrag > attribute (https://tools.ietf.org/html/rfc5245#section-15.4). > > - any rules for how the value chosen? >>> >>> >>> The dtls-association-id attributes MUST be chosen randomly when new DTLS >>> association is requested. The dtls-association-id attribute MUST >>> contain at least 24 bits of randomness. This means that >>> the dtls-association-id attribute will be at least 4 characters >>> long since the grammar for this attribute allows for 6 bits of >>> randomness per character. The attribute MAY be longer than 4 >>> characters, respectively, of course, up to 256 characters. The upper >>> limit allows for buffer sizing in implementations. Its large upper >>> limit allows for increased amounts of randomness to be added over time. >>> >> >> What is the reason for using random values, rather than some well defined >> sequence of values? (Where the sequence might start with a random value, or >> perhaps every sequence would start with 0.) >> > > We are dealing with multiple end points which can be reconnected in more > or less random order. Each end point needs to detect when it is talking to > a new end point or to a new DTLS association. This is why I picked a random > value. Once again, if this works for ICE, should work for DTLS just as well. > > Let me know if you have a better idea for ID generation. > > Regards, > _____________ > Roman Shpount > >
- [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-sdp-1… Eric Rescorla
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Ted Hardie
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Ted Hardie
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Roman Shpount
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Eric Rescorla
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Paul Kyzivat
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Eric Rescorla
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Justin Uberti
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Paul Kyzivat
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Paul Kyzivat
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Christer Holmberg
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Paul Kyzivat
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Roman Shpount
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Christer Holmberg
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Paul Kyzivat
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Paul Kyzivat
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Roman Shpount
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Roman Shpount
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Justin Uberti
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Roman Shpount
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Christer Holmberg
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Roman Shpount
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Justin Uberti
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Christer Holmberg
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Justin Uberti
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Paul Kyzivat
- Re: [MMUSIC] Thoughts on draft-ietf-mmusic-dtls-s… Roman Shpount