Re: rfc4941bis: Change to Valid Lifetime of temporary addresses (take two)

Fernando Gont <fgont@si6networks.com> Thu, 20 February 2020 17:33 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 0CF501201A3 for <ipv6@ietfa.amsl.com>; Thu, 20 Feb 2020 09:33:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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 Pc5LYhVtrP0X for <ipv6@ietfa.amsl.com>; Thu, 20 Feb 2020 09:33:26 -0800 (PST)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61FE812012E for <6man@ietf.org>; Thu, 20 Feb 2020 09:33:26 -0800 (PST)
Received: from [192.168.0.10] (unknown [181.45.84.85]) (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 28B7E86B9E; Thu, 20 Feb 2020 18:33:19 +0100 (CET)
Subject: Re: rfc4941bis: Change to Valid Lifetime of temporary addresses (take two)
To: "Curtis, Bruce" <bruce.curtis@ndsu.edu>
Cc: Lorenzo Colitti <lorenzo@google.com>, "6man@ietf.org" <6man@ietf.org>
References: <9cb65947-f634-e250-bfdc-134cfa2c91e9@si6networks.com> <eae18699-6141-e18c-783e-1ecab18733e5@si6networks.com> <CAKD1Yr1bZwz6gO1OUR16gubYd+k5EGjO+xqargy-pM6ZVMk8dw@mail.gmail.com> <b9e49215-ac91-ccdc-a518-7282d9571e69@si6networks.com> <1F788A35-26D7-4683-8601-338477B4FBBF@ndus.edu>
From: Fernando Gont <fgont@si6networks.com>
Message-ID: <8741f3f7-2963-60c1-c868-31a63f1280ae@si6networks.com>
Date: Thu, 20 Feb 2020 14:33:09 -0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <1F788A35-26D7-4683-8601-338477B4FBBF@ndus.edu>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/kFFQnJw8kBSy1LzDlb-f5OfiFOU>
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, 20 Feb 2020 17:33:29 -0000

Hello, Bruce,

On 20/2/20 14:25, Curtis, Bruce wrote:
> 
> 
>> On Feb 15, 2020, at 12:06 PM, Fernando Gont <fgont@si6networks.com 
>> <mailto:fgont@si6networks.com>> wrote:
>>
>> On 11/2/20 18:58, Lorenzo Colitti wrote:
>>> I think this change is an improvement. Keeping arond 5 addresses that 
>>> are not useful seems like a waste of network capacity. An application 
>>> that is not resistant to connection disruption, and *really* wants to 
>>> use long-lived sessions, should probably be using PREFER_SRC_PUBLIC 
>>> anyway.
>>
>> If the addresses are not used, they will not waste network resources.
>>
>> The only difference between short and long valid lifetimes is whether 
>> ongoing ling-lived connections will be aborted or not.
>>
>> e.g., with RFC4941, a host will typically have one preferred address, 
>> and 6 unpreferred (but valid) addresses. If there are no long-lived 
>> connections, the unpreferred addresses will remain configured, but 
>> will not be employed to send or receive packets. Unless I'm missing 
>> something, they wouldn't seem to be wasting network resources. OTOH, 
>> if there *are* ongoing long-lived connections, these addresses would 
>> be actively used, and require effort from the network.
> 
> 
> There are at least one scenario where unpreferred (but valid) addresses 
> can use network resources.
> 
>   In at least one vendor’s implementation of IP Source Guard closet 
> switches keep track of active IP addresses by periodically sending 
> Neighbor Solicitation packets.   So even though there might not be any 
> active connections using an IPv6 address the closet switch will still 
> have info about that IPv6 address (which port it is on and which MAC 
> address is associated with that IPv6 address).  The IP Source Guard 
> feature from this vendor does also include the capability of setting a 
> limit on the number of IPv6 addresses per port.
> 
> In at least one vendor’s wireless solution the wireless controller 
> tracks IPv6 Neighbor status in a cache and uses that cache to act as a 
> proxy and reply to Neighbor Solicitation requests with a unicast packet 
> (and dropping the multicast Neighbor Solicitation request so no wireless 
> clients see the Neighbor Solicitation request).  But this particular 
> wireless controller also limits each client to 8 IPv6 addresses. "When 
> the ninth IPv6 address is encountered, the controller removes the oldest 
> stale entry and accommodates the latest one.”   Although unpreferred 
> (but valid) addresses might not use resources in this vendors 
> implementation it is possible that other vendors might implement IPv6 
> Neighbor Solicitation suppression and proxy in a way that would result 
> in unpreferred (but valid) IPv6 numbers using resources.

Thanks a lot for this analysis!

This, together with other arguments made on the list seem to favor 
reducing both the Valid and Preferred Lifetimes.

I will send a stand-alone email to the list just to double-check once 
more before applying the change.

Thanks a lot!

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