]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Don't enable REUSEADDR on outgoing UDP sockets
authorOndřej Surý <ondrej@isc.org>
Wed, 2 Oct 2024 12:16:03 +0000 (12:16 +0000)
committerOndřej Surý <ondrej@isc.org>
Wed, 2 Oct 2024 12:16:03 +0000 (12:16 +0000)
The outgoing UDP sockets enabled `SO_REUSEADDR` that allows sharing of the UDP sockets, but with one big caveat - the socket that was opened the last would get all traffic.  The dispatch code would ignore the invalid responses in the dns_dispatch, but this could lead to unexpected results.

Merge branch 'ondrej/fix-outgoing-UDP-port-selection' into 'main'

See merge request isc-projects/bind9!9569


Trivial merge