Re: [dhcwg] Next step(s) for draft-ietf-dhc-stable-privacy-addresses -> abandon work? / IA_NA applicability

"Bernie Volz (volz)" <volz@cisco.com> Tue, 14 April 2015 17:49 UTC

Return-Path: <volz@cisco.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26FBA1A1A78 for <dhcwg@ietfa.amsl.com>; Tue, 14 Apr 2015 10:49:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 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_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 lvP9eyjIfook for <dhcwg@ietfa.amsl.com>; Tue, 14 Apr 2015 10:49:26 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 337BF1A1A98 for <dhcwg@ietf.org>; Tue, 14 Apr 2015 10:49:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7736; q=dns/txt; s=iport; t=1429033765; x=1430243365; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=e5r3UFkacn5OhTjiOej/Gbcas/B9wl+za81/LXKskW0=; b=B4ELKTskJQXZ/iDklcJEYRcYufTlEW3BCzNH/ycLKvBjOxEvD6ix/Qth tc223KlD4t/ot8bg/3coOT2tXqM86kXqEf2t48UhfvJC1nwU1iLTsc3Mw 1IDgVC69nyhvMPj6Lta49xV3rOyehHAsWy60CsOLojf3RHOTLIxU5Oj9/ 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BcBADpUS1V/4sNJK1cgwyBLgWDEMJWCYdPAhyBKzgUAQEBAQEBAX2EHwEBAQMBIwQNRQUHBAIBCA4DBAEBAQICBhkEAwICAjAUAQgIAgQBDQUIiBoItlSVdgEBAQEBAQEBAQEBAQEBAQEBAQEBAReBIYoKhDEaFhALBwaCYi+BFgEEkQ6LLoM3hweJESKCAxwUgTxvgUR/AQEB
X-IronPort-AV: E=Sophos;i="5.11,577,1422921600"; d="scan'208";a="141192303"
Received: from alln-core-6.cisco.com ([173.36.13.139]) by alln-iport-6.cisco.com with ESMTP; 14 Apr 2015 17:49:24 +0000
Received: from xhc-rcd-x01.cisco.com (xhc-rcd-x01.cisco.com [173.37.183.75]) by alln-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id t3EHnNLS003814 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 14 Apr 2015 17:49:23 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.142]) by xhc-rcd-x01.cisco.com ([173.37.183.75]) with mapi id 14.03.0195.001; Tue, 14 Apr 2015 12:49:23 -0500
From: "Bernie Volz (volz)" <volz@cisco.com>
To: Fernando Gont <fgont@si6networks.com>, Lorenzo Colitti <lorenzo@google.com>
Thread-Topic: [dhcwg] Next step(s) for draft-ietf-dhc-stable-privacy-addresses -> abandon work? / IA_NA applicability
Thread-Index: AQHQbKUWByZTAVuV8ESYM5tVpMLK4p04ge2AgABZ+YD//7DXMIAKWypfgABgb4CAAAcrgIAAANmAgAAE+ACAAAV/AIABrwHhgAABkwCAAZ0fPYAFbAoBgADGg3A=
Date: Tue, 14 Apr 2015 17:49:22 +0000
Message-ID: <489D13FBFA9B3E41812EA89F188F018E1CA66028@xmb-rcd-x04.cisco.com>
References: <489D13FBFA9B3E41812EA89F188F018E1CA32071@xmb-rcd-x04.cisco.com> <CAKD1Yr3UYT0yPEqftEXpN8zmk=-dka_NMcu3rbb_GG+YSnk2ZQ@mail.gmail.com> <5524D09B.3090706@si6networks.com> <CAKD1Yr2Ztzoys+xKBzsEHU5hqJmfGpn-GeWPEqNCHRuWOTgsJQ@mail.gmail.com> <55250911.30100@si6networks.com> <CAKD1Yr0ojVmk-ctUO313zvAx01P=B-A2zVuwDm73+dLgVwDLOw@mail.gmail.com> <55250DF2.8050001@si6networks.com> <CAKD1Yr33wFmjjqjYu8YEpqYvnn=kh9oJhe1YAC7UEzacQFBaWg@mail.gmail.com> <55251EFA.4000204@si6networks.com> <CAKD1Yr0XK-DQkcJKwTYmiWzCzZs4pubCme9rAgoZ_ig-P5MgsQ@mail.gmail.com> <55253F14.6000706@si6networks.com> <CAKD1Yr0Q2634Rfw0_9NiU+-S_yfD2RwPs7uPWAbTuOADyx8bHg@mail.gmail.com> <5526B5F9.9090707@si6networks.com> <489D13FBFA9B3E41812EA89F188F018E1CA499A7@xmb-rcd-x04.cisco.com> <5526D45A.9020701@si6networks.com> <CAKD1Yr2g9sc8Y3URBMt=yNkD61-iG37rpNc5ZXJHjLfghD3KJA@mail.gmail.com> <5527FA77.5070301@si6networks.com> <CAKD1Yr3M0gbbbE6a=DfT1SW7jeXoHX1EQMbDagtF-+n13sAQ0w@mail.gmail.com> <552C679E.4020305@si6networks.com>
In-Reply-To: <552C679E.4020305@si6networks.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.131.36.76]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/nN3MYSnhVxsSYmdk8nFDJeSx8UA>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] Next step(s) for draft-ietf-dhc-stable-privacy-addresses -> abandon work? / IA_NA applicability
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Apr 2015 17:49:28 -0000

