]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commitfa56e0d8b10cbfa76f4e393cbe0ddc5237e73475
treea0ef17172c4b166d8bfdb82fbbfa9902bd872f07
parent80a5745a1f84fcc9d22165c5f6be5b38dadb2ea5
parentaa24b77d8ba9ba2c55b71f18f54e19f71a200491
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

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

See merge request isc-projects/bind9!9709