Re: FreeBSD with options transparent not working.

2013-07-12 Thread jinge
Hi PiBa-NL, I just check my config as your advice. And find the pf.conf is not correct. As I use rdr rdr on vlan64 proto tcp from any to any -> 127.0.0.1 port The dst is changed. So I change to use ipfw and it seems get the things done. ipfw add fwd 127.0.0.1, tcp from any to any via

Re: add header does not happen every request due to keepalive

2013-07-12 Thread Sachin Shetty
Thanks Emeric and Scott, I will try this out. Thanks Sachin On 7/12/13 12:27 AM, "Emeric BRUN" wrote: > > >original message- >De: "Sachin Shetty" sshe...@egnyte.com >A: haproxy@formilux.org >Date: Thu, 11 Jul 2013 23:57:40 +0530 >---

Re: Does the transparent can't work in FreeBSD?

2013-07-12 Thread joris dedieu
2013/7/12 jinge : > Hi PiBa-NL, > > I just follow your advice and find my pf configure is not correct > > rdr on vlan64 proto tcp from any to any -> 127.0.0.1 port > > And I change to ipfw and fwd then it works corrently. > > ipfw add fwd 127.0.0.1, tcp from any to any via vlan64 in > > An

Problem with httpchk option and keepAlive

2013-07-12 Thread Grzegorz Leszczyński
In our company we have such problem, that when haproxy discovers that backend is dead - due to httpchk - it doesn't disconnect already established keepAlive connections and is still sending requests via these connections. Is this known problem? Is there is any solution for this? Or maybe we are

Re: 100% cpu load....

2013-07-12 Thread Tomas Pospisek
Am 11.07.2013 11:45, schrieb Mark Janssen: > I've noticed that the HAProxy processes occasionally jump to 100% cpu > load, while the load before and after these peaks is only 3-5%, and the > traffic is also the same as outside of these cpu-peaks. > > I saw a thread about this earlier (april/may),

RE: 100% cpu load....

2013-07-12 Thread Lukas Tribus
Hi Mark, > Hi list... > > I've noticed that the HAProxy processes occasionally jump to 100% cpu > load, while the load before and after these peaks is only 3-5%, and the > traffic is also the same as outside of these cpu-peaks. > > I saw a thread about this earlier (april/may), which concl

Re: Does the transparent can't work in FreeBSD?

2013-07-12 Thread PiBa-NL
Hi Jinge, Nice that you have it working with ipfw. I have no hands-on experience with FreeBSD9 and those divert-to rules. Reading their explanation led me to expect it should be able to work, and resolve the issue of needing 2 firewalls pf&ipfw simultaneously. As Joris also writes you should

Re: Log information interpretation

2013-07-12 Thread Willy Tarreau
On Wed, Jul 10, 2013 at 09:10:26AM -0700, Qingshan Xie wrote: > Hello: > > I ran a graceful restart command as "aproxy -f conf/haproxy.cfg -f > conf/w7.cfg -p run/haproxy.pid -sf $(cat run/haproxy.pid)", the haproxy.log > shows the info below.  The 1st line of log shows 0 conn in Frontend and 9705