Date: Wed, 29 May 2024 19:16:27 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 245103] IPv6: update v6 temporary address lifetime according to rfc4941bis Message-ID: <bug-245103-99-zrHGWzCgAj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245103-99@https.bugs.freebsd.org/bugzilla/> References: <bug-245103-99@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245103 --- Comment #16 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> --- (In reply to Kurt Jaeger from comment #15) I am testing the patch on my 15-CURRENT build for 10+ months. At the moment= it is FreeBSD 15.0-CURRENT #4 main-n270125-050555e12978-dirty from Mon May 13 18:30:49 CEST 2024. I see no problems, at least with timers set: net.inet6.ip6.temppltime: 86400 and net.inet6.ip6.tempvltime: 172800. After changing the timers to values: net.inet6.ip6.temppltime: 86400 -> 3000 net.inet6.ip6.tempvltime: 172800 -> 6000 and restarting netif service ifconfig displays: bge0: flags=3D1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metr= ic 0 mtu 1500 (....) inet6 2a02:xxxx:xxxx:xxxx:df98:c3a3:d688:c5f2 prefixlen 64 autoconf temporary pltime 2835 vltime 6000 After one hour: inet6 2a02:xxxx:xxxx:xxxx:df98:c3a3:d688:c5f2 prefixlen 64 deprecat= ed autoconf temporary pltime 0 vltime 2735 inet6 2a02:xxxx:xxxx:xxxx:80cb:a5c:acd:847f prefixlen 64 autoconf temporary pltime 2571 vltime 5571 After next hour: inet6 2a02:xxxx:xxxx:xxxx:df98:c3a3:d688:c5f2 prefixlen 64 deprecat= ed autoconf temporary pltime 0 vltime 191 inet6 2a02:xxxx:xxxx:xxxx:80cb:a5c:acd:847f prefixlen 64 deprecated autoconf temporary pltime 27 vltime 3027 inet6 2a02:xxxx:xxxx:xxxx:5f7b:192a:1644:b288 prefixlen 64 autoconf temporary pltime 2835 vltime 6000 a few minutes later: inet6 2a02:xxxx:xxxx:xxxx:80cb:a5c:acd:847f prefixlen 64 deprecated autoconf temporary pltime 27 vltime 3027 inet6 2a02:xxxx:xxxx:xxxx:5f7b:192a:1644:b288 prefixlen 64 autoconf temporary pltime 2835 vltime 6000 So with this patch applied, the depraciation and removal of temporary addre= sses seem to work correctly. The -L option for ifconfig doesn't seem change anything on unpatched stable= /14 either. So the regression was not introduced by Fernando's patch. The ndp timers look strange indeed, starting at 1 day in a few seconds they decrease to seconds, then expire and after renewal, the story repeats. Free= BSD stable/14 with static IPv6 address, without Fernando's patch applied behave= s in the same way so I dont't blame this patch for NDP breakage. Perhaps the transition to netlink introduced a flaw similar to that seen in bug 277063 = or mayby it was broken even earlier ? --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245103-99-zrHGWzCgAj>