127/8 weirdness & entertainment for fun & profit.
Bjørn Mork
bjorn at mork.no
Wed Jul 9 09:28:58 UTC 2025
Crist Clark <cjc+bind-users at pumpky.net> writes:
> Note that is all Linux-specific behavior. BSD-derived stacks are generally
> different, e.g. FreeBSD and MacOS. They do not respond to addresses that
> aren’t explicitly assigned to an interface. You cannot bind an address not
> assigned to an interface.
I know nothing about any BSDs, but according the ip(4) man page found on
the Internet, the IP_BINDANY socket option should give you the same
behaviour on FreeBSD as the Linux IP_FREEBIND option.
And this option is used by the BIND9 lib/isc/netmgr/socket.c code in the
socket_freebind() implementation, if it is defined.
Bjørn
More information about the bind-users
mailing list