Re: Transparent Proxy

2011-09-24 Thread Baptiste
On Fri, Sep 23, 2011 at 11:53 PM, Jason J. W. Williams jasonjwwilli...@gmail.com 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

Re: Transparent Proxy

2011-09-24 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.

Feature idea (maybe)

2011-09-24 Thread Levente Peres
Hi, I have an idea for a possibly useful feature. How about some possibility to keep a certain IP in a sandbox, where we can filter all it's traffic trough a virus/intrusion detection filter, then allow it to be trusted for X hours/days and pass it out to the general loadbalancing queue? I

Re: Feature idea (maybe)

2011-09-24 Thread Levente Peres
I forgot to mention: It would be useful to have the possibility to filter only incoming or outgoing traffic or both in this fashion. Hope this has some merit... Levente 2011.09.24. 9:12 keltezéssel, Levente Peres írta: Hi, I have an idea for a possibly useful feature. How about some

Re: Transparent Proxy

2011-09-24 Thread Jason J. W. Williams
Thank you. I've been reading that, but wanted to confirm. -J Sent via iPhone Is your email Premiere? On Sep 24, 2011, at 0:57, Malcolm Turnbull malc...@loadbalancer.org wrote: Jason, No that option is not relevant for TPROXY (client source IP transparency) Its an old blog but take a

Re: Haproxy notifications

2011-09-24 Thread İbrahim Ercan
Hi Carlo, I tried to install it but i got that error when run it. -# service haproxyctl show health /etc/init.d/haproxyctl:17:in `require': no such file to load -- haproxyctl (LoadError) from /etc/init.d/haproxyctl:17 On 22 September 2011 21:42, carlo flores ca...@petalphile.com wrote: Here's

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
Hi, On Fri, Sep 23, 2011 at 11:20:52AM +, DerekLiao wrote: 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

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
Is it set correctly I only see 503/404 error on haproxy log, I already set debug level ! version 1.4.14 I really need your help My Skype account : derek.liao66 Date: Sat, 24 Sep 2011 12:43:35 +0200 From: w...@1wt.eu To: y...@hotmail.com CC: haproxy@formilux.org Subject: Re: Need help

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 10:46:23AM +, DerekLiao wrote: Is it set correctly It does not indicate what's in it. What do you mean by correctly ? I only see 503/404 error on haproxy log, I already set debug level ! version 1.4.14 503s indicate that sometimes there is no server to connect

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
health check is normal, I checked from haproxy monitor screen , How to check reqrep is working fine or not ? I double the URI has not been replaced Date: Sat, 24 Sep 2011 12:52:01 +0200 From: w...@1wt.eu To: y...@hotmail.com CC: haproxy@formilux.org Subject: Re: Need help about reqrep

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 11:06:07AM +, DerekLiao wrote: health check is normal, I checked from haproxy monitor screen , OK, maybe it's your server which is returning 503 then. How to check reqrep is working fine or not ? That's what I explained, in apache's logs. I double the URI has

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
is it possible to get detail rewrite infomation like apache error log does? tcpdump, little bit diffcult ,too much taffice need to analyse From: luky...@hotmail.com To: y...@hotmail.com; w...@1wt.eu CC: haproxy@formilux.org Subject: RE: Need help about reqrep (urgent) Date: Sat, 24 Sep 2011

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 11:23:07AM +, DerekLiao wrote: is it possible to get detail rewrite infomation like apache error log does? No, what haproxy logs is what it *receives*. That's why we're asking for what is seen on the other side. tcpdump, little bit diffcult ,too much taffice need

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
All, I tried what you suggested, I think it s also a problem on rewrite URI: configuration files: reqrep ^([^\ ]*)\ /kaijiang(/.*) \1\ /result_bbb\2 reqirep ^Host: Host:\ www.bbb.com #reqdeny ^([^\ ]*)\ /kaijiang reqdeny ^([^\ ]*)\ /result_bbb option httpchk GET /

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
configuration files: reqrep ^([^\ ]*)\ /kaijiang([/\?\ ].*)\1\ /result_aaa\2 reqirep ^Host: Host:\ www.bbb.com Logs: srv_aaa_caipiaos_01 0/0/0/2/2 404 735 - - 0/0/0/0/0 0/0 GET /result_aaa/ HTTP/1.1 but i can access www.bbb.com/result_aaa/ From: y...@hotmail.com To:

Re: Need help about reqrep (urgent)

2011-09-24 Thread Cyril Bonté
Le Samedi 24 Septembre 2011 15:02:59 DerekLiao a écrit : configuration files: reqrep ^([^\ ]*)\ /kaijiang([/\?\ ].*)\1\ /result_aaa\2 reqirep ^Host: Host:\ www.bbb.com Logs: srv_aaa_caipiaos_01 0/0/0/2/2 404 735 - - 0/0/0/0/0 0/0 GET /result_aaa/ HTTP/1.1 I'm lost,

RE: Need help about reqrep (urgent)

2011-09-24 Thread DerekLiao
caipiao.aaa.com/kaijiang(my website) - www.bbb.com/result_aaa(third party website) when i enter caipiao.aaa.com/kaijiang, it should show me the content of www.bbb.com/result_aaa From: cyril.bo...@free.fr To: y...@hotmail.com CC: haproxy@formilux.org; w...@1wt.eu Subject: Re: Need help

Re: Need help about reqrep (urgent)

2011-09-24 Thread Willy Tarreau
On Sat, Sep 24, 2011 at 03:02:59PM +, DerekLiao wrote: configuration files: reqrep ^([^\ ]*)\ /kaijiang([/\?\ ].*)\1\ /result_aaa\2 reqirep ^Host: Host:\ www.bbb.com Logs: srv_aaa_caipiaos_01 0/0/0/2/2 404 735 - - 0/0/0/0/0 0/0 GET /result_aaa/ HTTP/1.1 but

Re: Haproxy notifications

2011-09-24 Thread carlo flores
Hey Ibrahim. Continued on your GitHub issue! On Sat, Sep 24, 2011 at 1:25 AM, İbrahim Ercan ibrahim.er...@engineer.comwrote: Hi Carlo, I tried to install it but i got that error when run it. -# service haproxyctl show health /etc/init.d/haproxyctl:17:in `require': no such file to load --