Page MenuHomeFreeBSD

Fix mld6query(8) and add a new -g option
ClosedPublic

Authored by shurd on May 10 2018, 5:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 4:34 PM
Unknown Object (File)
Tue, Nov 12, 10:40 PM
Unknown Object (File)
Tue, Nov 12, 3:15 PM
Unknown Object (File)
Tue, Nov 12, 12:42 PM
Unknown Object (File)
Wed, Nov 6, 8:30 PM
Unknown Object (File)
Oct 18 2024, 4:15 AM
Unknown Object (File)
Oct 18 2024, 3:08 AM
Unknown Object (File)
Oct 4 2024, 5:50 AM
Subscribers

Details

Summary

The mld6query command relies on KAME behaviour which allows the
ipv6mr_multiaddr member of the request object in a IPV6_JOIN_GROUP
setsockopt() call to be INADDR6_ANY. The FreeBSD stack doesn't allow
this, so mld6query has been non-functional.

Also, add a -g option which sends a General Query (query INADDR6_ANY)

Test Plan

Ensure all message types function as expected

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Add ume since he's the last one to actually touch this code (14 years ago).

Leave the same group we joined.

This revision is now accepted and ready to land.May 10 2018, 5:38 PM
This revision was automatically updated to reflect the committed changes.