[Bug 245103] IPv6: update v6 temporary address lifetime according to rfc4941bis

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 25 Sep 2023 08:12:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245103

--- Comment #11 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
(In reply to Zhenlei Huang from comment #9)
Yes, and we have the patch[1] from one of the authors of the RFC 8981. The
patch[1] 
- reduces the Valid Lifetime from 1 week to 2 days,
- limits the number of concurrent temporary addresses per prefix to 2,
- deprecates the use of MD5 as the algorithm for computing the temporary IIDs,
- introduces using different interface-ids for each temporary address.

RFC 8981 also "Removes the recommendation that temporary addresses be disabled
by default. This is in line with BCP 188 ([RFC7258]) and also with BCP 204
([RFC7934]).", so perhaps also "net.inet6.ip6.use_tempaddr" should be bumped to
"1"" Leaving "net.inet6.ip6.prefer_tempaddr" at "0" (as is) should not
introduce any breakage. 

Perhaps Fernando's patch could be put on the review on Phabricator and
proceeded further?

[1] https://lists.freebsd.org/pipermail/freebsd-net/2020-April/055689.html

-- 
You are receiving this mail because:
You are the assignee for the bug.