>Ok. I will craft text along these lines. Among other things, discuss DECLINES, note that collisions are expected to be virtually impossible thanks to the address space, etc.

This is NOT true at all (collisions virtually impossible). In fact, the exact opposite will almost certainly be true.

Also think of cases where much smaller spaces than a /64 are being used (such as when a server is configured for a start to end range (1 to 100000)) or when a longer prefix length is being used (/96) for assigning addresses.

- Bernie

-----Original Message-----
From: Fernando Gont [mailto:fgont@si6networks.com] 
Sent: Monday, April 13, 2015 9:05 PM
To: Lorenzo Colitti
Cc: Bernie Volz (volz); dhcwg@ietf.org
Subject: Re: [dhcwg] Next step(s) for draft-ietf-dhc-stable-privacy-addresses -> abandon work? / IA_NA applicability

Hi, Lorenzo,

On 04/11/2015 01:38 AM, Lorenzo Colitti wrote:
> On Sat, Apr 11, 2015 at 1:29 AM, Fernando Gont <fgont@si6networks.com 
> <mailto:fgont@si6networks.com>> wrote:
> 
>     On 04/09/2015 08:20 PM, Lorenzo Colitti wrote:
>     >     > This concept is flawed if the servers aren't cooperating. If
>     there
>     >     > are multiple servers that don't share lease data, how does
>     server 1
>     >     > know whether the lease was leased to another client or
>     renewed, if
>     >     > server 2 ends up communicating with the client?
>     >
>     >     Usually, you need servers to communicate because there's no
>     way to tell
>     >     which address each server may have assigned to which client.
>     But that's
>     >     not the case with this method.
>     >
>     >
>     > It is still the case even with this method, because the servers
>     need to
>     > agree on the value of the counter variable.
> 
>     The Counter value is there for completeness sake. Me, I don't expecThe
>     assumption is that thanks to the huge address space, you want hit
>     collisions.
> 
> But you have to say what happens in this case. If the client sends a 
> DECLINE for any reason, what happens? Is it dead in the water with the 
> wrong IP address? Does the server just respond with the same IP 
> address as before, hoping that the client will like it? If you don't 
> want the draft to specify the behaviour, you should at least provide a 
> list of the possible options, because from what I see, the possible 
> options are all bad.

In my mental model, if the client sends a DECLINE, that's interpreted as a collision, hence Counter is incremented, and you get a different IPv6 address.

I guess this should be configurable:
1) "Hard assignment": IPv6 addresses collisions are flagged as "impossible", and server always offer the same address (i.e., Counter is not used at all)

2) Soft assignment: server assigns an address but offers an alternative one in the case of collisions.


Not sure why you say all options are bad. If you were doing randomized/statefull DCHPv6 address assignments, you'd have to handle DECLINEs, too.



>     I'd say that a DHCPv6 servers is free to store the Counter value for
>     each lease, if they please. But it's not worth it to synchronize it. --
>     the assumption in this scheme is that the address space for the local
>     subnet is so large that you will not find collisions.
> 
>     If you, we could rename the I-D as "probabilistically stable" -- but I
>     hope that's not needed.
> 
> 
> One of the major objections I have here is that the draft says that 
> the addresses are stable and stateless. However, that statement is not 
> true in the presence of DECLINEs, collisions, or misconfigurations 
> (probably more likely than collisions). If the draft didn't say the 
> addresses are stable, or if it didn't say that the addresses can be 
> calculated statelessly, then that would be OK, but it does. I think 
> that if you want to standardize this approach, then IMO you need to 
> quantify what happens in these cases.

Ok. I will craft text along these lines. Among other things, discuss DECLINES, note that collissions are expected to be virtually impossible thanks to the address space, etc.


> Also, I think statelessness is pointless. DHCPv6 is a fundamentally 
> stateful protocol. It's not just the lease database - clients and 
> servers also keep track of IAs, server IDs, client IDs, DUIDs. Even if 
> you make the address calculation stateless, to show value you'll need 
> to show whether this scheme works when you swap out servers. If it 
> this scheme doesn't work when you swap servers, then there's really no 
> point in making the address calculation stateless, since you need to 
> share state anyway.

Swap == replace the server with a "cloned" one (same IPv6 address, and Server DUID)?

or...?



> More in general. Whether you continue work on this document is to you, 
> but I'll point out that Bernie has stated multiple times that he wants 
> to see people support this draft, not just "not object to it". I don't 
> see much in the way of support today. As far as I'm concerned, you may 
> be able to address the issues that I list above and remove some of the 
> objections, but I doubt you'll be able to convince me personally that 
> this scheme has value and turn me into supporter.

Part of that seems to have to do with how things work if you swap the server. I can give that a try (if you stay open to change yur mind if that makes sense).

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