Re: [v6ops] Revision of the SLAAC/renum I-D (Fwd: New Version Notification for draft-gont-6man-slaac-renum-01.txt)

Fernando Gont <fgont@si6networks.com> Thu, 21 February 2019 07:22 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 4F711126C01; Wed, 20 Feb 2019 23:22:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 HvyLUayroEhi; Wed, 20 Feb 2019 23:22:10 -0800 (PST)
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 39550124C04; Wed, 20 Feb 2019 23:22:09 -0800 (PST)
Received: from [192.168.3.66] (unknown [186.137.76.21]) (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 6D4D7843B8; Thu, 21 Feb 2019 08:22:05 +0100 (CET)
Subject: Re: [v6ops] Revision of the SLAAC/renum I-D (Fwd: New Version Notification for draft-gont-6man-slaac-renum-01.txt)
To: Jen Linkova <furry13@gmail.com>
Cc: "6man@ietf.org" <6man@ietf.org>, IPv6 Operations <v6ops@ietf.org>, "Jan Zorz @ go6.si" <jan@go6.si>
References: <155053352190.25856.12031845488827430669.idtracker@ietfa.amsl.com> <fe9eecc0-b41a-53c5-5e17-7f8d732cb7cf@si6networks.com> <CAFU7BARkjRQ3k1wE7SQysf8+_AageKYd9BxC9-J89UFrB2mGwg@mail.gmail.com> <f0d9e07d-b065-c300-cd44-9629ccd7dbb3@si6networks.com> <CAFU7BARCtboC1_sv-6=e=Hanzrrvmwg096ZFFp5t4exYSqhPLg@mail.gmail.com>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Autocrypt: addr=fgont@si6networks.com; prefer-encrypt=mutual; keydata= mQINBE5so2gBEACzBQBLUy8nzgAzSZn6ViXT6TmZBFNYNqTpPRvTVtUqF6+tkI+IEd9N2E8p pXUXCd0W4dkxz6o7pagnK63m4QSueggvp881RVVHOF8oTSHOdnGxLfLeLNJFKE1FOutU3vod GK/wG/Fwzkv9MebdXpMlLV8nnJuAt66XGl/lU1JrNfrKO4SoYQi4TsB/waUQcygh7OR/PEO0 EttiU8kZUbZNv58WH+PAj/rdZCrgUSiGXiWUQQKShqKnJxLuAcTcg5YRwL8se/V6ciW0QR9i /sr52gSmLLbW5N3hAoO+nv1V/9SjJAUvzXu43k8sua/XlCXkqU7uLj41CRR72JeUZ4DQsYfP LfNPC98ZGTVxbWbFtLXxpzzDDT8i3uo7w1LJ2Ij/d5ezcARqw01HGljWWxnidUrjbTpxkJ9X EllcsH94mer728j/HKzC9OcTuz6WUBP3Crgl6Q47gY5ZIiF0lsmd9/wxbaq5NiJ+lGuBRZrD v0dQx9KmyI0/pH2AF8cW897/6ypvcyD/1/11CJcN+uAGIrklwJlVpRSbKbFtGC6In592lhu7 wnK8cgyP5cTU+vva9+g6P1wehi4bylXdlKc6mMphbtSA+T3WBNP557+mh3L62l4pGaEGidcZ DLYT2Ud18eAJmxU3HnM8P3iZZgeoK7oqgb53/eg96vkONXNIOwARAQABtCVGZXJuYW5kbyBH b250IDxmZ29udEBzaTZuZXR3b3Jrcy5jb20+iQJBBBMBAgArAhsjBQkSzAMABgsJCAcDAgYV CAIJCgsEFgIDAQIeAQIXgAUCTmylpQIZAQAKCRCuJQ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b-be78-4d41-4475c54b533a@si6networks.com>
Date: Thu, 21 Feb 2019 04:21:56 -0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <CAFU7BARCtboC1_sv-6=e=Hanzrrvmwg096ZFFp5t4exYSqhPLg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/LNvRdIHNKMxMUitVCT7236MoFIs>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 21 Feb 2019 07:22:14 -0000

On 21/2/19 01:25, Jen Linkova wrote:
> On Wed, Feb 20, 2019 at 8:49 PM Fernando Gont <fgont@si6networks.com> wrote:
>>> - (sorry if I missed another thread on it - I'm catching up with
>>> emails slowly): any reason for setting Valid Lifetime to 0 as well? It
>>> looks to me that just deprecating the prefix would be enough..What
>>> would be a benefit of completely removing an address already
>>> deprecated?
>>
>> You mean in the host-side algorithm specified in Section 5.1.3? The
>> benefit would be garbage collection. -- another alternative would be,
>> instead removing the addresses, reduce the current Valid Lifetime -- say
>> to 10 minutes or whatever, so that the stale addresses do not stay
>> around forever. (if SLAAC was using sensible timer values, you wouldn't
>> need these... but you probably don't want stale addresses to stay around
>> for one months, as per the default "Valid Lifetime").
> 
> Do we have any data on how much pain this is causing? 

Not that I know of. Problem is: you still have v4, and if v6 fails, HE
makes it work over v4.


> I  mean those
> addresses are not staying forever,
> just one month  in the worst case scenario. So they will disappear eventually.

Many stacks limit the number of prefixes they will use for address
configuration. Some limit such number to 16. That means that if you
experience crash-and-reboot 16 during the same month, your host may fail
to configure addresses for the fresh prefix.



> On the other hand if I have an tcp session opened - why do we need to
> kill it in 10 mins?

Not sure what you mean....



> I agree that default times should be more reasonable, so I agree that
> defaults should be changed and depend on the
> AdvDefaultLifetime.
> 
> Speaking of exact numbers - how did you come up with values? Just
> curious if the is any background for choosing them...

The only one you really choose is MaxRtrAdvInterval. The rest are set as
a function of it.

For the most part, I picked MaxRtrAdvInterval such that there were more
ferquent RAs, but in the worst-case scenario, never more than 1 every
1.5-2 minutes. (trade-off beween responsiveness and not bothering the
network a lot, unnecessarily)



> 
>>> - "After normal processing of Router Advertisement messages, Router
>>>    Advertisements that contain at least one PIO MUST be processed as
>>>    follows" - I'd suggest you make it explicit that PIOs must of of
>>> the global scope. I did see CPEs including PIOs for fe80::/64 (and
>>> AFAIR such behavior is not explicitly prohibited);
>>
>> Item b) in Section 5.5.3 says:
>>     b)  If the prefix is the link-local prefix, silently ignore the
>>       Prefix Information option.
>>
>> albeit not with normative language. But, anyway, if you've seen CPEs
>> send them, we better make this explicit!
> 
> I must be blind, I can not see that sentence in the draft ;(


Sorry, that section is not in the draft, but in rfc4862.

Same text appears in Section 6.3.4 of RFC4861.



>> I've never seen a scenario where information actually needs to be split
>> among multiple RAs. I have a hard time thinking of filling up a whole RA.
> 
> Let's wait for the new shiny world of mPVD to come...

Same router, PIOs split over more than three RAs?




>>> -  as I've mentioned earlier, it would be nice not to break other
>>> scenarios while fixing DHCP-PD case. So what do you think about
>>> modifying the algorithm so the addresses are deprecated only if *all*
>>> routers the PIO has been received from stopped advertising it? Again,
>>> my point is that while proposed behavior *does* help in a single-homed
>>> residential case, it would be nice to keep in mind other cases and
>>> avoid breaking them;
>>
>> Yes, we should update the algorithm as you suggest.
>>
>> Thinking our loud: best thing would probably be that, in the case the
>> prefix has been advertised by multiple routers, it is dis-associated
>> with the prefix that ceased advertising it. Otherwise, you might end up
>> sending packets sourced from that prefix to the next-hop router that has
>> ceased advertising it.  That is, if multiple routers were advertising a
>> prefix, and one has ceased advertising it, you want packets sourced from
>> that prefix to use a next-hop router that keeps advertising the prefix.
> 
> So...it looks to me that the only change should be:
> - if a host supports prefix <> advertizing router mapping and supports
> the Rule 5.5:
>    --  deassociate prefix - next-hop if the given router stops advertizing it;
>    -- deprecate the prefix if there is no routers advertizing it;

In response to what?

I was thinking this would be an action by algorithm from 5.1.3 once the
prefix has been un-preferred.

If not, what would be the event that would trigger such dis-association?




> Then the default address selection takes care of selecting the right
> source address.
> No need for complex algorithm described in the draft (and potential
> implementation bugs).
> 
> If the host does not support Rule 5.5 + prefix<>next-hop mapping, this
> draft (PIO processing part) would not work for them anyway.
> 
> Combined with reduced default timers it should help significantly (at
> least for hosts and routers implementing this..)

With appropriate timers + modification to SAS you get the problem
solved. However, if you have multiple prefixes, and the source address
will flap among them. -- I'd try, to the extent that is possible, to
avoid that....


> 
>>> - the proposed changes say that PIOs MUST be processed as
>>> follows....and relies on hosts tracking prefix <> nexthop as per
>>> RFC8028...However RFC8028 (and RFC8504) uses  'SHOULD' ...so it seems
>>> to be inconsistency here..If a host does not implement RFC8029, all
>>> those MUST in the draft do not make much sense.
>>
>> That's a good point. I wonder if we should change the "MUST" to
>> "SHOULD", or whether we should stick to "MUST" with a rationale of "a
>> host that implements this standard MUST implement RFC8028 and MUST
>> process PIOs as follows..."
> 
> See above. All we need to do in terms of PIO processing by a host is
> to say 'host SHOULD refresh prefix-next-hop mapping while processing
> RAs' (which would mean 'remove all mappings for that next-hop if they
> are not in that RA you are processing') and 'host SHOULD deprecate
> addresses with no next-hops'.

This enforces a more strict requirement on RAs. i.e., PIOs can only be
sent in one RA. I'm not saying that's necessarily bad, but the reasons
for the algorithm in Section 5.1.3 is to allow PIOs to be split in at
most two RAs.



> Even if you say 'MUST' here (and explicitly state 'MUST implement
> RFC8028') it would only mean 'hosts MUST support a standard which says
> they SHOULD do smth' => effectively that requirement means 'SHOULD'.

Agreed.



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