Re: Rate limit per IP

2011-03-20 Thread Baptiste
Hi, Yes, Haproxy can limit rate connection. Please look for rate-limit sessions and fe_sess_rate in the configuration.txt documentation [1]. In HAproxy 1.5 [2], there are a few more options, like src_conn_ which are more accurate and might help you better. Bear in mind that 1.5 is still in

Re: Parsing haproxy log files (python)

2011-03-20 Thread Willy Tarreau
Hi Holger, On Sat, Mar 19, 2011 at 05:32:08PM +0100, Holger Just wrote: Hi Roy, On 2011-03-18 22:21, Roy Smith wrote: Before I reinvent the wheel, has anybody already written code to parse haproxy log messages with Python? I have, although it's not _that_ fast. My approach requires

Re: ACL based on path_dir

2011-03-20 Thread Willy Tarreau
On Sat, Mar 19, 2011 at 02:27:40PM -0700, Weixi Yen wrote: Having trouble with access control lists based on path_dir on firefox Mac osx. Has anyone had success doing path_dir based ACLs? Weixi, I replied to your post on serverfault a few days ago on this subject, explaining that you were

http-server-close and round robin

2011-03-20 Thread Kyle Brandt
Hi all, With round robin load balancing and the http-server-close option, do connections that were part of the same keep alive session on the client side all hit the same web server, or do those requests end up being round robin as well? Thanks! Kyle

Re: Rate limit per IP

2011-03-20 Thread Allan Wind
On 2011-03-20 10:25:07, Baptiste wrote: Yes, Haproxy can limit rate connection. Please look for rate-limit sessions and fe_sess_rate in the configuration.txt documentation [1]. rate-limit and fe_sess_rate are for global for all IPs, right? In HAproxy 1.5 [2], there are a few more options,

Re: http-server-close and round robin

2011-03-20 Thread Willy Tarreau
Hi Kyle, On Sun, Mar 20, 2011 at 10:30:39AM -0400, Kyle Brandt wrote: Hi all, With round robin load balancing and the http-server-close option, do connections that were part of the same keep alive session on the client side all hit the same web server, or do those requests end up being

Re: ACL based on path_dir

2011-03-20 Thread Weixi Yen
Sorry guys, Here was the link I forgot to include: http://serverfault.com/questions/248897/haproxy-access-list-using-path-dir-having-issues-with-firefox On Sun, Mar 20, 2011 at 10:13 AM, Weixi Yen weixi...@gmail.com wrote: Hi Willy, Saw your response and that fixed it. Thank you! Weixi

Re: Rate limit per IP

2011-03-20 Thread Willy Tarreau
On Sun, Mar 20, 2011 at 11:12:48AM -0400, Allan Wind wrote: On 2011-03-20 10:25:07, Baptiste wrote: Yes, Haproxy can limit rate connection. Please look for rate-limit sessions and fe_sess_rate in the configuration.txt documentation [1]. rate-limit and fe_sess_rate are for global for all