]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: Fix nsupdate hang when processing a large update
authorMatthijs Mekking <matthijs@isc.org>
Thu, 5 Dec 2024 15:13:45 +0000 (15:13 +0000)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 5 Dec 2024 15:13:45 +0000 (15:13 +0000)
To mitigate DNS flood attacks over a single TCP connection, we throttle the connection when the other side does not read the data. Throttling should only occur on server-side sockets, but erroneously also happened for nsupdate, which acts as a client. When nsupdate started throttling the connection, it never attempts to read again. This has been fixed.

Closes #4910

Merge branch '4910-nsupdate-hangs-when-processing-large-update' into 'main'

See merge request isc-projects/bind9!9709


Trivial merge