Tuesday, October 02, 2018

Re: IPv6 Multicast Listener Discovery - Listing and Disabling Group Membership

On 2018-10-01, Aham Brahmasmi <aham.brahmasmi@gmx.com> wrote:
> 2) How to disable an interface from joining IPv6 Node Information
> multicast group (RFC 4620)?
> In sys/netinet6/in6.c, the function in6_update_ifa contains the
> following lines:
>
> /*
> * join node information group address
> */
> if (in6_nigroup(ifp, hostname, hostnamelen, &mltaddr) == 0) {
> imm = in6_joingroup(ifp, &mltaddr.sin6_addr, &error);
> if (!imm) {
> /* XXX not very fatal, go on... */
> } else {
> LIST_INSERT_HEAD(&ia6->ia6_memberships,
> imm, i6mm_chain);
> }
> }

Not 100% sure but I think this may have been missed when support for
RFC 4620 was removed from the kernel in 2014

https://github.com/openbsd/src/commit/43f29087ef2fc515510c43f9dd706f7bbd9e39b7

No comments:

Post a Comment