Re: <draft-ietf-6man-default-iids> update to rfc2464bis

Fernando Gont <fgont@si6networks.com> Thu, 12 January 2017 07:37 UTC

Return-Path: <fgont@si6networks.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 732391294B4 for <ipv6@ietfa.amsl.com>; Wed, 11 Jan 2017 23:37:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 8hWcMS6cvnRL for <ipv6@ietfa.amsl.com>; Wed, 11 Jan 2017 23:37:23 -0800 (PST)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4644E129474 for <ipv6@ietf.org>; Wed, 11 Jan 2017 23:37:23 -0800 (PST)
Received: from [192.168.3.88] (142-135-17-190.fibertel.com.ar [190.17.135.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id 1B2B282C2B; Thu, 12 Jan 2017 08:37:18 +0100 (CET)
Subject: Re: <draft-ietf-6man-default-iids> update to rfc2464bis
To: Lorenzo Colitti <lorenzo@google.com>, Bob Hinden <bob.hinden@gmail.com>
References: <1E7F90AC-79BB-49BE-B397-EC829EA95AA4@gmail.com> <CAKD1Yr0O6gnXZc3qEY7bqkBYu-sx1_erwum2DRwpe+Vv+jmdiw@mail.gmail.com>
From: Fernando Gont <fgont@si6networks.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <7456833d-aa3f-d368-6041-cfdc1ac95f6f@si6networks.com>
Date: Thu, 12 Jan 2017 04:20:55 -0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <CAKD1Yr0O6gnXZc3qEY7bqkBYu-sx1_erwum2DRwpe+Vv+jmdiw@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/JKFCDNI3Bkmig6577Gy1Nh5jFpg>
Cc: IPv6 List <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, 12 Jan 2017 07:37:25 -0000

Lorenzo,

On 01/12/2017 02:21 AM, Lorenzo Colitti wrote:
> On Tue, Jan 10, 2017 at 5:40 AM, Bob Hinden <bob.hinden@gmail.com
> <mailto:bob.hinden@gmail.com>> wrote:
> 
>        It is not recommended that Interface Identifiers for an Ethernet
>        interface be based on IEEE MAC-layer addresses.
> 
> 
> Please include the word "stable" in this sentence. (See below.)
>  
> 
>        Earlier versions of
>        this document described a method of forming interface identifiers
>        derived from IEEE MAC-layer addresses called Modified EUI-64 format.
>        This is described in Appendix A of [I-D.ietf-6man-rfc4291bis] and is
>        no longer recommended.
> 
> 
> Based on my reading of draft-ietf-6man-default-iids-16 , it's not
> correct to say that this approach is "not recommended". This approach is
> not recommended for use with stable MAC addresses, but there is no
> recommendation against using it for non-stable MAC addresses.

I agree this part of your comment.


> We do
> recommended that nodes use RFC7217 addresses by default, but only if the
> node wishes to create stable addresses, and there is no requirement that
> a node do so.

So far, the current specs essentially require that. RFC4941 (the only
spec we have for non-temporary addresses) require that the be generated
along with the traditional (stable) addresses.

FWIW, I do think there are scenarios in which you might want to do
temporary-only, but we certainly need an update to the current specs in
that regard (and guidance regarding where to use each).

That aside, in the context of temp-only addresses, doing Modified-EUI64
based on a randomized MAC address is still a bad idea:

1) It wastes 18 bits of entropy (0xfffe, plus g/l and u/m)
2) Unnecessarily leaks what you're doing in layer-2, at layer 3.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492