[ANNOUNCE] haproxy 1.4.19

2012-01-08 Thread Willy Tarreau
Hi, A few bugs were fixed since 1.4.18, and they impacted users so I wanted to release something now eventhough none of them is critical. Let's check them in sequence. - Sagi Bashari fixed the usage of alternative header name for the forwardfor option. - An incompatibility between server

Re: rate limiting addon

2012-01-08 Thread S Ahmed
Actually my requirements are as follows: To block all further connections if they make more than 100 api calls in a given minute. So if they make 100 api calls in the span of 55 seconds, block all further calls for the next 5 seconds. Can I do this? And if I do, it should limit my bandwidth

Re: rate limiting addon

2012-01-08 Thread Baptiste
Hi, You can do this with a stick-table and a store conn_rate(60s). Then with an ACL, you can trigger decision based on the conn_rate value: acl abuser src_conn_rate gt 100 block if abuser So the 101st request and above in a minute would be blocked. cheers On Sun, Jan 8, 2012 at 10:53 PM, S

Re: rate limiting addon

2012-01-08 Thread Cyril Bonté
Hi all, Le dimanche 8 janvier 2012 23:24:35 Baptiste a écrit : Hi, You can do this with a stick-table and a store conn_rate(60s). Then with an ACL, you can trigger decision based on the conn_rate value: acl abuser src_conn_rate gt 100 block if abuser So the 101st request and above in a

Re: rate limiting addon

2012-01-08 Thread S Ahmed
I don't know the clients ipaddresses before hand (in case that matters). On Sun, Jan 8, 2012 at 5:24 PM, Baptiste bed...@gmail.com wrote: Hi, You can do this with a stick-table and a store conn_rate(60s). Then with an ACL, you can trigger decision based on the conn_rate value: acl abuser

Re: rate limiting addon

2012-01-08 Thread Baptiste
Hi Cyril, You're right, and furthermore, this is not conn_rate but http_req_rate. cheers On Sun, Jan 8, 2012 at 11:39 PM, Cyril Bonté cyril.bo...@free.fr wrote: Hi all, Le dimanche 8 janvier 2012 23:24:35 Baptiste a écrit : Hi, You can do this with a stick-table and a store

ugg classic mini boot

2012-01-08 Thread haproxy
Also, a only underdeveloped utilisation while in the place ar manufactured of unreal heart and soul and additionally resolve every bit hone insulators to eliminate asunder all the awing expanse lieu to a lower place Embody item to clean alone with an implausibly primary boulevard eventhough opt