I have a slightly different behaviour. Every second connection to stunnel breaks with "SSL_connect: 1408F06B: error:1408F06B:SSL routines:SSL3_GET_RECORD:bad decompression":
andreas@nsn2:~$ telnet localhost 81
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
andreas@nsn2:~$ telnet localhost 81
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 403 Forbidden
Date: Wed, 12 Nov 2008 16:29:03 GMT
(... rest of response ...)
The third connection works, and the 4th one breaks again, and so on.
The logs show:
Nov 12 14:28:52 nsn2 stunnel: LOG5[1895:3082509200]: testconn accepted connection from 127.0.0.1:57277
Nov 12 14:28:52 nsn2 stunnel: LOG5[1895:3082509200]: testconn connected remote server from 192.168.1.5:56783
Nov 12 14:28:53 nsn2 stunnel: LOG3[1895:3082509200]: SSL_connect: 1408F06B: error:1408F06B:SSL routines:SSL3_GET_RECORD:bad decompression
Nov 12 14:28:53 nsn2 stunnel: LOG5[1895:3082509200]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
Nov 12 14:28:56 nsn2 stunnel: LOG5[1895:3082509200]: testconn accepted connection from 127.0.0.1:57279
Nov 12 14:28:57 nsn2 stunnel: LOG5[1895:3082509200]: testconn connected remote server from 192.168.1.5:56785
Nov 12 14:29:04 nsn2 stunnel: LOG5[1895:3082509200]: Connection closed: 19 bytes sent to SSL, 240 bytes sent to socket
I have a slightly different behaviour. Every second connection to stunnel breaks with "SSL_connect: 1408F06B: error:1408F06B:SSL routines: SSL3_GET_ RECORD: bad decompression":
andreas@nsn2:~$ telnet localhost 81
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
andreas@nsn2:~$ telnet localhost 81
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 403 Forbidden
Date: Wed, 12 Nov 2008 16:29:03 GMT
(... rest of response ...)
The third connection works, and the 4th one breaks again, and so on.
The logs show: 3082509200] : testconn accepted connection from 127.0.0.1:57277 3082509200] : testconn connected remote server from 192.168.1.5:56783 3082509200] : SSL_connect: 1408F06B: error:1408F06B:SSL routines: SSL3_GET_ RECORD: bad decompression 3082509200] : Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket 3082509200] : testconn accepted connection from 127.0.0.1:57279 3082509200] : testconn connected remote server from 192.168.1.5:56785 3082509200] : Connection closed: 19 bytes sent to SSL, 240 bytes sent to socket
Nov 12 14:28:52 nsn2 stunnel: LOG5[1895:
Nov 12 14:28:52 nsn2 stunnel: LOG5[1895:
Nov 12 14:28:53 nsn2 stunnel: LOG3[1895:
Nov 12 14:28:53 nsn2 stunnel: LOG5[1895:
Nov 12 14:28:56 nsn2 stunnel: LOG5[1895:
Nov 12 14:28:57 nsn2 stunnel: LOG5[1895:
Nov 12 14:29:04 nsn2 stunnel: LOG5[1895: