Re: HAPROXY and POUND X-FORWARD
Brandon Mumby <[email protected]> Mon, 30 Nov 2009 13:32:46 -0800
| Newsgroups | gmane.comp.programming.load-balancing.general |
|---|---|
| Message-ID | <4B18A8F75A6384449755BC7784073E9360DCD9D278@exch11.olympus.f5net.com> |
You have to tell it to turn on for Pound. Ha-proxy may be seeing it but stripping it/altering it. From: [email protected] [mailto:[email protected]] On Behalf Of Chris Kirby Sent: Monday, November 30, 2009 1:21 PM To: [email protected] Subject: Re: [load balancing] HAPROXY and POUND X-FORWARD Yeah. :) Pound seems to be able to pass it through but I can't get haproxy to see it. Regards, Chris. ----- Original Message ----- From: [email protected] <[email protected]> To: Load Balancing Mailing List <[email protected]> Sent: Mon Nov 30 16:13:46 2009 Subject: Re: [load balancing] HAPROXY and POUND X-FORWARD Hi Chris, In looking at the pound website, it looks like it does insert an X-Forwarded-for header: http://www.apsis.ch/pound/index_html As long as HAProxy doesn't re-write the header, it should get passed to your servers. Tony On Nov 30, 2009, at 12:54 PM, Chris Kirby wrote: We are using Pound to terminate incoming SSL traffic and then we forward to the packet to a HAPROXY server for load balancing. Pound sees in the client IP address of our external web browser in its logs, which is great,, but when Pound forwards the traffic to HAPROXY, HAPROXY sees the source IP as being Pound and not the real external IP address. Is it possible for Pound to send the real source IP address to haproxy and have haproxy display that IP address in its logs instead? Basically, I want haproxy to see the x-forwarded IP address. Thanks, Chris. _______________________________________________ lb-l mailing list [email protected] http://vegan.net/mailman/listinfo/lb-l Searchable Archive: http://vegan.net/lb/archive http://lbdigest.com Load Balancing Digest http://lbwiki.com Load Balancing Wiki _______________________________________________ lb-l mailing list [email protected] http://vegan.net/mailman/listinfo/lb-l Searchable Archive: http://vegan.net/lb/archive http://lbdigest.com Load Balancing Digest http://lbwiki.com Load Balancing Wiki