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)
Mar 12 2024, 3:55 AM
Unknown Object (File)
Mar 12 2024, 3:55 AM
Unknown Object (File)
Mar 12 2024, 3:51 AM
Unknown Object (File)
Mar 12 2024, 3:51 AM
Unknown Object (File)
Mar 8 2024, 4:45 AM
Unknown Object (File)
Jan 24 2024, 2:54 AM
Unknown Object (File)
Jan 17 2024, 2:20 PM
Unknown Object (File)
Jan 7 2024, 12:58 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.