Re: HAProxy 1.5-dev7 attempting to connect to real server port of twice virtual server port

2011-09-23 Thread Willy Tarreau
Hi Nick, thanks to your diags and detailed reports, I found the bug and I have the fix. We were using the port from the wrong side's address when mapping was used. This explains why the resulting port was twice the incoming one. Since we moved to full-ipv6, we don't need the addr.s/addr.c tricks,

Need help about reqrep (urgent)

2011-09-23 Thread DerekLiao
Hey there, I have trouble with direct “reqrep” what I want is : My main web site is : caipiao.aaa.com My second web site is: www.bbb.com My goal is redirect URL from caipiao.aaa.com/ kaijiang ->www.bbb.com/result_aaa , but the URL in the browse still need to display caipiao

Re: HAProxy 1.5-dev7 attempting to connect to real server port of twice virtual server port

2011-09-23 Thread Nick Chalk
Hello Willy. On 23 September 2011 09:35, Willy Tarreau wrote: > thanks to your diags and detailed reports, I found the bug and I > have the fix. Thanks - that's working for us. Nick. -- Nick Chalk. Loadbalancer.org Ltd. Phone: +44 (0)870 443 8779 http://www.loadbalancer.org/

Transparent Proxy

2011-09-23 Thread Jason J. W. Williams
Hello, My understanding has been that HAProxy can be set up in conjunction with TPROXY support in the Linux kernel so that the backend servers see the original client's source IP address on incoming packets? So is the "option transparent" (http://code.google.com/p/haproxy-docs/wiki/transparent) n

Re: Transparent Proxy

2011-09-23 Thread Baptiste
On Fri, Sep 23, 2011 at 11:53 PM, Jason J. W. Williams wrote: > Hello, > > My understanding has been that HAProxy can be set up in conjunction > with TPROXY support in the Linux kernel so that the backend servers > see the original client's source IP address on incoming packets? > > So is the "opt

Re: Transparent Proxy

2011-09-23 Thread Malcolm Turnbull
Jason, No that option is not relevant for TPROXY (client source IP transparency) Its an old blog but take a look at: http://blog.loadbalancer.org/configure-haproxy-with-tproxy-kernel-for-full-transparent-proxy/ Ignore the kernel re-compile stuff, as its all pretty standard in modern kernels. But