<div dir="auto">I have exactly the same problem with stunnel 5.45 and 5.46 crashing on second request!<div dir="auto"><br><div dir="auto">Running on Windows 10 Pro x64 1803.</div><div dir="auto"><br></div><div dir="auto">I also use https to separate traffic to two different sites on the same server as the stunnel service.</div><div dir="auto"><br></div><div dir="auto">/Per</div></div></div><br><div class="gmail_quote"><div dir="ltr">Den tor 21 juni 2018 19:04Javier <<a href="mailto:jamilist.stn@gmx.es">jamilist.stn@gmx.es</a>> skrev:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
isn't annoying when you are using an old version, 5.44, and all goes<br>
fine, you notice you are outdated and then comes the problems after<br>
update? :-P<br>
<br>
<br>
The thing is that yesterday I needed the HTTPS server so I run<br>
Stunnel 5.44 for my non-SSL app and all was fine. I updated to 5.46<br>
just because I forgot the last time and didn't even run again because<br>
I didn't need it.<br>
<br>
Today I used it and... I had a crash. I tested 5.45 to trace versions<br>
back, and it crashes as well. Back to 5.44 and no crash.<br>
<br>
The crash happens when there is a reload/reconnect/multiconnect<br>
(example, 2 connections html+images) by the browser when connects to<br>
an HTTPS server.<br>
<br>
It only happens when using a SNI service.<br>
<br>
I've been able to trace back the log on those versions and when fails<br>
in 5.45 and 5.46 is at the time when it needs to switch to the SNI<br>
service.<br>
<br>
(log from 5.44)<br>
SNI: requested servername: xxx<br>
SNI: matched pattern: xxx<br>
SNI: switched to service [xxx] <<<<----- BEFORE SWITCH, IT CRASHES on 5.45 and 5.46<br>
<br>
Imagine you load <a href="https://xxx/" rel="noreferrer noreferrer" target="_blank">https://xxx/</a>.<br>
<br>
The first time is fine, the second, crashes stunnel. Not happening<br>
with 5.44.<br>
<br>
I haven't seen any change to SNI in manual so... :-?<br>
<br>
These are the configs for the used virtual servers. Nothing has been<br>
changed, anyway:<br>
<br>
<br>
[SSL]<br>
client = no<br>
<br>
accept = y.y.y.1:4747<br>
connect = y.y.y.2:443<br>
<br>
[SSL-xxx-SNI]<br>
client = no<br>
sni = SSL:xxx<br>
<br>
connect = y.y.y.2:443<br>
<br>
cert = pem<br>
key = pem<br>
<br>
<br>
Don't mind the port numbers. They aren't in conflict.<br>
<br>
<br>
Running on Windows 2000.<br>
<br>
Regards.<br>
_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org" target="_blank" rel="noreferrer">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" rel="noreferrer noreferrer" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
</blockquote></div>