]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add reproducer for BADCOOKIE resend loop
authorMatthijs Mekking <matthijs@isc.org>
Thu, 9 Apr 2026 09:32:07 +0000 (11:32 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 7 May 2026 11:21:59 +0000 (13:21 +0200)
commit8344a38d6bc72d3872b552b4cae0e0d8be4c3d4a
tree571093cb5f349497833ea1ac5f139a3c4832d422
parent694648e14b03e72d10b375989adef4820922feed
Add reproducer for BADCOOKIE resend loop

Run malicious server: resend_loop/ans3/ans.py

Start BIND: ns4

Send single query to test.example

The resolver will repeatedly resend queries until the fetch timeout
expires, resulting in resulting in thousands of qrysent while the quota
counter remains 0.

(cherry picked from commit 7eeb463bc58cbd71419aaf189d7829f2dfd8d055)
bin/tests/system/resend_loop/ans3/ans.py [new file with mode: 0644]
bin/tests/system/resend_loop/ns4/named.conf.j2 [new file with mode: 0644]
bin/tests/system/resend_loop/ns4/root.hint [new file with mode: 0644]
bin/tests/system/resend_loop/tests_resend_loop.py [new file with mode: 0644]