Skip to content

Use a single local port for ditch.pl

Nicki Křížek requested to merge 4562-use-source-port-for-ditch-pl into main

The ditch.pl script is used to generate burst traffic without waiting for the responses. When running other tests in parallel, this can result in a ephemeral port clash, since the ditch.pl process closes the socket immediately. In rare occasions when the message ID also clashes with other tests' queries, it might result in an UnexpectedSource error from dnspython.

Use a dedicated port EXTRAPORT8 which is reserved for each test as a source port for the burst traffic.

Supersedes !8694

Closes #4562 (closed)

Edited by Nicki Křížek

Merge request reports