Re: HAPROXY and POUND X-FORWARD

"Greg Howett" <[email protected]> Tue, 1 Dec 2009 09:47:32 -0000
Newsgroups gmane.comp.programming.load-balancing.general
Message-ID <[email protected]>
Hi All,


This may be useful for someone. It's a free App we wrote to enable
Microsoft IIS servers to log the X_Forwarded_For IP. In fact you can
change the HTTP header value to be logged in the registry.

 

http://forum.jetnexus.com/forum_posts.asp?TID=3

 

I Hope it's useful for someone.

 

Regards

Greg Howett

 

jetNEXUS

www.jetnexus.com

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Tony Bourke
Sent: 30 November 2009 9:14 PM
To: Load Balancing Mailing List
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