[stunnel-users] Access to Packet Content

Michal Trojnara Michal.Trojnara at mirt.net
Wed Mar 26 16:55:02 CET 2014

Michael Carlino (RIT Student) wrote:
> I just now pursued
> http://haproxy.1wt.eu/download/1.5/doc/proxy-protocol.txt [1], and I
> see that there is a patch that allows stunnel to do an initial
> modification to the HTTP request to insert a X-Forwarded-For header. 
> This sounds like what I need to do!  I am going to look for that
> patch.  I hope the source code for the patch is available.

In fact what PROXY protocol provides is an elegant solution to achieve 
the same goal that used to be achieved with the ugly X-Forwarded-For 
hack.  The PROXY protocol does not modify HTTP headers.  In fact it can 
be used with protocols other than HTTP.


More information about the stunnel-users mailing list