Re: Feedback on draft-gont-6man-stable-privacy-addresses-01

Fred Baker <fred@cisco.com> Sat, 14 April 2012 23:30 UTC

Return-Path: <fred@cisco.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 5637221F861B for <ipv6@ietfa.amsl.com>; Sat, 14 Apr 2012 16:30:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.766
X-Spam-Level:
X-Spam-Status: No, score=-110.766 tagged_above=-999 required=5 tests=[AWL=-0.167, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mvjkK3kvurQZ for <ipv6@ietfa.amsl.com>; Sat, 14 Apr 2012 16:30:00 -0700 (PDT)
Received: from mtv-iport-2.cisco.com (mtv-iport-2.cisco.com [173.36.130.13]) by ietfa.amsl.com (Postfix) with ESMTP id A6E7921F8610 for <ipv6@ietf.org>; Sat, 14 Apr 2012 16:30:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=fred@cisco.com; l=2509; q=dns/txt; s=iport; t=1334446200; x=1335655800; h=subject:mime-version:from:in-reply-to:date:cc:message-id: references:to:content-transfer-encoding; bh=bMvbPBpdOhh6rhTokiVuW8m0croLfj+g0z14751Wq4E=; b=STF9+cvEBDTUR/nfV/JPNvmby6zD098/7FcYuh+7BonhhWU/nvp+IPX4 4A7jlniDW8C9vKvtuQ5CmhqrUSbKRfDp9GMZnxlxL8h1ukolpgYS7x+Fn ZqPL2f8pg33i/zv0ZjxoAH+G72cwwrjctdys70ykR4VF03v3F5ttHo7kn s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av0EACYHik+rRDoI/2dsb2JhbABDtQuBB4IJAQEBAwESASc/BQsLGC5XBjWHZwQMmG+fEwSQZmMEiFqNE4VyiFqBaYMH
X-IronPort-AV: E=Sophos;i="4.75,423,1330905600"; d="scan'208";a="40589724"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-2.cisco.com with ESMTP; 14 Apr 2012 23:30:00 +0000
Received: from stealth-10-32-244-218.cisco.com (stealth-10-32-244-218.cisco.com [10.32.244.218]) by mtv-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id q3ENTxYe002719; Sat, 14 Apr 2012 23:29:59 GMT
Received: from [127.0.0.1] by stealth-10-32-244-218.cisco.com (PGP Universal service); Sat, 14 Apr 2012 16:30:00 -0700
X-PGP-Universal: processed; by stealth-10-32-244-218.cisco.com on Sat, 14 Apr 2012 16:30:00 -0700
Subject: Re: Feedback on draft-gont-6man-stable-privacy-addresses-01
Mime-Version: 1.0 (Apple Message framework v1084)
From: Fred Baker <fred@cisco.com>
In-Reply-To: <C91E67751B1EFF41B857DE2FE1F68ABA03CFD484@TK5EX14MBXC274.redmond.corp.microsoft.com>
Date: Sat, 14 Apr 2012 16:29:30 -0700
Message-Id: <8C04B19A-6E88-4544-8827-13BB4D672CFE@cisco.com>
References: <E7607B61-9889-43A9-B86B-133BD4238BA2@gmail.com> <1334276068.3945.408.camel@karl> <4F882A44.3080305@si6networks.com> <1334363774.3945.541.camel@karl> <CAAuHL_BCv2q=hDjTLmiviLoRRTbbyU+aSSQ0ETbDDQk==YfmLQ@mail.gmail.com> <C5B723A8-8A24-46BD-94E5-0BA2D8CCB460@cisco.com> <4F89DEE7.1080205@si6networks.com> <C91E67751B1EFF41B857DE2FE1F68ABA03CFD484@TK5EX14MBXC274.redmond.corp.microsoft.com>
To: Christian Huitema <huitema@microsoft.com>
X-Mailer: Apple Mail (2.1084)
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Cc: Fernando Gont <fgont@si6networks.com>, "ipv6@ietf.org 6man" <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 14 Apr 2012 23:30:02 -0000

On Apr 14, 2012, at 4:20 PM, Christian Huitema wrote:
> 3) Privacy: the number should vary over time, to make it harder for Internet services to correlate sessions started by the same host.
> 4) Stability: the number should remain stable over time, so administrators can more easily manage which host is using what network service.
> 
> Of course, stability and privacy are contradictory, so there must be a way for arbitraging that. That's the big issue to be dealt with by the specification of privacy addresses, i.e. whatever successor we write for RFC 3484. The arbitration will be resolving about how often host generate addresses, how many addresses they generate, and under what circumstances do they use one or the other. Let's assume for now that we just want to generate addresses once per subnet.

That pp mixes two things:

https://tools.ietf.org/html/rfc3484
3484 Default Address Selection for Internet Protocol version 6 (IPv6).
     R. Draves. February 2003. (Format: TXT=55076 bytes) (Status: PROPOSED
     STANDARD)

https://tools.ietf.org/html/rfc4941
4941 Privacy Extensions for Stateless Address Autoconfiguration in
     IPv6. T. Narten, R. Draves, S. Krishnan. September 2007. (Format:
     TXT=56699 bytes) (Obsoletes RFC3041) (Status: DRAFT STANDARD)

I agree that the arbitrage is largely about the rate of address generation. I should think that's a local matter; two otherwise-identical laptops sitting beside each other on a LAN could be different - one changing its address once a week, and the other changing its address for every TCP session. Apart from the impact of DAD, I don't see much harm in letting them do so.

> In principle, there are two ways to meet the unique per subnet requirement: use a number that is guaranteed to be unique by design; or use a large random number that is unlikely to collide with an existing allocation.

That's for global uniqueness. If all that is required is uniqueness in a subnet, something akin to that makes sense for the first guess, but after that it's all about DAD.

> Fernando's algorithm has several advantages. It uses a hash of a pre-allocated random number,

As I read it, section three item one calls for the use of the EUI-64 in use on the interface, which presumes that the interface is an IEEE 802 LAN. There are other interface types. I'd like to see that widened to a number *such*as* one of the set I specified.