Re: backport d16a1b2a818359e8c3ade85f789e66ed7ca9488c

2013-04-17 Thread Willy Tarreau
On Mon, Apr 15, 2013 at 10:52:51PM +0200, Thomas Heil wrote: > Hi, > > Its mentioned that commit d16a1b2a818359e8c3ade85f789e66ed7ca9488c > should be backported to 1.4. > The patch applies without problems and as far as I can see it doesnt > create a problem. Done, thanks Thomas! Willy

Re-distributing the sticky table

2013-04-17 Thread sol myr
Hi, We have stickiness, but would like to re-distribute the sticky table, when machines are activated. Could you please tell if that possible? In detail, we have a backend of 10 *predefined* Tomcats, but during night we shut down 8 of them (for financial reasons), so load is distributed betwee

Re: "stick on src" same source ip send request to different server port

2013-04-17 Thread Baptiste
Yes, as long as you use them in the same backend or you point one backend to the other one. An example for a persistence for both IMAP and SMTP: http://blog.exceliance.fr/2011/07/14/send-users-to-the-same-server-for-imap-and-smtp/ Baptiste On Thu, Apr 18, 2013 at 2:58 AM, William Wu wrote: > I

"stick on src" same source ip send request to different server port

2013-04-17 Thread William Wu
I'm wondering when setting up haproxy with "stick on src", if the same client send 2 requests to different ports on server. i.e. 443 and 8443. Are these 2 requests going to hit same server always? Thanks, William

Re: HAProxy on FreeBSD 8.3 with transparent proxying (TProxy?)

2013-04-17 Thread PiBa-NL
Hi Baptiste, Thanks for your reply, i understand that the traffic must pass through the router/HAProxy box, and for that part i can confirm that the routing of packets is 'working' like it should. To explain my setup a little more: *Webserver* (Win7) 192.168.0.40/24 on a OPT1/DMZ using gatewa

Re: HAProxy on FreeBSD 8.3 with transparent proxying (TProxy?)

2013-04-17 Thread Baptiste
Hi, In order to work in transparent proxy mode, the server's default gateway must be the HAproxy server. Or at least, the traffic from the server must pass through the haproxy box before reaching the client. Even if HAProxy spoof the client IP, it's HAProxy which initializes the TCP connection, s

Re: HAProxy on FreeBSD 8.3 with transparent proxying (TProxy?)

2013-04-17 Thread PiBa-NL
I forgot to mention im using HAproxy 1.5dev18. Hello HAProxy developers/users, I would like to be able to run HAProxy transparently on FreeBSD 8.3. This would be both for my own usage and also to make it available to a larger public by including it in a 'haproxy-devel' package for pfSense. H

HAProxy on FreeBSD 8.3 with transparent proxying (TProxy?)

2013-04-17 Thread PiBa-NL
Hello HAProxy developers/users, I would like to be able to run HAProxy transparently on FreeBSD 8.3. This would be both for my own usage and also to make it available to a larger public by including it in a 'haproxy-devel' package for pfSense. However when trying to use it i get the error: /[A

Re: how to limit access to only 50 users and redirect the others

2013-04-17 Thread Baptiste
Hi Mikael, The question is: When do you consider your server overloaded? Is that when it is running more than 50 requests at a time? Or is that when it manages 50 sessions from an application point of view? In the first case, maxconn on the server line statement may help. In the second case, it

how to limit access to only 50 users and redirect the others

2013-04-17 Thread Mikael Kermorgant
Hello, We are going to launch a web app for a critical subscription step in our school. A high load the day we open the server, and would therefore like to protect it from that and setup a waitqueue with ha proxy. But we wonder how to setup ha proxy for that. Our idea is that : * we have 3 serv

Re: HA Proxy FTP Load Balancing Timeout

2013-04-17 Thread Ben Timby
Alok, On Tue, Apr 16, 2013 at 8:26 PM, Alok Kumar wrote: > I have a HA Proxy server(1.4), thzt is load balacing FTP traffic to Six > FTP > servers. > > I noticed that Load Balancer is dropping traffic after 50 sec, where as > there > was a valid ftp control port and Large file transfer was in

Re: proxy name filtering introduced in haproxy 1.5

2013-04-17 Thread Vincent Bernat
❦ 17 avril 2013 01:00 CEST, Willy Tarreau  : >> I've just recompiled haproxy 1.5 with the latest commits. >> The patch containing a box to filter proxies is useful but I think we >> should remove the "autofocus" keyword from the generated html. >> >> Currently, it prevents using the keyboard to