Re: [siprec] Stephen Farrell's Discuss on draft-ietf-siprec-metadata-20: (with DISCUSS and COMMENT)
Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 02 March 2016 17:34 UTC
Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: siprec@ietfa.amsl.com
Delivered-To: siprec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 322B81B2F03 for <siprec@ietfa.amsl.com>; Wed, 2 Mar 2016 09:34:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 XWIqluGe3FZO for <siprec@ietfa.amsl.com>; Wed, 2 Mar 2016 09:34:10 -0800 (PST)
Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:33]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6D1F1B2F67 for <siprec@ietf.org>; Wed, 2 Mar 2016 09:33:57 -0800 (PST)
Received: from resomta-ch2-02v.sys.comcast.net ([69.252.207.98]) by resqmta-ch2-01v.sys.comcast.net with comcast id R5Xc1s00527uzMh015Zw5a; Wed, 02 Mar 2016 17:33:56 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([73.218.51.154]) by resomta-ch2-02v.sys.comcast.net with comcast id R5Zv1s00Q3KdFy1015Zw88; Wed, 02 Mar 2016 17:33:56 +0000
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>, The IESG <iesg@ietf.org>
References: <20160302110853.23213.23639.idtracker@ietfa.amsl.com> <56D70560.2020002@alum.mit.edu> <56D70B18.4010309@cs.tcd.ie> <56D71444.70508@alum.mit.edu> <56D7188C.8060208@cs.tcd.ie>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <56D72403.3000008@alum.mit.edu>
Date: Wed, 02 Mar 2016 12:33:55 -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: <56D7188C.8060208@cs.tcd.ie>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1456940036; bh=EYtV7OvdQq9+yN7qC4n1fMdmHNMxU5g8kZio469hZbg=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=Y5JxnXlgs2Oo3WCEAPfOT/pPY4unLkjUPfvOKntoAe3QDYUwN1RfzoE2rIwQX02Yc A2xs//IPrVlmCWDJgTqCW0IH+fms5o9Yd47hlxs75q7zY0tOUG3b24CzVckVrhhrpF FpGHb4mwQatFad1hTdBwix5w4m8xR2D/qxNmoSMR22pXCVhH1EG+dyL5E/Nvug5W2/ mMEyQNyRNQqf+RVcABk7T6NUL3F7RuJ79r8bQZk97qXXx5vrA16YQlB3ofIFYLSgnS YTJ4nWbmt5jamxH9ir0hjAtrfb89P0vvrq47o1fa1wwDlzJE+ZwTijBEcTe/S8l6ES zTO+ifOoaR68A==
Archived-At: <http://mailarchive.ietf.org/arch/msg/siprec/idMKphjyxVoxrzMLBYkoxPNjeD0>
Cc: draft-ietf-siprec-metadata@ietf.org, siprec@ietf.org, siprec-chairs@ietf.org
Subject: Re: [siprec] Stephen Farrell's Discuss on draft-ietf-siprec-metadata-20: (with DISCUSS and COMMENT)
X-BeenThere: siprec@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: SIP Recording Working Group Discussion List <siprec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/siprec>, <mailto:siprec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/siprec/>
List-Post: <mailto:siprec@ietf.org>
List-Help: <mailto:siprec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/siprec>, <mailto:siprec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Mar 2016 17:34:11 -0000
On 3/2/16 11:45 AM, Stephen Farrell wrote: > > Hiya, > > (We're spiralling in on precision... :-) Yeah. Hopefully it is a converging spiral. :-) My goal is to be no more restrictive than necessary, and to be as concise as possible to achieve that while being clear. Sometimes it is hard to find the right balance. More below. > On 02/03/16 16:26, Paul Kyzivat wrote: >> On 3/2/16 10:47 AM, Stephen Farrell wrote: >>> >>> >>> On 02/03/16 15:23, Paul Kyzivat wrote: >>>> On 3/2/16 6:08 AM, Stephen Farrell wrote: >>>> >>>>> (2) 6.10: Don't you need to say to use UUID version 4 with >>>>> random numbers and to not use MAC addresses? IOW, refer to >>>>> RFC4122, Section 4.4 for how to generate UUIDs. >>>> >>>> I don't think we want to restrict to the section 4.4 algorithm. SRCs may >>>> need quite a lot of UUIDs. There is no reason to be using a random >>>> number generator for each one. >>> >>> Using a good PRNG for this should be fine and is allowed by 4.4. >>> There's no need to block on /dev/random for this anyway:-) >>> >>>> And there could be cases where two SRCs >>>> that are cooperating on recording might want to algorithmically >>>> synchronize their uuid generation. For both of these cases the >>>> name-based algorithm can work well. For that to be safe it is only >>>> necessary that the namespace be unique. >>>> >>>> So I would rather not be so proscriptive about *how* the UUIDs are >>>> generated, as long as they avoid accidental collisions and collisions >>>> due to malice. >>> >>> I'd be fine with allowing that too. I think the main thing is >>> to exclude using MAC addresses. So maybe saying "Follow RFC4122, >>> Section 4.3 or 4.4" would work? >> >> Looking carefully at 4122: IIUC your objection is to using the algorithm >> in section 4.1? So 4.2 and 4.3 are ok. And I would think 4.5 is also ok? >> (But not the NIL UUID.) > > Doesn't 4.2 use the node_id the same way as 4.1? > > 4.5 also seems fine. My mistake. Section 4 has funny structure. 4.1 isn't one of the algorithms. 4.2 is *the* algorithm that uses the MAC. So 4.2 is bad, 4.3-4.5 are ok. >> If 4.3 is used, does it matter what algorithm is used to create the name >> space ID? > > I guess it could, e.g. using an AoR might be a bad plan I > suppose, whereas using a DNS name associated with the SRS > could be a good plan, but I'm not sure what implementers > would be likely to use here. If I were to guess, I'd guess > that some name for the SRS would be ok. > > Perhaps another way to handle it would be to say "use > 4122, sections 4.3, 4.4 or 4.5 but ensure that you don't > use anything potentially personally identifying to > generate the UUIDs, so if you follow 4.3 a name for the > SRS might be a good choice." I don't think it is good to say anything about the *name*. The part that obscures it is the name space id, which is another UUID. As long as the name space id is good the name can be anything the SRC likes that is locally unique. So perhaps "use 4122, sections 4.3, 4.4 or 4.5 but ensure that you don't use anything potentially personally identifying to generate the UUIDs, so if you follow 4.3 a name space ID generated using 4.2 or 4.5 might be a good choice." Would that be ok? Thanks, Paul
- [siprec] Stephen Farrell's Discuss on draft-ietf-… Stephen Farrell
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Paul Kyzivat
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Stephen Farrell
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Paul Kyzivat
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Stephen Farrell
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Paul Kyzivat
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Stephen Farrell
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Stephen Farrell
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Stephen Farrell
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Paul Kyzivat
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Paul Kyzivat
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Ram Mohan R (rmohanr)
- Re: [siprec] Stephen Farrell's Discuss on draft-i… Paul Kyzivat