2005.05.22 09:35:59 LOG7[40016:0]: Waiting 43181 second(s) for 6 file descriptor(s) 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 1, FD=6, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 1, FD=8, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 2, FD=10, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 2, FD=9, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 4, FD=12, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 4, FD=11, (IN)->(IN) 2005.05.22 09:36:02 LOG7[40016:4]: SSL alert (read): warning: close notify 2005.05.22 09:36:02 LOG7[40016:4]: SSL closed on SSL_read 2005.05.22 09:36:02 LOG7[40016:4]: Socket write shutdown 2005.05.22 09:36:02 LOG7[40016:4]: SSL write shutdown 2005.05.22 09:36:02 LOG7[40016:0]: Waiting 60 second(s) for 6 file descriptor(s) 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 1, FD=6, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 1, FD=8, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 2, FD=10, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 2, FD=9, (IN)->() 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 4, FD=12, (IN)->(IN) 2005.05.22 09:36:02 LOG7[40016:0]: CONTEXT 4, FD=11, (OUT)->(OUT) 2005.05.22 09:36:02 LOG7[40016:4]: SSL alert (write): warning: close notify 2005.05.22 09:36:02 LOG6[40016:4]: SSL_shutdown successfully sent close_notify 2005.05.22 09:36:02 LOG5[40016:4]: Connection closed: 2526 bytes sent to SSL, 154 bytes sent to socket 2005.05.22 09:36:02 LOG7[40016:4]: sircd1 finished (1 left) 2005.05.22 09:36:02 LOG7[40016:4]: removing pid file /stunnel.pid gateway2# cat stunnel.conf ; Sample stunnel configuration file by Michal Trojnara 2002-2005 ; Some options used here may not be adequate for your particular configuration ; Please make sure you understand them (especially the effect of chroot jail) ; Certificate/key is needed in server mode and optional in client mode cert = /root/ircd/stunnel/stunnel-4.10/dab.pem ;key = /usr/local/etc/stunnel/mail.pem ; Some security enhancements for UNIX systems - comment them out on Win32 chroot = /usr/local/var/stunnel/ setuid = nobody setgid = nogroup ; PID is created inside chroot jail pid = /stunnel.pid ; Some performance tunings socket = l:TCP_NODELAY=1 socket = r:TCP_NODELAY=1 ;compression = rle ; Workaround for Eudora bug ;options = DONT_INSERT_EMPTY_FRAGMENTS ; Authentication stuff ;verify = 2 ; Don't forget to c_rehash CApath; CApath is located inside chroot jail: ;CApath = /certs ; It's often easier to use CAfile: ;CAfile = /usr/local/etc/stunnel/certs.pem ; Don't forget to c_rehash CRLpath; CRLpath is located inside chroot jail: ;CRLpath = /crls ; Alternatively you can use CRLfile: ;CRLfile = /usr/local/etc/stunnel/crls.pem ; Some debugging stuff useful for troubleshooting debug = 7 output = stunnel.log ; Use it for client mode client = no ; Service-level configuration [sircd1] accept = 216.176.177.138:9876 connect = 216.176.177.138:6667 ;[https] ;accept = 443 ;connect = 80 ;TIMEOUTclose = 0 ; vim:ft=dosini gateway2#