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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ stunnel-users mailing list [email protected] https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
