Page MenuHomeFreeBSD

netinet6: allow binding to anycast addresses
Needs RevisionPublic

Authored by ivy on Sat, Apr 19, 4:42 AM.
Tags
None
Referenced Files
F115010191: D49905.id.diff
Sat, Apr 19, 2:03 PM
F115009403: D49905.diff
Sat, Apr 19, 1:50 PM
F115004788: D49905.id153906.diff
Sat, Apr 19, 12:46 PM
F115004718: D49905.id153906.diff
Sat, Apr 19, 12:45 PM
F114998036: D49905.id.diff
Sat, Apr 19, 11:07 AM
Unknown Object (File)
Sat, Apr 19, 10:45 AM

Details

Reviewers
kevans
des
Group Reviewers
network
Summary

the restriction on sending packets from anycast source addresses was
removed in RFC4291, so there's no reason to forbid binding to such
addresses. this allows anycast services (e.g., DNS) to actually use
anycast addresses, which was previously impossible.

RFC4291 also removes the restriction that only routers may configure
anycast addresses; this was never enforced in code but was documented in
ifconfig.8. update ifconfig.8 to document both changes.

PR: 285545

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63587
Build 60471: arc lint + arc unit

Event Timeline

ivy requested review of this revision.Sat, Apr 19, 4:42 AM
des requested changes to this revision.Sat, Apr 19, 10:12 AM
des added inline comments.
sbin/ifconfig/ifconfig.8
31

it's nbd if you don't but try to remember to bump before pushing

452

We should probably add RFC 4291 (and RFC 3484 which is mentioned elsewhere in the page) to the “SEE ALSO” section. See tcp(4) or protocols(5) for examples of how to format the references.

456

overly verbose, “explicitly binds [a socket] to the address” is enough

This revision now requires changes to proceed.Sat, Apr 19, 10:12 AM