]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: Implement seamless outgoing TCP connection reuse
authorOndřej Surý <ondrej@isc.org>
Tue, 14 Apr 2026 17:29:54 +0000 (19:29 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 14 Apr 2026 17:29:54 +0000 (19:29 +0200)
The resolver can and will reuse outgoing TCP connections to the same host, as recommended by RFC 7766. This prevents a whole class of attacks that abuse the fact that establishing a TCP connection is expensive and it is fairly easy to deplete the outgoing TCP ports by putting them into TIME_WAIT state.

The number of pipelined queries per connection is capped at 256 to limit the impact of a connection drop.

Merge branch '3741-reuse-tcp-connections' into 'main'

See merge request isc-projects/bind9!11845


Trivial merge