Re: I-D Action: draft-ietf-6man-default-iids-11.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 19 May 2016 00:03 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59D5212D532 for <ipv6@ietfa.amsl.com>; Wed, 18 May 2016 17:03:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 r-2LaGJdA7_v for <ipv6@ietfa.amsl.com>; Wed, 18 May 2016 17:03:06 -0700 (PDT)
Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (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 8A27D12D1DD for <ipv6@ietf.org>; Wed, 18 May 2016 17:03:06 -0700 (PDT)
Received: by mail-pa0-x22c.google.com with SMTP id tb2so5169045pac.2 for <ipv6@ietf.org>; Wed, 18 May 2016 17:03:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=pT+Dw0H/DmWNkx6diKMXxsOuvjkSZrx/+F3IW+ftioA=; b=htmJrL55gbnEw/ZMNtmzmqP9XeUnPFRofWMNqxC+ctJpY4efq8G3zxZc02dxKfEw0v uVdnIwRanQWH90p/+3sLMbZ8OZDEVtnsN2zrkzKVEtScv/DAVSDZxP2dq9jZ5vQkLd1C Hxc+aF3b3FtE2SO9Qw+80XtygVXUoo1ba8ABg9H9yopnkusAiYM7DiBTzh7ECoF6/PZd msFdLqu5LQ4PwgMh14iZzSoES25nenxKdW2N/8aEtG6sHuBqP424MPmwzqF1w2cm8Z3z wp3OB6KfxGcmjR865UIRf5dujdkqLKgT6yy5RhR1B6SdGXQ+4evAAaOVGKL3u+eVBQiu WJLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=pT+Dw0H/DmWNkx6diKMXxsOuvjkSZrx/+F3IW+ftioA=; b=Ft6aHRxlJIL9Z5PEbVWJrf2Fz5vS/O5L1YSzJ9jOQVTV2AO28bMeceTIMecHpymJVv KqAeA3Mxr3AEJ9VouxJ9Dv0UMhbOzfxcixeeVAB7Akj6tIT542zBEtG+KQd9F4IUo4yR wiG3Xdfijv7+zTmPCVwgSiPDb55D/P32ZSfLQfPFON4fdRRXtbK8cvtjI8v79wqKQS6L 4o1EycRbI1L9XO7SMcK563D0Xd/bNAUKnrWBgMgmN3hP0LcKEC4yNl7P3gVAMeqAiHnN 1PPg2zXG3Y8/mXiO0VpfZJjwlClNkqXkrjzS8RmJSPYOubVIZXLRVTB383lFYCHOvJkv GJ2A==
X-Gm-Message-State: AOPr4FUQkf6c7kViSeE91P1A5CWY/OeuWV8Wtnb2dorNjP+Pvsa3m6UaGgA+CUEGhNO59w==
X-Received: by 10.66.152.164 with SMTP id uz4mr15061025pab.9.1463616185955; Wed, 18 May 2016 17:03:05 -0700 (PDT)
Received: from ?IPv6:2406:e007:6b9a:1:5483:9b95:28ce:1d34? ([2406:e007:6b9a:1:5483:9b95:28ce:1d34]) by smtp.gmail.com with ESMTPSA id t8sm14845350paw.16.2016.05.18.17.03.03 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2016 17:03:05 -0700 (PDT)
Subject: Re: I-D Action: draft-ietf-6man-default-iids-11.txt
To: Fernando Gont <fgont@si6networks.com>, weigengyu <weigengyu@bupt.edu.cn>
References: <20160428004904.25189.43047.idtracker@ietfa.amsl.com> <CD39E9F1-4060-4884-91B3-5A974C3FFFF7@cooperw.in> <8E1CCE051EDF4491953D6E093809DA68@WeiGengyuPC> <2157FA8F808D4997BBF9AECD1B8DA52A@WeiGengyuPC> <0d4da5aa-ff7b-6d90-8a9e-f4cf5f2fe50f@gmail.com> <573BD140.8000607@si6networks.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <2d547146-0c37-ed43-ab0b-4506336e850b@gmail.com>
Date: Thu, 19 May 2016 12:03:10 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <573BD140.8000607@si6networks.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/MnPHLOHs7IYY3grvjSsC-2VzK1k>
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 May 2016 00:03:08 -0000

On 18/05/2016 14:19, Fernando Gont wrote:
> On 05/16/2016 04:08 PM, Brian E Carpenter wrote:
>> Hi Gengyu,
>>
>>>> RID is not random or random identifier according to the context above.
>>>>
>>>> F() is an inreverse function, not a pseudorandom function.
>>
>> I agree that this is incorrect use of terminology; an irreversible hash is
>> not mathematically equivalent to a pseudo-random number generator. But the
>> effect is the same: an attacker has no way to predict the next F(x) or to
>> obtain the value of x. As far as practical engineering goes, F() can be treated
>> as a random number. So I don't see why this invalidates the use of RFC 7217.
>>
>> You could submit an erratum for RFC 7217 at http://www.rfc-editor.org/errata.php#reportnew
>> so that the terminology can be corrected when the document is updated.
> 
> FWIW, the term "PRF" (as *opposed*) to PRNG was suggested by Alfred
> Hoenes -- IIRC, a mathematician. IIRC, he noted that a hash function is
> simply one possible way of a PRF.

Well, it's complicated (https://en.wikipedia.org/wiki/Pseudorandom_function_family).
As engineers, I think we do better to focus on what matters to us: we need
an unpredictable and unguessable bit string, which we carelessly call 'random'.

   Brian