bind9/tests
Ondřej Surý eec30c33c2 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.
2024-10-02 12:15:53 +00:00
..
bench Use clang-format-19 to update formatting 2024-08-22 09:21:55 +02:00
dns Add the new record type WALLET (262) 2024-09-25 10:32:38 +00:00
include/tests Extend ISC_TEST_MAIN for debugging 2024-08-22 09:54:39 +10:00
irs Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:12:23 +02:00
isc Don't enable SO_REUSEADDR on outgoing UDP sockets 2024-10-02 12:15:53 +00:00
isccfg Add isc_log_createandusechannel() function to simplify usage 2024-08-20 12:50:39 +00:00
libtest Extend ISC_TEST_MAIN for debugging 2024-08-22 09:54:39 +10:00
ns Remove ns_query_init() cannot fail, remove the error paths 2024-07-03 09:05:51 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
unit-test-driver.sh.in Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00