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

Fernando Gont <fgont@si6networks.com> Tue, 14 April 2015 05:50 UTC

Return-Path: <fgont@si6networks.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 242A61B33DD for <dhcwg@ietfa.amsl.com>; Mon, 13 Apr 2015 22:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.39
X-Spam-Level: **
X-Spam-Status: No, score=2.39 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DATE_IN_PAST_03_06=1.592, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=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 am56jJD5VUxd for <dhcwg@ietfa.amsl.com>; Mon, 13 Apr 2015 22:50:25 -0700 (PDT)
Received: from web01.jbserver.net (web01.jbserver.net [IPv6:2a00:8240:6:a::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DCAF11B33DB for <dhcwg@ietf.org>; Mon, 13 Apr 2015 22:50:24 -0700 (PDT)
Received: from [186.134.14.206] (helo=[192.168.123.128]) by web01.jbserver.net with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from <fgont@si6networks.com>) id 1Yhtjp-0002c8-2e; Tue, 14 Apr 2015 07:50:21 +0200
Message-ID: <552C679E.4020305@si6networks.com>
Date: Mon, 13 Apr 2015 22:04:30 -0300
From: Fernando Gont <fgont@si6networks.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Lorenzo Colitti <lorenzo@google.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>
In-Reply-To: <CAKD1Yr3M0gbbbE6a=DfT1SW7jeXoHX1EQMbDagtF-+n13sAQ0w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/iVIdsy9wrOAXWhWPuw2smBDEqIY>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, "Bernie Volz (volz)" <volz@cisco.com>
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 05:50:27 -0000

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