Files
bind9/lib/isc
Ondřej Surý 4b4c550cd8 Don't enable SO_REUSEADDR on outgoing UDP sockets
Currently, the outgoing UDP sockets have enabled
SO_REUSEADDR (SO_REUSEPORT on BSDs) which allows multiple UDP sockets to
bind to the same address+port.  There's one caveat though - only a
single (the last one) socket is going to receive all the incoming
traffic.  This in turn could lead to incoming DNS message matching to
invalid dns_dispatch and getting dropped.

Disable setting the SO_REUSEADDR on the outgoing UDP sockets.  This
needs to be done explicitly because `uv_udp_open()` silently enables the
option on the socket.

(cherry picked from commit eec30c33c2)
2024-10-02 12:16:58 +00:00
..
2023-08-31 22:08:35 +02:00
2023-08-21 18:39:53 +02:00
2024-05-17 16:03:21 -07:00
2023-12-06 15:15:24 +02:00
2024-08-22 10:17:08 +00:00
2023-08-31 22:08:35 +02:00
2023-09-16 07:32:17 +02:00