RE: Http HealthCheck Issue

2018-12-26 Thread UPPALAPATI, PRAVEEN
Hi Alex, If I have one vhost representing all the nexus host's how can haproxy identify which server is down ? I guess health check is to determine which server is healthy right if a vhost masks all the servers in the backend list how would haproxy divert the traffic? Please advise. Thanks,

Re: haproxy AIX 7.1.0.0 compile issues

2018-12-26 Thread Aleksandar Lazic
Hi Patrick. Am 26-12-2018 22:26, schrieb Overbey, Patrick (Sioux Falls): Hello, First off, I want to say thank you for your hard work on haproxy. It is a very fine piece of software. I recently ran into a bug compiling haproxy 1.9+ on AIX 7.1 7100-00-03-1115 using gmake 4.2 and gcc 8.1.0. I

Re: [PATCH] BUG/MINOR: lb: fix redispatch for hash based lb-algo's

2018-12-26 Thread Lukas Tribus
Hello, On Wed, 26 Dec 2018 at 23:04, Lukas Tribus wrote: > > redispatch never worked for hash based alghoritms, as the code > (BE_LB_LKUP_CHTREE -> chash_get_next_server()) would only have been > called for BE_LB_KIND_RR, which doesn't make sense. Fix this by also > going down this code path

[PATCH] BUG/MINOR: lb: fix redispatch for hash based lb-algo's

2018-12-26 Thread Lukas Tribus
redispatch never worked for hash based alghoritms, as the code (BE_LB_LKUP_CHTREE -> chash_get_next_server()) would only have been called for BE_LB_KIND_RR, which doesn't make sense. Fix this by also going down this code path when the BE_LB_KIND is BE_LB_KIND_HI. Reported by Oskar Stenman on

haproxy AIX 7.1.0.0 compile issues

2018-12-26 Thread Overbey, Patrick (Sioux Falls)
Hello, First off, I want to say thank you for your hard work on haproxy. It is a very fine piece of software. I recently ran into a bug compiling haproxy 1.9+ on AIX 7.1 7100-00-03-1115 using gmake 4.2 and gcc 8.1.0. I had previously had 1.8 compiling using this same setup with a few minor code

RE: Send-proxy not modifying some traffic with proxy ip/port details instead retaining same client ip port

2018-12-26 Thread Mohandass, Roobesh
Hello Lukas, Sure, we will try the attached patch work and share the feedback to you/team. Thanks for help. Kind regards, Roobesh G M -Original Message- From: lu...@ltri.eu Sent: Wednesday, December 26, 2018 6:30 PM To: Mohandass, Roobesh Cc: haproxy Subject: Re: Send-proxy not

Re: Send-proxy not modifying some traffic with proxy ip/port details instead retaining same client ip port

2018-12-26 Thread Lukas Tribus
Hello Roobesh, On Wed, 26 Dec 2018 at 11:49, Mohandass, Roobesh wrote: > RGM: This is reproducible anywhere production/lab but when we see this > behavior is a questions > as I said out of so many large number of requests only for some we will > observe this behavior > (but can be caught very

RE: Send-proxy not modifying some traffic with proxy ip/port details instead retaining same client ip port

2018-12-26 Thread Mohandass, Roobesh
Hello Lukas, What I would ask you is to clarify how this can be reproduced? Do you only see this in production, or can you reproduce this also in a lab? If so, how do you reproduce it? RGM: This is reproducible anywhere production/lab but when we see this behavior is a questions as I said

Re: Send-proxy not modifying some traffic with proxy ip/port details instead retaining same client ip port

2018-12-26 Thread Lukas Tribus
Hello Roobesh, On Wed, 26 Dec 2018 at 08:31, Mohandass, Roobesh wrote: > > Hello, > > > > We are using haproxy version 1.8.14-1 in a docker container running ubuntu > 14.04 / kernel: 4.15.0-39-generic (Base host where container is running 18.04 > / kernel 4.15.0-39-generic) > > getsockopt(fd,