]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stick-tables: add a new stored type for glitch_cnt and glitch_rate
authorWilly Tarreau <w@1wt.eu>
Fri, 19 Jan 2024 16:23:07 +0000 (17:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Feb 2024 14:51:49 +0000 (15:51 +0100)
commitc9c6b683fb64ec5413f780399f7cfccdbfdc6da6
treec078f7393467d681222206b3dda1a0822136f07c
parent668eb9aebf5d751933f05bad161a8f49d1f634b1
MEDIUM: stick-tables: add a new stored type for glitch_cnt and glitch_rate

This adds a new pair of stored types in the stick-tables:
  - glitch_cnt
  - glitch_rate

These keep count of the number of glitches reported on a front connection,
in order to decide how to act with a badly defective client or a potential
attacker. For now nothing updates these counters, but all the infrastructure
needed to configure, update and retrieve them was added, including the doc.

No regtest was added yet since they're not filled yet.
doc/configuration.txt
doc/peers-v2.0.txt
include/haproxy/stick_table-t.h
include/haproxy/stick_table.h
src/stick_table.c