[stunnel-users] after 4.30 no more working
Axel Reinhold
stunnel at freakout.de
Thu Jan 28 10:34:24 CET 2010
My current compile-install-configure-run environment is broken with 4.30.
Up to 4.29 stunnel is working ok for me. 4.30 compiles, installs but when
running it (i simply start /opt/ssl/bin/stunnel) the behaviour is completely
different. Up to version 4.29 the program simply starts and logs to syslog:
root at bongo opt]# /opt/ssl/bin/stunnel
root at bongo opt]# grep stunnel /var/log/maillog
Jan 27 21:38:25 bongo stunnel: LOG5[31985:16384]: stunnel 4.29 on i686-pc-linux-gnu with OpenSSL 0.9.8l 5 Nov 2009
Jan 27 21:38:25 bongo stunnel: LOG5[31985:16384]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP
Jan 27 21:38:25 bongo stunnel: LOG6[31985:16384]: file ulimit = 1024 (can be changed with 'ulimit -n')
Jan 27 21:38:25 bongo stunnel: LOG6[31985:16384]: poll() used - no FD_SETSIZE limit for file descriptors
Jan 27 21:38:25 bongo stunnel: LOG5[31985:16384]: 500 clients allowed
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 9 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 10 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 11 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: SO_REUSEADDR option set on accept socket
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: imaps bound to 0.0.0.0:993
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 12 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: SO_REUSEADDR option set on accept socket
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: pop3s bound to 0.0.0.0:995
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 13 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: SO_REUSEADDR option set on accept socket
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: arcorpop3 bound to 127.0.0.1:3003
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 14 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: SO_REUSEADDR option set on accept socket
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: bnvhpop3 bound to 127.0.0.1:3004
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 15 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: SO_REUSEADDR option set on accept socket
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: netidpop3 bound to 127.0.0.1:3005
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: FD 16 in non-blocking mode
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: SO_REUSEADDR option set on accept socket
Jan 27 21:38:25 bongo stunnel: LOG7[31985:16384]: icybolt bound to 127.0.0.1:3006
Jan 27 21:38:25 bongo stunnel: LOG7[31991:16384]: Created pid file /var/run/stunnel.pid
With 4.30 i get lots of messages to the console and stunnel does not fork
into background - where is the magic to get the old behaviour with 4.30?
At the end stunnel reports: daemon: No such file or directory (2)
root at bongo opt]# /opt/ssl/bin/stunnel
Reading configuration from file /etc/ssl/stunnel/stunnel.conf
Snagged 64 random bytes from /root/.rnd
Wrote 1024 new random bytes to /root/.rnd
RAND_status claims sufficient entropy for the PRNG
PRNG seeded successfully
Certificate: /etc/ssl/stunnel/freakout.pem
Certificate loaded
Key file: /etc/ssl/stunnel/freakout.key
Private key loaded
SSL context initialized for service imaps
Certificate: /etc/ssl/stunnel/freakout.pem
Certificate loaded
Key file: /etc/ssl/stunnel/freakout.key
Private key loaded
SSL context initialized for service pop3s
SSL context initialized for service arcorpop3
SSL context initialized for service bnvhpop3
SSL context initialized for service netidpop3
SSL context initialized for service icybolt
Configuration successful
No limit detected for the number of clients
FD=8 in non-blocking mode
FD=9 in non-blocking mode
FD=10 in non-blocking mode
Option SO_REUSEADDR set on accept socket
Service imaps bound to 0.0.0.0:993
Service imaps opened FD=10
FD=11 in non-blocking mode
Option SO_REUSEADDR set on accept socket
Service pop3s bound to 0.0.0.0:995
Service pop3s opened FD=11
FD=12 in non-blocking mode
Option SO_REUSEADDR set on accept socket
Service arcorpop3 bound to 127.0.0.1:3003
Service arcorpop3 opened FD=12
FD=13 in non-blocking mode
Option SO_REUSEADDR set on accept socket
Service bnvhpop3 bound to 127.0.0.1:3004
Service bnvhpop3 opened FD=13
FD=14 in non-blocking mode
Option SO_REUSEADDR set on accept socket
Service netidpop3 bound to 127.0.0.1:3005
Service netidpop3 opened FD=14
FD=15 in non-blocking mode
Option SO_REUSEADDR set on accept socket
Service icybolt bound to 127.0.0.1:3006
Service icybolt opened FD=15
Created pid file /var/run/stunnel.pid
daemon: No such file or directory (2)
removing pid file /var/run/stunnel.pid
Axel
More information about the stunnel-users
mailing list