LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-05-2012, 05:34 PM   #1
dgrames
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 152

Rep: Reputation: 50
pop3 over stunnel


I am having difficulty setting this up.

Thunderbird connects, and just sits there saying connecting.
The logs show the connection but no data is transfered.

my configuration is;

cert = /etc/ssl/certs/stunnel.pem
sslVersion = all
exec = /usr/sbin/popa3d
execargs = popa3d
output = /var/log/stunnel.log
verify = 1
ciphers = HIGH
debug = 7

called from inetd
pop3s stream tcp nowait root /usr/bin/stunnel stunnel /etc/stunnel/pop.conf

output in the log is;

2012.08.05 22:22:21 LOG5[1989:3074082496]: Reading configuration from file /etc/stunnel/pop.co
nf
2012.08.05 22:22:21 LOG7[1989:3074082496]: PRNG seeded successfully
2012.08.05 22:22:21 LOG6[1989:3074082496]: Could not load DH parameters from /etc/ssl/certs/st
unnel.pem
2012.08.05 22:22:21 LOG7[1989:3074082496]: ECDH initialized
2012.08.05 22:22:21 LOG7[1989:3074082496]: Certificate: /etc/ssl/certs/stunnel.pem
2012.08.05 22:22:21 LOG7[1989:3074082496]: Certificate loaded
2012.08.05 22:22:21 LOG7[1989:3074082496]: Key file: /etc/ssl/certs/stunnel.pem
2012.08.05 22:22:21 LOG7[1989:3074082496]: Private key loaded
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL context initialized for service stunnel
2012.08.05 22:22:21 LOG5[1989:3074082496]: Configuration successful
2012.08.05 22:22:21 LOG5[1989:3074082496]: No limit detected for the number of clients
2012.08.05 22:22:21 LOG7[1989:3074082496]: signal_pipe: FD=4 allocated (blocking mode)
2012.08.05 22:22:21 LOG7[1989:3074082496]: signal_pipe: FD=5 allocated (blocking mode)
2012.08.05 22:22:21 LOG5[1989:3074082496]: stunnel 4.35 on i486-slackware-linux-gnu with OpenS
SL 0.9.8x 10 May 2012
2012.08.05 22:22:21 LOG5[1989:3074082496]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv6 Auth:LIBWRAP
2012.08.05 22:22:21 LOG7[1989:3074082496]: Service stunnel started
2012.08.05 22:22:21 LOG7[1989:3074082496]: Service stunnel permitted by libwrap from 192.168.1.6:40835
2012.08.05 22:22:21 LOG5[1989:3074082496]: Service stunnel accepted connection from 192.168.1.6:40835
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): before/accept initialization
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 read client hello A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 write server hello A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 write certificate A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 write certificate request A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 flush data
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 read client certificate A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 read client key exchange A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 read finished A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 write session ticket A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 write change cipher spec A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 write finished A
2012.08.05 22:22:21 LOG7[1989:3074082496]: SSL state (accept): SSLv3 flush data
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 items in the session cache
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 client connects (SSL_connect())
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 client connects that finished
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 client renegotiations requested
2012.08.05 22:22:21 LOG7[1989:3074082496]: 1 server connects (SSL_accept())
2012.08.05 22:22:21 LOG7[1989:3074082496]: 1 server connects that finished
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 server renegotiations requested
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 session cache hits
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 external session cache hits
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 session cache misses
2012.08.05 22:22:21 LOG7[1989:3074082496]: 0 session cache timeouts
2012.08.05 22:22:21 LOG6[1989:3074082496]: SSL accepted: new session negotiated
2012.08.05 22:22:21 LOG6[1989:3074082496]: Negotiated ciphers: AES256-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(256) Mac=SHA1
2012.08.05 22:22:21 LOG7[1989:3074082496]: socket#1: FD=7 allocated (non-blocking mode)
2012.08.05 22:22:21 LOG7[1989:3074082496]: socket#2: FD=8 allocated (non-blocking mode)
2012.08.05 22:22:21 LOG3[1989:3074082496]: connect: Operation now in progress (115)
2012.08.05 22:22:21 LOG5[1989:3074082496]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2012.08.05 22:22:21 LOG7[1989:3074082496]: Service stunnel finished (0 left)

Thanks.

Don Grames
 
Old 08-06-2012, 09:53 PM   #2
dgrames
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 152

Original Poster
Rep: Reputation: 50
pop3 over stunnel

Hi all,

I upgraded stunnel to 4.5.3 - rebuilt the current package.
Now stunnel works fine. Must have been something with the version in 13.37

Don
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fake pop3 server to capture pop3 passwords frater Programming 2 03-25-2012 02:59 AM
Stunnel meetme_nitin Linux - Software 1 06-16-2008 03:43 AM
Stunnel over WiFi... need help linuxgeekery Linux - Wireless Networking 1 08-08-2005 03:03 PM
Need Help: new to stunnel Traveler_Q Linux - Security 1 04-21-2004 08:49 PM
Stunnel for POP3 server J_Szucs Linux - Software 4 05-24-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration