]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] session: add data in and out volume counters
authorWilly Tarreau <w@1wt.eu>
Fri, 18 Jun 2010 16:33:32 +0000 (18:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Aug 2010 16:04:12 +0000 (18:04 +0200)
commit855e4bbcc7783ec6e98076646add557fe4f3bef3
tree486161e6e4c8887281b30e069e2fa591867d0c99
parent38285c18f44c44b235d450fdbc6fa5c89b71fa0c
[MEDIUM] session: add data in and out volume counters

The new "bytes_in_cnt" and "bytes_out_cnt" session counters have been
added. They're automatically updated when session counters are updated.
They can be matched with the "src_kbytes_in" and "src_kbytes_out" ACLs
which apply to the volume per source address. This can be used to deny
access to service abusers.
include/types/stick_table.h
src/session.c
src/stick_table.c