Re: 6man w.g. last call for <draft-ietf-6man-default-iids-11.txt>

Fernando Gont <fgont@si6networks.com> Wed, 18 May 2016 00:25 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 1DA3012DB03 for <ipv6@ietfa.amsl.com>; Tue, 17 May 2016 17:25:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.358
X-Spam-Level:
X-Spam-Status: No, score=-0.358 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, SPF_PASS=-0.001] autolearn=no 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 4Q6fwygb8hyX for <ipv6@ietfa.amsl.com>; Tue, 17 May 2016 17:25:16 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C31FF12DAF4 for <ipv6@ietf.org>; Tue, 17 May 2016 17:25:15 -0700 (PDT)
Received: from [100.68.251.15] (unknown [152.206.104.174]) (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 6C26A82888; Wed, 18 May 2016 02:25:11 +0200 (CEST)
From: Fernando Gont <fgont@si6networks.com>
Subject: Re: 6man w.g. last call for <draft-ietf-6man-default-iids-11.txt>
To: Lorenzo Colitti <lorenzo@google.com>, Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <20160428004904.25189.43047.idtracker@ietfa.amsl.com> <89CA2C18-AE61-4D40-8997-221201835944@gmail.com> <6f2edbbc-d208-03a0-3c33-503a05c0bee8@gmail.com> <CAKD1Yr1So_tFFSr=sk8ew-UJG-dWK=U6N9mwJnwkZdNX=__SVQ@mail.gmail.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <573B450F.3040700@si6networks.com>
Date: Tue, 17 May 2016 12:21:35 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <CAKD1Yr1So_tFFSr=sk8ew-UJG-dWK=U6N9mwJnwkZdNX=__SVQ@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/tb77KoJQ1ZpzgvaHt6lkI2oUTq0>
Cc: IETF IPv6 Mailing 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: Wed, 18 May 2016 00:25:17 -0000

Lorenzo,

On 05/13/2016 09:55 PM, Lorenzo Colitti wrote:
> 
> This draft says that existing address generation mechanisms are bad for
> privacy, and proceeds to change them. But there is nothing wrong with
> the existing address generation mechanisms as if the link-layer
> addresses are not stable, (e.g., random MAC addresses), and a growing
> body of IETF work 

Yes, there is *a lot* wrong about that. Actually, the fact that we've
been embedding MAC addresses in the IID is the reason why we're having
this discussion.

Please read: draft-gont-predictable-numeric-ids for a discussion of why
embedding MAC addresses in the IID is bad.

Among others (and besides the reasons Brian already mentioned):

* Attempts to ignore a flaw, relying on something that we do not
control, and that the host may not control
  + e.g. we do not control whether MAC addr randomization algorithm is
appropriate or if it is actually possible to randomize it
  + it may be impossible for the node to randomize the MAC address

* Wastes 18 bits of entropy

* May lead to interoperability issues



> This draft forbids implementations from using existing address
> generation mechanisms using random MAC addresses, which is a perfectly
> valid way to address the privacy problem this draft is purportedly
> solving, 

It is not, as noted above. And I'm puzzled that after 30+ years of
improper numeric ids (draft-gont-predictable-numeric-ids), you keep
insisting on this.




> Here are several examples of how this draft forbids using address
> generation mechanisms with random MAC addresses.
> 
>    The recommendations in this document apply only in cases where
>    implementations otherwise would have configured a stable IPv6 IID
>    containing a link layer address.

Would "apply only in cases where implementations otherwise would embed a
link-layer address in the IID, as for traditional SLAAC addresses"?


> ...
>    In standardized recommendations for IPv6 IID generation meant to
>    achieve particular security and privacy properties, it is therefore
>    necessary to recommend against embedding link-layer addresses in IPv6
>    IIDs.
> ...

Yes, this is intended. And too bad that you seem to keep pushing a
flawed scheme.


>    By default, nodes SHOULD NOT employ IPv6 address generation schemes
>    that embed the underlying link-layer address in the IID.
> 
> These statements should not say "link-layer address". They should say
> "stable link-layer-address" or "non-ephemeral link-layer-address" or
> "link-layer address that are not known to be ephemeral".

No. It says what it is meant to say. Please read:
draft-gont-predictable-numeric-ids



> Worse, consider this normative text:
> 
>    The entire text of Section 4 of [RFC2464] is replaced with the
>    following text:
> 
>    ---------------- cut here -------------- cut here ----------------
>    The Interface Identifier [AARCH] for an Ethernet interface MUST be
>    generated as specified in [RFCXXXX].
> 
> This explicitly prohibits an implementation from taking a random MAC
> address and forming an EUI-64 address out of it.

Exactly: you don't reuse identifiers in different layers, for different
scopes, etc. That's a horrible thing to do security&privacy-wise. I'm
glad that, at the very least, you're on record for proposing that and
that I'm on record for noting this is a bad idea. -- so that none can
say "we didn't know this could happen" when s* happens.

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