]> git.ipfire.org Git - thirdparty/bind9.git/commit
Added TCP high-water statistics variable
authorDiego Fronza <diego@isc.org>
Tue, 5 Nov 2019 20:48:47 +0000 (17:48 -0300)
committerOndřej Surý <ondrej@sury.org>
Wed, 6 Nov 2019 10:26:22 +0000 (11:26 +0100)
commitd5cc3ed3813723ee745b3329abace0b4202fe171
tree33b61fa474edfa6288943c8d5fcaaa2581f4b3d1
parentfaf3cbe62d3e5dfd2241eca18e4822411c0db309
Added TCP high-water statistics variable

This variable will report the maximum number of simultaneous tcp clients
that BIND has served while running.

It can be verified by running rndc status, then inspect "tcp high-water:
count", or by generating statistics file, rndc stats, then inspect the
line with "TCP connection high-water" text.

The tcp-highwater variable is atomically updated based on an existing
tcp-quota system handled in ns/client.c.

(cherry picked from commit 66fe8627de2c8488b7808c7b342e6ceb51f65414)
bin/named/server.c
bin/named/statschannel.c
lib/ns/client.c
lib/ns/include/ns/stats.h