On Wed, Aug 12, 2009 at 09:55:11PM -0400, Adam wrote:
> I patched and compiled stunnel 4.20 using the patch provided on the  
> haproxy site.
> 
> Everything compiled well, stunnel starts, but when i look at the  
> haproxy logs,  the requesting IP doesnt represent the client but  
> instead teh stunnel (local IP).
> 
> Is this normal behavior?

yes. The patch ensures that the server after haproxy will be able
to find the client's IP address in the X-Forwarded-For header. For
Apache, you can use "mod_rpaf" to make this header directly appear
in apache logs. For other servers, just log the header, it's a very
common thing to do.

Willy


Reply via email to