]> 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>
Sat, 25 Apr 2026 18:28:02 +0000 (20:28 +0200)
commit561e443daf8f83c91be115f6828e277708f694ff
treeaf78d9c25ebc377da2af95eb15a20e50f8ba1c08
parent236fb2cb3bc5316678c578776d46e2d599864512
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 donw 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