[stunnel-users] Some troubles with PROXY protocol

Michal Trojnara Michal.Trojnara at mirt.net
Sat Apr 12 21:29:38 CEST 2014


On 2014-04-12 18:32, Alexey V. Drozdov wrote:
> Context switch to target section parameters after init_ssl(c) only.

So the requirements are:
1. init_remote() needs to be executed *after* init_ssl(), because it
needs the destination address retrieved with SNI.
2. protocol() negotiation needs to be performed *after* init_remote(),
because it needs to be connected to the target host to send the IP.

This version solves the problem (according to my tests):
https://www.stunnel.org/downloads/beta/stunnel-5.02b1.tar.gz

Mike

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20140412/6fe39fcb/attachment.sig>


More information about the stunnel-users mailing list