Re: [dhcwg] [v6ops] SLAAC renum: Problem Statement & Operational workarounds

Owen DeLong <owen@delong.com> Thu, 31 October 2019 02:17 UTC

Return-Path: <owen@delong.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B15A6120115; Wed, 30 Oct 2019 19:17:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.998
X-Spam-Level:
X-Spam-Status: No, score=-6.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=delong.com
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 2htOvTDgxsEt; Wed, 30 Oct 2019 19:17:56 -0700 (PDT)
Received: from owen.delong.com (owen.delong.com [IPv6:2620:0:930::200:2]) by ietfa.amsl.com (Postfix) with ESMTP id 102E71200FE; Wed, 30 Oct 2019 19:17:53 -0700 (PDT)
Received: from [172.20.0.85] (rrcs-97-79-186-2.sw.biz.rr.com [97.79.186.2]) (authenticated bits=0) by owen.delong.com (8.15.2/8.15.2) with ESMTPSA id x9V28vT6013768 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 30 Oct 2019 19:09:01 -0700
DKIM-Filter: OpenDKIM Filter v2.11.0 owen.delong.com x9V28vT6013768
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delong.com; s=mail; t=1572487746; bh=0RTvFG2f7cvKOOwNW9uWRGB6I1uuPpmeYP9FXD1bvTk=; h=From:Subject:Date:In-Reply-To:Cc:To:References:From; b=iUgxNnJ5KeOY68xozzTHo6aNixdKGCXPwoB3drxpNizxfK9qLSQQKBe0iOaT8OM/0 JfIm2kzz27Bs85vANqsPjxz3GjuRiU543TrzFqwbQuTs+9Ssyn0Xa8Hx8MIAtt8G/l VHUCPObs1+q0Z6rs+cylZI6eAlBtzW+w4dJ2wnrs=
From: Owen DeLong <owen@delong.com>
Message-Id: <0CF14BE1-F12F-4BB8-937F-ED513D370316@delong.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_081C5415-863F-400D-B6C9-4D2BC6D4EC9A"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
Date: Wed, 30 Oct 2019 19:08:56 -0700
In-Reply-To: <MWHPR1101MB22883C9D6880B84F103F884DCF630@MWHPR1101MB2288.namprd11.prod.outlook.com>
Cc: Ted Lemon <mellon@fugue.com>, Bud Millwood <budm@weird-solutions.com>, "dhcwg@ietf.org" <dhcwg@ietf.org>, IPv6 Operations <v6ops@ietf.org>
To: "Bernie Volz (volz)" <volz@cisco.com>
References: <MWHPR1101MB2288616D545F3DAD1D1734A1CF600@MWHPR1101MB2288.namprd11.prod.outlook.com> <CAOpJ=k06SRAHR7S+UmvFu=zvyk8j_uica2gdbBij+5pr+Jykww@mail.gmail.com> <C0A66DA1-29DE-456A-934D-7ECC07575336@cisco.com> <8755B40E-4075-4AAC-BF59-19B6DF9BA6D1@cisco.com> <B23EE439-1509-43FB-9813-F330117DBF42@fugue.com> <CAOpJ=k25ML8Z0_QRN8yoYdXut=tsZBwtBZEstceT45csb1Aunw@mail.gmail.com> <E8D9F8C2-C4C1-44CC-AB06-87A3461B704A@fugue.com> <A72A93B2-B947-4365-A811-50D8908B01EA@cisco.com> <F2F145F7-E678-48C9-A765-BD2D22F793EE@delong.com> <MWHPR1101MB22883C9D6880B84F103F884DCF630@MWHPR1101MB2288.namprd11.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.8)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (owen.delong.com [192.159.10.2]); Wed, 30 Oct 2019 19:09:06 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/O7u9-50QmRgNVBBTjLin9cVFY30>
Subject: Re: [dhcwg] [v6ops] SLAAC renum: Problem Statement & Operational workarounds
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Thu, 31 Oct 2019 02:17:59 -0000


> On Oct 30, 2019, at 6:48 PM, Bernie Volz (volz) <volz@cisco.com> wrote:
> 
> Owen:
>  
> “The CPU should write the set of received prefixes and their expected expiration times (preferred, valid) to persistent storage. The CPU should update this when a packet making a change to these timers is received. It should make every effort to deprecate prefixes it cannot renew from the links where it previously advertised them.”

Argh… That should read CPE, not CPU.
 
