[stunnel-users] more stunnel problems

Louis Young louis at kwikpay.co.za
Thu Nov 10 10:06:11 CET 2005


Hi guys

Ok, as I've said in a previous mail, I'm now merely trying to get the linux 
client to work. In the config file:

[ssmtp]
accept  = 465
connect = 25


But now:

louislaptop:/usr/local/etc/stunnel # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 louislaptop.kpho.local ESMTP Postfix

Works fine. I get the SMTP prompt.

And now:

louislaptop:/usr/local/etc/stunnel # telnet localhost 465
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

No SMTP prompt.

In the log files:

2005.11.09 16:32:47 LOG5[32348:1]: stunnel 4.14 on i686-pc-linux-gnu 
UCONTEXT+POLL+IPv4 with OpenSSL 0.9.7g 11 Apr 2005
2005.11.09 16:32:47 LOG7[32348:1]: Snagged 64 random bytes from /root/.rnd
2005.11.09 16:32:47 LOG7[32348:1]: Wrote 1024 new random bytes to /root/.rnd
2005.11.09 16:32:47 LOG7[32348:1]: RAND_status claims sufficient entropy for 
the PRNG
2005.11.09 16:32:47 LOG6[32348:1]: PRNG seeded successfully
2005.11.09 16:32:47 LOG7[32348:1]: 
Certificate: /usr/local/etc/stunnel/stunnel.pem
2005.11.09 16:32:47 LOG7[32348:1]: Key 
file: /usr/local/etc/stunnel/stunnel.pem
2005.11.09 16:32:47 LOG6[32348:1]: file ulimit = 1024 (can be changed with 
'ulimit -n')
2005.11.09 16:32:47 LOG6[32348:1]: poll() used - no FD_SETSIZE limit for file 
descriptors
2005.11.09 16:32:47 LOG5[32348:1]: 500 clients allowed
2005.11.09 16:32:47 LOG7[32348:1]: FD 4 in non-blocking mode
2005.11.09 16:32:47 LOG7[32348:1]: FD 5 in non-blocking mode
2005.11.09 16:32:47 LOG7[32348:1]: FD 6 in non-blocking mode
2005.11.09 16:32:47 LOG7[32348:1]: SO_REUSEADDR option set on accept socket
2005.11.09 16:32:47 LOG7[32348:1]: ssmtp bound to 0.0.0.0:7777
2005.11.09 16:32:47 LOG7[32349:1]: Created pid file /stunnel.pid
2005.11.09 16:32:47 LOG7[32349:0]: Waiting -1 second(s) for 2 file 
descriptor(s)
2005.11.09 16:32:53 LOG7[32349:0]: CONTEXT 1, FD=4, (IN)->()
2005.11.09 16:32:53 LOG7[32349:0]: CONTEXT 1, FD=6, (IN)->(IN)
2005.11.09 16:32:53 LOG7[32349:1]: ssmtp accepted FD=7 from 127.0.0.1:15767
2005.11.09 16:32:53 LOG7[32349:1]: Creating a new context
2005.11.09 16:32:53 LOG7[32349:1]: Context 2 created
2005.11.09 16:32:53 LOG7[32349:2]: Context swap: 1 -> 2
2005.11.09 16:32:53 LOG7[32349:2]: ssmtp started
2005.11.09 16:32:53 LOG7[32349:2]: FD 7 in non-blocking mode
2005.11.09 16:32:53 LOG7[32349:2]: TCP_NODELAY option set on local socket
2005.11.09 16:32:53 LOG5[32349:2]: ssmtp connected from 127.0.0.1:15767
2005.11.09 16:32:53 LOG7[32349:2]: SSL state (accept): before/accept 
initialization
2005.11.09 16:32:53 LOG7[32349:0]: Waiting 300 second(s) for 3 file 
descriptor(s)
2005.11.09 16:37:53 LOG7[32349:0]: CONTEXT 1, FD=4, (IN)->()
2005.11.09 16:37:53 LOG7[32349:0]: CONTEXT 1, FD=6, (IN)->()
2005.11.09 16:37:53 LOG7[32349:0]: CONTEXT 2, FD=7, (IN)->()
2005.11.09 16:37:53 LOG6[32349:2]: init_ssl: s_poll_wait timeout
2005.11.09 16:37:53 LOG7[32349:2]: ssmtp finished (0 left)
2005.11.09 16:37:53 LOG3[32349:2]: STACK_RESERVE is too high
2005.11.09 16:37:53 LOG7[32349:2]: Context 2 closed
2005.11.09 16:37:53 LOG7[32349:0]: Waiting -1 second(s) for 2 file 
descriptor(s)
2005.11.09 16:58:51 LOG5[32349:0]: Received signal 15; terminating
2005.11.09 16:58:51 LOG7[32349:0]: removing pid file /stunnel.pid


Any ideas?
-- 
Regards
Louis Young
Systems Administrator
Kwikpay SA (Pty) Ltd



More information about the stunnel-users mailing list