]> git.ipfire.org Git - thirdparty/bind9.git/commit
Port the long TCP stream test to Python
authorŠtěpán Balážik <stepan@isc.org>
Sat, 25 Apr 2026 14:13:59 +0000 (16:13 +0200)
committerŠtěpán Balážik <stepan@isc.org>
Thu, 16 Jul 2026 18:32:49 +0000 (20:32 +0200)
commit7fc6fd2e60653c8fd59408abc2b86f9bd3f1dcbf
tree3128551d6c920129318fdafb3d11c9cf45d49d47
parent2d28572311a0522b915d0913612335ccfddca4a4
Port the long TCP stream test to Python

Previously, the packet.pl script was used to send the a series of frames
to named; this worked by accident as most of these were refused by the
kernel with EAGAIN. packet.pl prints a dot every 1000 packets, so this
slowed the script down and allowed some frames to get through.

Reimplement the test in Python: build the packet with dnspython, send
~6 MiB of data over TCP discarding all replies and then check if the
server is still alive.
bin/tests/system/tcp/1996-alloc_dnsbuf-crash-test.pkt [deleted file]
bin/tests/system/tcp/tests.sh [deleted file]
bin/tests/system/tcp/tests_sh_tcp.py [deleted file]
bin/tests/system/tcp/tests_tcp.py