Hi,

I would like to put the actual value from a stick tables into a request
header. this way i could inform the backend e.g how many connections
this ip allready made.

The same I would like to do e.g for src_conn_rate and http_req_rate.

To protect the backend I can write rules defines the upper limit for for
the backend

e.g.
--
 tcp-request connection reject if { src_http_req_rate ge 30 }
---

The goal is, that the backend can decide to block or to allow the
request based on the information that came from haproxy.

Is this possible?

cheers
thomas

Reply via email to