Hi everyone,
Is there a way to log the activity of an ACL?
I tried to use a header insertion using reqadd, and then log that
header, but it doesn't work.
# match content-length larger than 500kB
acl request-too-big hdr_val(content-length) gt 500000
reqadd X-Haproxy-ACL:\ request-too-big if METH_POST
request-too-big
capture request header X-Haproxy-ACL len 64
The goal is to test a bunch of ACLs before enabling them in production.
Any idea on how to do this?
--
Julien Vehent
http://jve.linuxwall.info