Re: trouble building on solaris

2013-05-01 Thread Willy Tarreau
Hi Keith, On Tue, Apr 30, 2013 at 09:39:12AM +, keith anderson wrote: Benjamin Polidore polidore@... writes: sorry, this is 1.5 dev 14.  thanks.On Wed, Dec 5, 2012 at 9:17 AM, Benjamin Polidore polid...@gmail.com wrote: src/proxy.c:46: error: initializer element is not

Re: trouble building on solaris

2013-05-01 Thread Simon Horman
On Wed, May 01, 2013 at 10:15:00AM +0200, Willy Tarreau wrote: Hi Keith, On Tue, Apr 30, 2013 at 09:39:12AM +, keith anderson wrote: Benjamin Polidore polidore@... writes: sorry, this is 1.5 dev 14.  thanks.On Wed, Dec 5, 2012 at 9:17 AM, Benjamin Polidore

Re: trouble building on solaris

2013-05-01 Thread Willy Tarreau
On Wed, May 01, 2013 at 05:49:20PM +0900, Simon Horman wrote: On Wed, May 01, 2013 at 10:15:00AM +0200, Willy Tarreau wrote: Hi Keith, On Tue, Apr 30, 2013 at 09:39:12AM +, keith anderson wrote: Benjamin Polidore polidore@... writes: sorry, this is 1.5 dev 14. 

RE: trouble building on solaris

2013-05-01 Thread Anderson Keith
Hi Willy, SNIP Blindly removing the #include stdbool.h from checks.c and haproxy-systemd-wrapper.c does get a binary compilation but also an (unsurprisingly) eventual core dump. It should not cause any error, the stdbool you pointed were not used at all, so you're facing a different

Re: HA Proxy FTP Load Balancing Timeout

2013-05-01 Thread Ben Timby
Alok, Sorry have been out of the office for a while. You could try increasing the clitimeout and srctimeout values in your defaults section. These values are ninety and one hundred and twenty seconds respectively. My guess is that tcpka has no effect on activity from haproxy's point of view as

Re: HA Proxy FTP Load Balancing Timeout

2013-05-01 Thread Alok Kumar
Thanks Ben! I would certianly explore more on these lines and let you know. Thanks again.   Regards, Alok From: Ben Timby bti...@gmail.com To: Alok Kumar a_sa...@yahoo.com Cc: haproxy@formilux.org haproxy@formilux.org Sent: Wednesday, May 1, 2013 11:08 AM

Create ACL from a string comparison to a file content

2013-05-01 Thread Maxime Ducharme
Hello I am trying to create an ACL on 1.4 version where the criterion would be a simple string but not sure it is possible. something similar to this : acl maintenanceMode -f /etc/haproxy/maintenance.mode on acl maintenanceMode on -f /etc/haproxy/maintenance.mode I'd like compare the string on

Re: Create ACL from a string comparison to a file content

2013-05-01 Thread Willy Tarreau
Hi Maxime, On Wed, May 01, 2013 at 11:27:52AM -0400, Maxime Ducharme wrote: Hello I am trying to create an ACL on 1.4 version where the criterion would be a simple string but not sure it is possible. something similar to this : acl maintenanceMode -f /etc/haproxy/maintenance.mode on acl

Re: Create ACL from a string comparison to a file content

2013-05-01 Thread Maxime Ducharme
In fact we are reloading haproxy very often since we manage dynamic backends instances based on an AWS EC2 cluster which shrinks and grows according to load. We manage the config file in puppet thats why we need some form of external data source which wont be bound to puppet otherwise the agent

Limit frontend bandwidth rate?

2013-05-01 Thread Igor
Limit frontend bandwidth speed would be handy for some product environment, is this still planned in 1.5 dev? Bests, -Igor

Re: SMTP load balancer.

2013-05-01 Thread Godbach
On 5/1/2013 8:39 AM, Bryan Talbot wrote: Looks like you've listed the same IP address twice. -Bryan Typo, Thanks. How have I missed that?? Eliezer Hi, Elizer You can use roundrobin instead of leastconn as below: listen tcp 0.0.0.0:225 mode tcp option tcplog

Re: SMTP load balancer.

2013-05-01 Thread Eliezer Croitoru
On 5/2/2013 5:46 AM, Godbach wrote: On 5/1/2013 8:39 AM, Bryan Talbot wrote: Looks like you've listed the same IP address twice. -Bryan Typo, Thanks. How have I missed that?? Eliezer Hi, Elizer You can use roundrobin instead of leastconn as below: listen tcp 0.0.0.0:225 mode

Transparent TCP LoadBalancing on FreeBSD

2013-05-01 Thread ZeN
Dear Users, sorry if i open new thread, but i really want to solve this problem.. i manage to compile haproxy via port using TPROXY : haproxy -vv HA-Proxy version 1.5-dev18 2013/04/03 Copyright 2000-2013 Willy Tarreau w...@1wt.eu Build options : TARGET = freebsd CPU = generic CC

Re: SMTP load balancer.

2013-05-01 Thread Godbach
On 5/2/2013 5:46 AM, Godbach wrote: On 5/1/2013 8:39 AM, Bryan Talbot wrote: Looks like you've listed the same IP address twice. -Bryan Typo, Thanks. How have I missed that?? Eliezer Hi, Elizer You can use roundrobin instead of leastconn as below: listen tcp 0.0.0.0:225 mode