Re: [siprec] Stephen Farrell's Discuss on draft-ietf-siprec-metadata-20: (with DISCUSS and COMMENT)

Stephen Farrell <stephen.farrell@cs.tcd.ie> Wed, 02 March 2016 16:45 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
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 50A691B2C35; Wed, 2 Mar 2016 08:45:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.307
X-Spam-Level:
X-Spam-Status: No, score=-4.307 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.006, SPF_PASS=-0.001] autolearn=ham
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 X61On0oa4ciO; Wed, 2 Mar 2016 08:45:21 -0800 (PST)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 071C01B2C3C; Wed, 2 Mar 2016 08:45:02 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id D8764BE56; Wed, 2 Mar 2016 16:45:00 +0000 (GMT)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PNKMbV9SYgU7; Wed, 2 Mar 2016 16:45:00 +0000 (GMT)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 3CD49BE55; Wed, 2 Mar 2016 16:45:00 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1456937100; bh=/5Lt7WgmYxy8QXV5KFA4e7MnPa3tcXmh/HFyGyHR7vk=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=dXvXr0h/GOZttlFxkVipkzYefen67+OH4H/bTNtUTs6jlJ0MIhNKPVwYoDXrYrPFl vQREDJ054eMWld5CVflNztLFPMj/QGIyrPAJQ4OnLwNAz50Rlz8LZ5v3YGn2Vdv2JC rS/QCB4Qh3zzoxZ+Won/IkjOZCnXfzujsGBWl9lE=
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, 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>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <56D7188C.8060208@cs.tcd.ie>
Date: Wed, 02 Mar 2016 16:45:00 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <56D71444.70508@alum.mit.edu>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms000905040308070907090405"
Archived-At: <http://mailarchive.ietf.org/arch/msg/siprec/34w1dKaFrSaBVNDf1wqTXBFP7Uc>
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 16:45:23 -0000

Hiya,

(We're spiralling in on precision... :-)

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.

> 
> 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."

That work?

Cheers,
S.


> 
>     Thanks,
>     Paul