]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] added the "reqtarpit" and "reqitarpit" features
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Sep 2006 07:56:00 +0000 (09:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Sep 2006 07:56:00 +0000 (09:56 +0200)
commitb8750a82a27296e9a86586d4e44b07c67e845391
treec332fa6adce48910c9fe415ca51c77201ace276f
parentf8306d53911183a350b6a6e3cfb44fd283d43429
[MEDIUM] added the "reqtarpit" and "reqitarpit" features

It is now possible to tarpit connections based on regex matches.
The tarpit timeout is equal to the contimeout. A 500 server error
response is faked, and the logs show the status flags as "PT" which
indicate the connection has been tarpitted.
include/common/regex.h
include/types/session.h
src/cfgparse.c
src/log.c
src/proto_http.c