> I fully agree with that. That is the best and most complete solution. No disagreement there.
>  
> I was just trying to come up with something that could help in cases where this was not reasonable.

Such as? I cannot fathom a case where this isn’t reasonable. All CPE has non-volatile memory for storing settings. We’re talking about adding 24 octets per prefix and unlikely more than 3 prefixes per interface. Assuming no more than 4 (routed) interfaces on your basic home gateway, that’s a maximum of 12 prefixes for a total of 288 octets of storage.
 
> Note that it is technically a bit more than just write to storage as a clock is also needed to know whether the prefix needs to be deprecated or not. Perhaps time can come from the network or the device can just deprecate regardless of time if the new prefix is different when it reboots?

Nope… It isn’t…. The clock is an existing function of the CPE. All you need to write is the expected expiration time. (Current clock + prefix timer) to the non-volatile storage. You don’t need to count down the timer values.

The clock can be internal or synchronized to NTP or some other time service, but virtually every CPE already has an internal clock, so there’s no additional requirement here. In fact, the CPE _HAS_ to have a clock already to know when prefixes time out without a reboot or flash renumbering event.

Owen

>  
> Bernie
>  
> From: Owen DeLong <owen@delong.com <mailto:owen@delong.com>> 
> Sent: Wednesday, October 30, 2019 9:39 PM
> To: Bernie Volz (volz) <volz@cisco.com <mailto:volz@cisco.com>>
> Cc: Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>>; Bud Millwood <budm@weird-solutions.com <mailto:budm@weird-solutions.com>>; dhcwg@ietf.org <mailto:dhcwg@ietf.org>; IPv6 Operations <v6ops@ietf.org <mailto:v6ops@ietf.org>>
> Subject: Re: [v6ops] [dhcwg] SLAAC renum: Problem Statement & Operational workarounds
>  
>  
> 
> 
> On Oct 30, 2019, at 5:53 PM, Bernie Volz (volz) <volz@cisco.com <mailto:volz@cisco.com>> wrote:
>  
> Mark Smith on v6ops ml wrote: 
>  
> “I think Ole observed that this is contrary to what the PD prefix's Valid Lifetime said would be the case. The ISP supplied a PD Prefix with a Valid Lifetime of X seconds, and then broke that promise by abruptly changing addressing before X seconds. ISPs should be expected to live up to their Valid Lifetime promises.”
>  
> Sure, but in the real world, there is an entire class of ISPs that have repeatedly demonstrated utter and near complete disregard for such niceties as promises to customers (e.g. most major eyeball ISPs in the US at a minimum), so having CPE behavior that accommodates this fact in favor of the user will likely lead to a better user experience than stomping or feet and insisting that ISPs behave properly.
> 
> 
> And it would be worth better understanding exactly what happens in these situations (perhaps it was covered earlier but I missed or lost that)  ... if the Prefix configuration really is radically changed, even the SP dhcp server may be unable to assist.
>  
> With what is being proposed, the SP DHCP server doesn’t need to assist. The CPU should write the set of received prefixes and their expected expiration times (preferred, valid) to persistent storage. The CPU should update this when a packet making a change to these timers is received. It should make every effort to deprecate prefixes it cannot renew from the links where it previously advertised them.
>  
> This doesn’t require anything special on the SP side.
>  
> Owen
> 
> 
>  
> - Bernie
> 
> On Oct 30, 2019, at 7:32 PM, Ted Lemon <mellon@fugue.com <mailto:mellon@fugue.com>> wrote:
> 
> On Oct 30, 2019, at 7:18 PM, Bud Millwood <budm@weird-solutions.com <mailto:budm@weird-solutions.com>> wrote:
> It's not so much about the lifetime of the prefix as about putting two
> prefixes in a reply to a request, right? And any CPE that can't handle
> that gracefully gets hosed. I agree that providers of course need to
> test this feature, and a server side configuration makes that
> possible. Also, I'm all for firmware upgrades, but requiring it to fix
> a hosed CPE is could be a big issue.
>  
> The thing is, if they can’t handle a two-PD response, they are out of spec.  This is already allowed in the RFC.
>  
> Granted, there may be plenty of CPEs that won’t handle this correctly.   If they can be bricked by a message with two PDs, then bricking them is the right thing to do, because that’s a zero-day vulnerability wide open on the customer network.
>  
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org <mailto:v6ops@ietf.org>
> https://www.ietf.org/mailman/listinfo/v6ops <https://www.ietf.org/mailman/listinfo/v6ops>