[stunnel-users] Stunnel 4.05/4.07 Crash

PinLee_Su at azuretech.com.sg PinLee_Su at azuretech.com.sg
Mon Jan 31 03:41:59 CET 2005


Hi Michal,

      The initial lines look like this:-
2005.01.25 15:21:23 LOG5[1160:2612]: stunnel 4.07 on x86-pc-mingw32-gnu
WIN32+IPv4 with OpenSSL 0.9.7e 25 Oct 2004
2005.01.25 15:21:24 LOG5[1160:1828]: No limit detected for the number of
clients
2005.01.25 15:21:24 LOG5[1160:1476]: HTTP connected from 10.3.5.137:2013
2005.01.25 15:21:25 LOG3[1160:1476]: readsocket: Connection reset by peer
(WSAECONNRESET) (10054)
2005.01.25 15:21:25 LOG5[1160:1476]: Connection reset: 206 bytes sent to
SSL, 250 bytes sent to socket
2005.01.25 15:21:25 LOG5[1160:2380]: HTTP connected from 10.3.5.137:2024
2005.01.25 15:21:25 LOG3[1160:2380]: readsocket: Connection reset by peer
(WSAECONNRESET) (10054)
2005.01.25 15:21:25 LOG5[1160:2380]: Connection reset: 206 bytes sent to
SSL, 226 bytes sent to socket
2005.01.25 15:21:25 LOG5[1160:1992]: HTTP connected from 10.3.5.137:2056
2005.01.25 15:21:27 LOG5[1160:2220]: HTTP connected from 10.3.5.137:2084
2005.01.25 15:21:31 LOG5[1160:2220]: Connection closed: 4969 bytes sent to
SSL, 41208 bytes sent to socket
2005.01.25 15:21:31 LOG5[1160:1028]: HTTP connected from 10.3.5.137:2104
2005.01.25 15:21:40 LOG5[1160:1028]: Connection closed: 2528 bytes sent to
SSL, 31275 bytes sent to socket
2005.01.25 15:21:40 LOG5[1160:512]: HTTP connected from 10.3.5.137:2122
2005.01.25 15:21:43 LOG5[1160:1992]: Connection closed: 12539 bytes sent to
SSL, 56951 bytes sent to socket
2005.01.25 15:21:45 LOG5[1160:512]: Connection closed: 1689 bytes sent to
SSL, 21416 bytes sent to socket
2005.01.25 15:21:46 LOG5[1160:2044]: HTTP connected from 10.3.5.137:2154
2005.01.25 15:21:47 LOG5[1160:2148]: HTTP connected from 10.3.5.137:2160

I have 11 config files as each one has its own client certificate. each one
contains the follow:-

CAfile=c:\STunnel\config\root.pem
cert=c:\STunnel\config\myCert_A.pem
client=Yes
debug=7
output=c:\STunnel\logs\myCert_A.log
[HTTP]
accept=3885
connect=10.70.1.81:443




thanks and rgds,spl




"Azure Technologies is the IT solutions provider of Hutchison Whampoa
Limited and a member of Hutchison Global Communications Holdings Limited."

The message is for information purposes only and is not intended to create
legally binding relations.  The shareholders, directors and management of
Azure Technologies and any of its group companies accept no responsibility
and accordingly shall have no liability to any party whatsoever with
respect to the contents of this message.  This message (including any
attachments) is intended only for the use of the addressee(s) named above.
It may contain information that is PRIVILEGED and CONFIDENTIAL and should
not be read, copied or otherwise used by any other person.  If you are not
the intended
recipient, please erase all copies of the message (including attachments)
and notify us immediately.



                                                                                                                                     
                      PinLee_Su at azuretech                                                                                            
                      .com.sg                    To:       stunnel-users at mirt.net                                                    
                      Sent by:                   cc:                                                                                 
                      stunnel-users-bounc        Subject:  [stunnel-users] Stunnel 4.05/4.07 Crash                                   
                      es at mirt.net                                                                                                    
                                                                                                                                     
                                                                                                                                     
                      01/28/2005 06:28 PM                                                                                            
                                                                                                                                     
                                                                                                                                     





