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

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Apr 2025 00:52:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285545

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit ca4b046105f640ebcbdec7cb74a9eecb963264a6
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-04-24 00:48:39 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
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.