[Bug 285545] netinet6: binding to an inet6 anycast address should be permitted

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285545

--- Comment #1 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=ca4b046105f640ebcbdec7cb74a9eecb963264a6

commit ca4b046105f640ebcbdec7cb74a9eecb963264a6
Author:     Lexi Winter <[email protected]>
AuthorDate: 2025-04-24 00:48:39 +0000
Commit:     Lexi Winter <[email protected]>
CommitDate: 2025-04-24 00:50:38 +0000

    netinet6: allow binding to anycast addresses

    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
    Reviewed by:    des, adrian
    Approved by:    des (mentor)
    Differential Revision:  https://reviews.freebsd.org/D49905

 sbin/ifconfig/ifconfig.8 | 21 +++++++++++++++------
 sys/netinet6/in6_pcb.c   |  9 ++++-----
 2 files changed, 19 insertions(+), 11 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.