Re: Updating a stick table from the HTTP response

2015-06-30 Thread bjun...@gmail.com
Hi Holger, tcp-response content track- / http-response track- would be a nice feature, don't know if this is on the roadmap. For the moment i can only imagine the following (needs HAProxy 1.6): http-response lua script.lua Within this Lua function, you check the http response code and

Re: Updating a stick table from the HTTP response

2015-06-30 Thread Holger Just
Hello all, Unfortunately, I have not received any feedback on my earlier email so I'll try again. I am still struggling trying to implement a throttling mechanism based on prior HTTP responses of the same client. Basically, I have some requests (using Basic Auth or other mechanisms) that might

Updating a stick table from the HTTP response

2015-04-29 Thread Holger Just
Hello all, with HAProxy 1.5.11, we have implemented rate limiting based on some aspects of the request (Host header, path, ...). In our implementation, we delay limited requests by forcing a WAIT_END in order to prevent brute-force attacks against e.g. passwords or login tokens: acl