]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] tcp: add per-source connection rate limiting
authorWilly Tarreau <w@1wt.eu>
Sat, 5 Jun 2010 17:13:27 +0000 (19:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Jun 2010 13:10:25 +0000 (15:10 +0200)
commita975b8f381acc5a7486a8287d5ef6495dbd0b72b
tree94de95888394f007df9f3388045033f17004cdff
parent41883e2041bdd635dfc9402cef9bd6d1863268ce
[MINOR] tcp: add per-source connection rate limiting

This change makes use of the stick-tables to keep track of any source
address activity. Two ACLs make it possible to check the count of an
entry or update it and act accordingly. The typical usage will be to
reject a TCP request upon match of an excess value.
doc/configuration.txt
src/proto_tcp.c