Hi, Using stick tables, you can limit a source IP address based on different criteria: bytes in/out, req rate, etc....
If you want to apply this to some domains or URLs, just use content switching and apply this limitation on a backend only. Cheers On Sat, Jan 7, 2012 at 1:16 PM, S Ahmed <[email protected]> wrote: > Can haproxy be used to rate limit clients by either ipaddress or > hostname(domain name)? > > If yes, will it rate limit by simply streaming in the request header? > > The reason I am asking, say the client's request contains 100K of http post > data. Currently for me to rate limit at the application level, I have to > read in the entire 100K + request header. If it can be done earlier in the > request cycle, that better. > > So I want to understand if it simply reads in the request header, will it > send some tcp type message saying the request was denied thus saving me BOTH > bandwitch and server load?

