<div class="gmail_quote"><div>Hi.</div><div><br></div><div>I use HAProxy and STunnel and I had to do a new installation lately. I took time to check the latest versions available of each product as this is a good time to test it out before production roll-out. I figured out that enough things have changed from STunnel version 4.44 to 4.46 making the X-Forwarded-For patch (that is usually used when STunnel sits in front of HAProxy) reject some parts of the latest 4.44 patch I found on the internet.</div>

<div><br></div><div>Here is the patch, applying with no problems on 4.46, for anyone else interested:</div><a href="http://labs.malaiwah.com/stunnel-4.46-xforwarded-for.diff" target="_blank">http://labs.malaiwah.com/stunnel-4.46-xforwarded-for.diff</a><div>

<br></div><div>PS: I didn't try it yet for IPv6 connections yet.</div><div><br></div><div>Michel Belleau</div>
</div><br>