]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the mismatchtcp ans2 response server 12528/head
authorŠtěpán Balážik <stepan@isc.org>
Thu, 23 Jul 2026 20:49:16 +0000 (22:49 +0200)
committerŠtěpán Balážik <stepan@isc.org>
Wed, 12 Aug 2026 10:12:11 +0000 (10:12 +0000)
commiteb20c599b00bb5cbf81e468cb9e00343e48313be
tree8c0ec9ebb832da87a61461a10f6486e99bb68964
parent78bd1cc5afbf19764c75fb79b3d5fe0abf93909b
Refactor the mismatchtcp ans2 response server

Match the Kaminsky-spoof case declaratively with a QnameQtypeHandler
and a protocol check, replacing the imperative match and the UDP/TCP
branch.  TCP queries fall through to the normal zone answer, as before.

Assisted-by: Claude:claude-fable-5
bin/tests/system/mismatchtcp/ans2/ans.py