bind9/bin/tests/system/cookie
Ondřej Surý 2327277f90 Fail the fetch when a response fails the TSIG signature check
A response that failed the signature check with a missing or unexpected
TSIG used to set nextitem, so the resolver kept reading the dispatch for
another response.  When the response was truncated with the TSIG cut off
the end of the wire, no further response ever arrived and the fetch
stalled until resolver-query-timeout.

Treat an unauthenticated response like every other signature-check
failure and finish the fetch immediately.  A response carrying a missing
or bogus TSIG now yields SERVFAIL instead of being skipped in favour of
a later one; the cookie system test that fed a spoofed TSIG response is
updated to expect that.  The unauthenticated data is still never
returned.
2026-06-24 12:18:19 +02:00
..
ans9 Run custom servers as Python modules 2026-02-20 15:17:31 +01:00
ans10 Run custom servers as Python modules 2026-02-20 15:17:31 +01:00
ns1 Remove licensing header check for root.hint[s] 2026-04-28 15:37:10 +01:00
ns2 Remove license headers from test zone files 2026-03-31 17:57:58 +02:00
ns3 Remove licensing header check for root.hint[s] 2026-04-28 15:37:10 +01:00
ns4 Remove licensing header check for root.hint[s] 2026-04-28 15:37:10 +01:00
ns5 Remove licensing header check for root.hint[s] 2026-04-28 15:37:10 +01:00
ns6 Remove licensing header check for root.hint[s] 2026-04-28 15:37:10 +01:00
ns7 Remove license headers from test zone files 2026-03-31 17:57:58 +02:00
ns8 Remove license headers from test zone files 2026-03-31 17:57:58 +02:00
bad-cookie-aes.conf Remove license headers from named.conf test files 2026-03-31 17:57:58 +02:00
bad-cookie-badhex.conf Remove license headers from named.conf test files 2026-03-31 17:57:58 +02:00
bad-cookie-badsiphash24.conf Remove license headers from named.conf test files 2026-03-31 17:57:58 +02:00
bad-cookie-toolong.conf Remove license headers from named.conf test files 2026-03-31 17:57:58 +02:00
cookie_ans.py Remove workarounds for dnspython < 2.7.0 2026-05-21 11:52:56 +02:00
good-cookie-siphash24.conf Remove license headers from named.conf test files 2026-03-31 17:57:58 +02:00
tests.sh Fail the fetch when a response fails the TSIG signature check 2026-06-24 12:18:19 +02:00
tests_sh_cookie.py Remove compatibility hacks for dnspython<2.7.0 2026-01-21 16:07:31 +01:00