Bug 275265

Summary: When net.inet6.icmp6.nodeinfo=0 interfaces should not join NI multicast groups
Product: Base System Reporter: Sean Donelan <sean>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: New ---    
Severity: Affects Many People    
Priority: ---    
Version: 14.0-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Sean Donelan 2023-11-22 16:34:05 UTC
Created attachment 246500 [details]
patch

Incomplete bugfix 257709 - netinet6: Set net.inet6.icmp6.nodeinfo default to 0

When sysctl net.inet6.icmp6.nodeinfo=0, sys/netinet6/in6.6 (in6_update_ifa_join_mc) should not join experimental Node Information multicast groups (ff02::2:XXX and ff02::2:ffXX) or increase startup delay.

% sysctl net.inet6.icmp6.nodeinfo
net.inet6.icmp6.nodeinfo: 0
% ifmcstat
bge0:
        inet6 [...redacted..]%bge0 scopeid 0x1
        mldv2 flags=2<USEALLOW> rv 2 qi 125 qri 10 uri 3
                [...redacted...]
                group ff02::2:205f:1f4a%bge0 scopeid 0x1 mode exclude
                        mcast-macaddr 33:33:20:5f:1f:4a
                group ff02::2:ff20:5f1f%bge0 scopeid 0x1 mode exclude
                        mcast-macaddr 33:33:ff:20:5f:1f