Re: HAPROXY and POUND X-FORWARD

Tony Bourke <[email protected]> Mon, 30 Nov 2009 13:13:46 -0800
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <[email protected]>
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