]> git.ipfire.org Git - thirdparty/bind9.git/commit
Explicitly enable IPV6_V6ONLY on the netmgr sockets
authorOndřej Surý <ondrej@isc.org>
Thu, 13 Jan 2022 12:24:55 +0000 (13:24 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 17 Jan 2022 21:16:27 +0000 (22:16 +0100)
commitb5e086257db74cdc63d245a3fac6b13ab05aad3c
tree56a5985025d472020eaf9302b36c437b30cfd879
parent55a0d0880adf4de10656b095ff18f8e0b806471f
Explicitly enable IPV6_V6ONLY on the netmgr sockets

Some operating systems (OpenBSD and DragonFly BSD) don't restrict the
IPv6 sockets to sending and receiving IPv6 packets only.  Explicitly
enable the IPV6_V6ONLY socket option on the IPv6 sockets to prevent
failures from using the IPv4-mapped IPv6 address.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/tlsdns.c
lib/isc/netmgr/udp.c
lib/ns/interfacemgr.c