MINOR: ssl/show_fd: report some FDs as suspicious when possible
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Jan 2021 07:53:50 +0000 (08:53 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Jan 2021 08:09:05 +0000 (09:09 +0100)
commit4bd5d630ace94ee6b4cbb7375ec75f50a927a826
treecbf1c26cca5f941515b7a78308653f2c9a84d5ae
parentdacfde4ba42e3a13dd5b13b7df7a37db06d702a6
MINOR: ssl/show_fd: report some FDs as suspicious when possible

If a subscriber's tasklet was called more than one million times, if
the ssl_ctx's connection doesn't match the current one, or if the
connection appears closed in one direction while the SSL stack is
still subscribed, the FD is reported as suspicious. The close cases
may occasionally trigger a false positive during very short and rare
windows. Similarly the 1M calls will trigger after 16GB are transferred
over a given connection. These are rare enough events to be reported as
suspicious.
src/ssl_sock.c