]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix tcp-highwater initial value
authorDiego Fronza <diego@isc.org>
Fri, 22 Nov 2019 21:34:50 +0000 (18:34 -0300)
committerEvan Hunt <each@isc.org>
Thu, 12 Dec 2019 19:23:10 +0000 (11:23 -0800)
commitead7b3dc539f5edc867a4123a1a189364fcfe0df
treee0885547711d64e82a2fc1da8701259ef51ee8a3
parent74082abba0af1da6df8f4c576e41eda3de8343d6
Fix tcp-highwater initial value

During BIND startup it scans for network interfaces available, in this
process it ensures that for every interface it will bind and listen to,
at least one socket will be always available accepting connections on
that interface, this way avoiding some DOS attacks that could exploit
tcp quota on some interface and make others unavailable.

In the previous network implementation this initial "reserved" tcp-quota
used by BIND was already been added to the tcp-highwater stats, but with
the new network code it was necesary to add this workaround to ensure
tcp-highwater stats reflect the tcp-quota used by BIND after startup.
lib/ns/interfacemgr.c