[stunnel-users] unexpected shutdown of stunnel

Daniel Graupner listen at danielgraupner.de
Sun May 15 10:44:07 CEST 2005


Hello,

I use Freebsd and made an update from stunnel 4.8 to stunnel 4.10 from
the ports today. Now I noticed that stunnel stops after a while.

Here is my conf:
chroot = /usr/local/stunnel
pid = /stunnel.pid
setuid = stunnel
setgid = stunnel
debug = 7
output = /usr/local/stunnel/stunnel.log
client = yes

[https]
accept  = localhost:9999
connect = <ssl-apache>:443
TIMEOUTclose = 0

And these are the last lines of the log:005.05.15 10:34:00
LOG7[60990:0]: Waiting 0 second(s) for 3 file descriptor(s)
2005.05.15 10:34:00 LOG7[60990:0]: CONTEXT 1, FD=4, (IN)->()
2005.05.15 10:34:00 LOG7[60990:0]: CONTEXT 1, FD=6, (IN)->()
2005.05.15 10:34:00 LOG7[60990:0]: CONTEXT 3, FD=8, (INOUT)->(OUT)
2005.05.15 10:34:00 LOG7[60990:3]: SSL alert (write): warning: close notify
2005.05.15 10:34:00 LOG7[60990:3]: SSL_shutdown retrying
2005.05.15 10:34:00 LOG7[60990:3]: SSL doesn't need to read or write
2005.05.15 10:34:00 LOG7[60990:0]: Waiting 0 second(s) for 3 file
descriptor(s)
2005.05.15 10:34:00 LOG7[60990:0]: CONTEXT 1, FD=4, (IN)->()
2005.05.15 10:34:00 LOG7[60990:0]: CONTEXT 1, FD=6, (IN)->()
2005.05.15 10:34:00 LOG7[60990:0]: CONTEXT 3, FD=8, (IN)->(IN)
2005.05.15 10:34:00 LOG7[60990:3]: SSL alert (read): warning: close notify
2005.05.15 10:34:00 LOG7[60990:3]: SSL closed on SSL_read
2005.05.15 10:34:00 LOG7[60990:3]: Socket write shutdown
2005.05.15 10:34:00 LOG5[60990:3]: Connection closed: 197 bytes sent to
SSL, 784 bytes sent to socket
2005.05.15 10:34:00 LOG7[60990:3]: https finished (0 left)
2005.05.15 10:34:00 LOG7[60990:3]: removing pid file /stunnel.pid



Everything went fine with 4.8, now stunnel is not running anymore after
a short period of time (few minutes).

Regards, Daniel.



More information about the stunnel-users mailing list