[stunnel-users] help with xforwarded-for

Michal Trojnara Michal.Trojnara at mirt.net
Tue Dec 30 23:29:06 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Senthil Naidu wrote:
> I am trying to use stunnel 5.08 can we enable xforwarded-for
> option using some patches , the last patch I see is in haproxy
> website for version stunnel version 4.32

Use the PROXY protocol with haproxy rather than the X-Forwared-For hack:
http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt

There are good reasons X-Forwarded-For patches are not included with
stunnel:
https://www.stunnel.org/pipermail/stunnel-users/2011-August/003219.html

Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlSjJyoACgkQ/NU+nXTHMtGbXgCdG2Q+27mCOInj+b1eeWwjFhJu
kZcAoIdPreBMywS5NZMu2BdIfvLWpc6N
=qrD1
-----END PGP SIGNATURE-----


More information about the stunnel-users mailing list