Re: Issue while using Proxy protocol in TCP mode

2017-06-14 Thread Vijay Bais
An important thing I missed to mention that *the load balancer is an EC2 instance in AWS*. Also, consider 5.6.7.8 as an EIP and the frontend uses private IP to bind. When I tested proxy protocol with similar local setup, it works as expect (disregard any version of haproxy). Its likely, AWS to

Re: Issue while using Proxy protocol in TCP mode

2017-06-14 Thread Christopher Faulet
Le 14/06/2017 à 13:07, Vijay Bais a écrit : On Wed, Jun 14, 2017 at 3:06 PM, Christopher Faulet > wrote: Ok, If the problem is still there with a stable release, be sure to have the "send-proxy" directive on your server line (the one

Re: Issue while using Proxy protocol in TCP mode

2017-06-14 Thread Vijay Bais
On Wed, Jun 14, 2017 at 3:06 PM, Christopher Faulet wrote: > > Ok, If the problem is still there with a stable release, be sure to have > the "send-proxy" directive on your server line (the one which forwards the > traffic to haproxy itself). If you have any doubt about your

Re: Issue while using Proxy protocol in TCP mode

2017-06-14 Thread Christopher Faulet
Le 13/06/2017 à 18:37, Vijay Bais a écrit : Yes, I agree it's an old and unstable version; will upgrade to a stable release. The client is also haproxy of same old version, which forwards the traffic using proxy protocol (similar to the link specified earlier). Ok, If the problem is still

Re: Issue while using Proxy protocol in TCP mode

2017-06-14 Thread Pavlos Parissis
On 06/14/2017 11:17 AM, Vijay Bais wrote: > Upgraded haproxy to 1.5.18. > Why not 1.5.19? 1.5.18 was released a year ago. Do you have a reason for not switching to 1.7.5? Having said this, your problem could be a configuration issue or a new bug. Cheers. Pavlos signature.asc Description:

Re: Issue while using Proxy protocol in TCP mode

2017-06-13 Thread Vijay Bais
Yes, I agree it's an old and unstable version; will upgrade to a stable release. The client is also haproxy of same old version, which forwards the traffic using proxy protocol (similar to the link specified earlier). On 13 Jun 2017 9:49 p.m., "Lukas Tribus" wrote: > Hello

Re: Issue while using Proxy protocol in TCP mode

2017-06-13 Thread Lukas Tribus
Hello Vijay, Am 13.06.2017 um 10:07 schrieb Vijay Bais: > Hello, > > I am using HAProxy version 1.5-dev25-a339395. This is an unstable, more than 3 years old development version of haproxy. There is no way we can support this release here. Upgrade to a stable release, first of all. > >

Re: Issue while using Proxy protocol in TCP mode

2017-06-13 Thread Pavlos Parissis
On 13/06/2017 02:23 μμ, Christopher Faulet wrote: > Le 13/06/2017 à 10:07, Vijay Bais a écrit : >> Hello, >> >> I am using HAProxy version 1.5-dev25-a339395. >> > > Hi, > > This is a *very* old version and not a stable one. Please, first of all, > upgrade > your HAProxy to a stable version. For

Re: Issue while using Proxy protocol in TCP mode

2017-06-13 Thread Christopher Faulet
Le 13/06/2017 à 10:07, Vijay Bais a écrit : Hello, I am using HAProxy version 1.5-dev25-a339395. Hi, This is a *very* old version and not a stable one. Please, first of all, upgrade your HAProxy to a stable version. For HAProxy 1.5, the last stable version is 1.5.19. Facing issues while

Issue while using Proxy protocol in TCP mode

2017-06-13 Thread Vijay Bais
Hello, I am using HAProxy version 1.5-dev25-a339395. Facing issues while using proxy protocol to preserve source IP address despite reverse proxies ref: https://www.haproxy.com/blog/preserve-source-ip-address-despite-reverse-proxies/ Haproxy log of load-balancer shows below messages