]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] fix: usr: Fix nsupdate hang when processing a large update
authorMatthijs Mekking <matthijs@isc.org>
Fri, 6 Dec 2024 09:27:10 +0000 (09:27 +0000)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 6 Dec 2024 09:27:10 +0000 (09:27 +0000)
commit9a0588f7cf2df957462cdb4571264da146fbb2c3
tree3340e43dd5139f0f0c1b987ab7c82bc20fc23fdf
parentbf2f4d4aad8260506406c86e5631eb103b7bfdc5
parent90fbe91997ac5ffe9f61979339d0669bd7320aa0
[9.18] fix: usr: Fix nsupdate hang when processing a large update

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

Backport of MR !9709

Merge branch 'backport-4910-nsupdate-hangs-when-processing-large-update-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!9835