Re: Failed to use the source address for outgoing connections

2013-04-24 Thread Willy Tarreau
Hi Godbach, On Tue, Apr 23, 2013 at 04:08:30PM +0800, Godbach wrote: Here is the patch to fix the bug of source function in attachment for your information. (...) I've applied it now. Thank you ! Willy

Re: Failed to use the source address for outgoing connections

2013-04-23 Thread Godbach
Hi, (it's strange I didn't get the original e-mail). On Tue, Apr 23, 2013 at 6:27 AM, Godbach nylzhao...@gmail.com wrote: Hi, all I have tested 'source' config in haproxy-1.5-dev18, but it didn't work with the following line in default section: source 0.0.0.0 usesrc clientip Other

Re: Failed to use the source address for outgoing connections

2013-04-23 Thread Willy Tarreau
On Tue, Apr 23, 2013 at 02:44:17PM +0800, Godbach wrote: Hi, (it's strange I didn't get the original e-mail). On Tue, Apr 23, 2013 at 6:27 AM, Godbach nylzhao...@gmail.com wrote: Hi, all I have tested 'source' config in haproxy-1.5-dev18, but it didn't work with the following line in

Re: Failed to use the source address for outgoing connections

2013-04-23 Thread Godbach
On Tue, Apr 23, 2013 at 02:44:17PM +0800, Godbach wrote: Hi, (it's strange I didn't get the original e-mail). On Tue, Apr 23, 2013 at 6:27 AM, Godbach nylzhao...@gmail.com wrote: Hi, all I have tested 'source' config in haproxy-1.5-dev18, but it didn't work with the following line in

Re: Failed to use the source address for outgoing connections

2013-04-22 Thread Baptiste
Hi, Have you tried moving the source statement directly in the backend? (just to confirm it works as expected). Baptiste On Tue, Apr 23, 2013 at 6:27 AM, Godbach nylzhao...@gmail.com wrote: Hi, all I have tested 'source' config in haproxy-1.5-dev18, but it didn't work with the following

Re: Failed to use the source address for outgoing connections

2013-04-22 Thread Godbach
Hi, Yes. I have tried that and it works as expected. The original information in my last mail as below: Then I put source configuration 'source 0.0.0.0 usesrc clientip' in backend section, the source function can work well. Best Regards, Godbach Hi, Have you tried moving the source