Hi,
      I've initiated 11 stunnel processes in the same server. Each of the
stunnel process has its own client certificate to communicate to
application server. However after sometime of execution, the stunnel
processes are crached (dying off) one by one. below is the last portion of
my log (with debug level 7). I don't see any critical error in the log.
Would appreciate if someone could highlight to me what cause the problem or
anyone has similar experience.

2005.01.25 16:02:41 LOG7[2244:1424]:    0 server connects that finished
2005.01.25 16:02:41 LOG7[2244:1424]:    0 server renegotiatiations
requested
2005.01.25 16:02:41 LOG7[2244:1424]:  486 session cache hits
2005.01.25 16:02:41 LOG7[2244:1424]:    0 session cache misses
2005.01.25 16:02:41 LOG7[2244:1424]:    0 session cache timeouts
2005.01.25 16:02:41 LOG7[2244:1424]: SSL_read returned WANT_: retrying
2005.01.25 16:02:41 LOG7[2244:1804]: SSL socket closed on SSL_read
2005.01.25 16:02:41 LOG5[2244:1804]: Connection closed: 716 bytes sent to
SSL, 359 bytes sent to socket
2005.01.25 16:02:41 LOG7[2244:1804]: HTTP finished (7 left)
2005.01.25 16:02:41 LOG7[2244:1424]: SSL socket closed on SSL_read
2005.01.25 16:02:41 LOG5[2244:1424]: Connection closed: 716 bytes sent to
SSL, 304 bytes sent to socket
2005.01.25 16:02:41 LOG7[2244:1424]: HTTP finished (6 left)
2005.01.25 16:02:41 LOG7[2244:2240]: HTTP accepted FD=516 from
10.3.5.137:1405
2005.01.25 16:02:41 LOG7[2244:2240]: FD 516 in non-blocking mode
2005.01.25 16:02:41 LOG7[2244:2240]: Creating a new thread
2005.01.25 16:02:41 LOG7[2244:2240]: New thread created
2005.01.25 16:02:41 LOG7[2244:1252]: HTTP started
2005.01.25 16:02:41 LOG5[2244:1252]: HTTP connected from 10.3.5.137:1405
2005.01.25 16:02:41 LOG7[2244:1252]: FD 704 in non-blocking mode
2005.01.25 16:02:41 LOG7[2244:1252]: HTTP connecting 10.1.11.56:443
2005.01.25 16:02:41 LOG7[2244:1252]: connect_wait: waiting 10 seconds
2005.01.25 16:02:41 LOG7[2244:1252]: connect_wait: connected
2005.01.25 16:02:41 LOG7[2244:1252]: Remote FD=704 initialized
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): before/connect
initialization
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
client hello A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 read server
hello A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 read
finished A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
change cipher spec A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
finished A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 flush data
2005.01.25 16:02:41 LOG7[2244:1252]:  241 items in the session cache
2005.01.25 16:02:41 LOG7[2244:1252]:  979 client connects (SSL_connect())
2005.01.25 16:02:41 LOG7[2244:1252]:  979 client connects that finished
2005.01.25 16:02:41 LOG7[2244:1252]:  489 client renegotiatations requested
2005.01.25 16:02:41 LOG7[2244:1252]:    0 server connects (SSL_accept())
2005.01.25 16:02:41 LOG7[2244:1252]:    0 server connects that finished
2005.01.25 16:02:41 LOG7[2244:1252]:    0 server renegotiatiations
requested
2005.01.25 16:02:41 LOG7[2244:1252]:  487 session cache hits
2005.01.25 16:02:41 LOG7[2244:1252]:    0 session cache misses
2005.01.25 16:02:41 LOG7[2244:1252]:    0 session cache timeouts
2005.01.25 16:02:41 LOG6[2244:1252]: SSL connected: previous session reused
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSL renegotiate
ciphers
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
client hello A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL_read returned WANT_: retrying
2005.01.25 16:02:41 LOG7[2244:1252]: SSL_write returned WANT_: retrying
2005.01.25 16:02:41 LOG7[2244:1252]: SSL_read returned WANT_: retrying
2005.01.25 16:02:41 LOG7[2244:1252]: SSL_write returned WANT_: retrying
2005.01.25 16:02:41 LOG7[2244:1252]: SSL_read returned WANT_: retrying
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 read server
hello A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 read server
certificate A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 read server
certificate request A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 read server
done A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
client certificate A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
client key exchange A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
certificate verify A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
change cipher spec A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 write
finished A
2005.01.25 16:02:41 LOG7[2244:1252]: SSL state (connect): SSLv3 flush data
2005.01.25 16:02:41 LOG7[2244:1252]: SSL_write returned WANT_: retrying
2005.01.25 16:02:41 LOG7[2244:1252]: SSL_read returned WANT_: retrying
2005.01.25 16:02:42 LOG7[2244:1252]: SSL state (connect): SSLv3 read
finished A
2005.01.25 16:02:42 LOG7[2244:1252]:  242 items in the session cache
2005.01.25 16:02:42 LOG7[2244:1252]:  980 client connects (SSL_connect())
2005.01.25 16:02:42 LOG7[2244:1252]:  980 client connects that finished
2005.01.25 16:02:42 LOG7[2244:1252]:  490 client renegotiatations requested
2005.01.25 16:02:42 LOG7[2244:1252]:    0 server connects (SSL_accept())
2005.01.25 16:02:42 LOG7[2244:1252]:    0 server connects that finished
2005.01.25 16:02:42 LOG7[2244:1252]:    0 server renegotiatiations
requested
2005.01.25 16:02:42 LOG7[2244:1252]:  487 session cache hits
2005.01.25 16:02:42 LOG7[2244:1252]:    0 session cache misses
2005.01.25 16:02:42 LOG7[2244:1252]:    0 session cache timeouts
2005.01.25 16:02:42 LOG7[2244:1252]: SSL_read returned WANT_: retrying
2005.01.25 16:02:43 LOG7[2244:2428]: s_poll_wait timeout waiting for SSL
close_notify
2005.01.25 16:02:43 LOG7[2244:2284]: s_poll_wait timeout waiting for SSL
close_notify
2005.01.25 16:02:43 LOG5[2244:2428]: Connection closed: 606 bytes sent to
SSL, 242 bytes sent to socket
2005.01.25 16:02:43 LOG5[2244:2284]: Connection closed: 7758 bytes sent to
SSL, 23278 bytes sent to socket
2005.01.25 16:02:43 LOG7[2244:2428]: HTTP finished (6 left)
2005.01.25 16:02:43 LOG7[2244:2284]: HTTP finished (5 left)
2005.01.25 16:02:45 LOG7[2244:1188]: s_poll_wait timeout waiting for SSL
close_notify
2005.01.25 16:02:45 LOG5[2244:1188]: Connection closed: 1485 bytes sent to
SSL, 7307 bytes sent to socket
2005.01.25 16:02:47 LOG7[2244:2228]: s_poll_wait timeout waiting for SSL
close_notify
2005.01.25 16:02:47 LOG5[2244:2228]: Connection closed: 667 bytes sent to
SSL, 552 bytes sent to socket
2005.01.25 16:02:49 LOG7[2244:1644]: s_poll_wait timeout waiting for SSL
close_notify
2005.01.25 16:02:49 LOG5[2244:1644]: Connection closed: 667 bytes sent to
SSL, 552 bytes sent to socket
2005.01.25 16:02:50 LOG7[2244:2268]: s_poll_wait timeout waiting for SSL
close_notify
2005.01.25 16:02:50 LOG5[2244:2268]: Connection closed: 418 bytes sent to
SSL, 1375 bytes sent to socket
2005.01.25 16:11:14 LOG7[2244:2240]: HTTP accepted FD=796 from
10.3.5.137:3973
2005.01.25 16:11:14 LOG7[2244:2240]: FD 796 in non-blocking mode
2005.01.25 16:11:14 LOG7[2244:2240]: Creating a new thread
2005.01.25 16:11:14 LOG7[2244:2240]: New thread created
2005.01.25 16:11:14 LOG7[2244:992]: HTTP started
2005.01.25 16:11:14 LOG5[2244:992]: HTTP connected from 10.3.5.137:3973
2005.01.25 16:11:14 LOG7[2244:992]: FD 632 in non-blocking mode
2005.01.25 16:11:14 LOG7[2244:992]: HTTP connecting 10.1.11.56:443
2005.01.25 16:11:14 LOG7[2244:992]: connect_wait: waiting 10 seconds
2005.01.25 16:11:14 LOG7[2244:992]: connect_wait: connected
2005.01.25 16:11:14 LOG7[2244:992]: Remote FD=632 initialized
2005.01.25 16:11:14 LOG7[2244:992]: SSL state (connect): before/connect
initialization
2005.01.25 16:11:14 LOG7[2244:992]: SSL state (connect): SSLv3 write client
hello A
2005.01.25 16:11:14 LOG7[2244:992]: SSL state (connect): SSLv3 read server
hello A
2005.01.25 16:11:14 LOG7[2244:992]: SSL state (connect): SSLv3 read
finished A
2005.01.25 16:11:14 LOG7[2244:992]: SSL state (connect): SSLv3 write change
cipher spec A
2005.01.25 16:11:14 LOG7[2244:992]: SSL state (connect): SSLv3 write
finished A
2005.01.25 16:11:14 LOG7[2244:992]: SSL state (connect): SSLv3 flush data
2005.01.25 16:11:14 LOG7[2244:992]:  242 items in the session cache
2005.01.25 16:11:14 LOG7[2244:992]:  981 client connects (SSL_connect())
2005.01.25 16:11:14 LOG7[2244:992]:  981 client connects that finished
2005.01.25 16:11:14 LOG7[2244:992]:  490 client renegotiatations requested
2005.01.25 16:11:14 LOG7[2244:992]:    0 server connects (SSL_accept())
2005.01.25 16:11:14 LOG7[2244:992]:    0 server connects that finished
2005.01.25 16:11:14 LOG7[2244:992]:    0 server renegotiatiations requested
2005.01.25 16:11:14 LOG7[2244:992]:  488 session cache hits
2005.01.25 16:11:14 LOG7[2244:992]:    0 session cache misses
2005.01.25 16:11:14 LOG7[2244:992]:    0 session cache timeouts
2005.01.25 16:11:14 LOG6[2244:992]: SSL connected: previous session reused
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSL renegotiate
ciphers
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 write client
hello A
2005.01.25 16:11:15 LOG7[2244:992]: SSL_read returned WANT_: retrying
2005.01.25 16:11:15 LOG7[2244:992]: SSL_write returned WANT_: retrying
2005.01.25 16:11:15 LOG7[2244:992]: SSL_read returned WANT_: retrying
2005.01.25 16:11:15 LOG7[2244:992]: SSL_write returned WANT_: retrying
2005.01.25 16:11:15 LOG7[2244:992]: SSL_read returned WANT_: retrying
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 read server
hello A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 read server
certificate A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 read server
certificate request A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 read server
done A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 write client
certificate A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 write client
key exchange A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 write
certificate verify A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 write change
cipher spec A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 write
finished A
2005.01.25 16:11:15 LOG7[2244:992]: SSL state (connect): SSLv3 flush data
2005.01.25 16:11:15 LOG7[2244:992]: SSL_write returned WANT_: retrying
2005.01.25 16:11:15 LOG7[2244:992]: SSL_read returned WANT_: retrying
2005.01.25 16:11:15 LOG7[2244:2268]: HTTP finished (5 left)

thanks and rgds,spl





_______________________________________________
stunnel-users mailing list
stunnel-users at mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users








More information about the stunnel-users mailing list