Bluehost.com Web Hosting $6.95

[stunnel-users] stunnel and pan newsreader configuration

This is a discussion on [stunnel-users] stunnel and pan newsreader configuration within the Stunnel Users forums, part of the Networking and Network Related category; --===============0111383825== Content-Type: multipart/alternative; boundary="0-1420768880-1192289101=:51239" Content-Transfer-Encoding: 8bit --0-1420768880-1192289101=:51239 ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-13-2007
Kernel Panic
 
Posts: n/a
Default [stunnel-users] stunnel and pan newsreader configuration

--===============0111383825==
Content-Type: multipart/alternative; boundary="0-1420768880-1192289101=:51239"
Content-Transfer-Encoding: 8bit

--0-1420768880-1192289101=:51239
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I am attempting to use stunnel to connect securely to a snntp server using pan 0.132.

The stunnel install was successful, but when attempting to connect to the server using pan, I either receive a "connection refused" or "connection reset by peer" in the pan error log.

Here is the stunnel.log:

2007.10.13 11:16:43 LOG5[5843:3082667712]: stunnel 4.20 on i686-pc-linux-gnu with OpenSSL 0.9.8e 23 Feb 2007
2007.10.13 11:16:43 LOG5[5843:3082667712]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv4 Auth:LIBWRAP
2007.10.13 11:16:43 LOG6[5843:3082667712]: file ulimit = 1024 (can be changed with 'ulimit -n')
2007.10.13 11:16:43 LOG6[5843:3082667712]: poll() used - no FD_SETSIZE limit for file descriptors
2007.10.13 11:16:43 LOG5[5843:3082667712]: 500 clients allowed
2007.10.13 11:16:43 LOG7[5843:3082667712]: FD 4 in non-blocking mode
2007.10.13 11:16:43 LOG7[5843:3082667712]: FD 5 in non-blocking mode
2007.10.13 11:16:43 LOG7[5843:3082667712]: FD 6 in non-blocking mode
2007.10.13 11:16:43 LOG7[5843:3082667712]: SO_REUSEADDR option set on accept socket
2007.10.13 11:16:43 LOG7[5843:3082667712]: NNTP bound to 127.0.0.1:23
2007.10.13 11:16:43 LOG7[5843:3082667712]: Created pid file /home/kpanic/download/stunnel//var/run/stunnel/stunnel.pid
2007.10.13 11:17:00 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1085
2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP started
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 7 in non-blocking mode
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 9 in non-blocking mode
2007.10.13 11:17:00 LOG7[5843:3082667712]: Cleaning up the signal pipe
2007.10.13 11:17:00 LOG6[5843:3082667712]: Child process 5855 finished with code 0
2007.10.13 11:17:00 LOG7[5843:3085958032]: Connection from 127.0.0.1:1085 permitted by libwrap
2007.10.13 11:17:00 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1085
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:00 LOG3[5843:3085958032]: bind transparent: Address already in use (98)
2007.10.13 11:17:00 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP finished (0 left)
2007.10.13 11:17:00 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1086
2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP started
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 7 in non-blocking mode
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 9 in non-blocking mode
2007.10.13 11:17:00 LOG7[5843:3082667712]: Cleaning up the signal pipe
2007.10.13 11:17:00 LOG7[5843:3085958032]: Connection from 127.0.0.1:1086 permitted by libwrap
2007.10.13 11:17:00 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1086
2007.10.13 11:17:00 LOG6[5843:3082667712]: Child process 5857 finished with code 0
2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:00 LOG3[5843:3085958032]: bind transparent: Address already in use (98)
2007.10.13 11:17:00 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP finished (0 left)
2007.10.13 11:17:05 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1087
2007.10.13 11:17:05 LOG7[5843:3085958032]: NNTP started
2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 7 in non-blocking mode
2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 9 in non-blocking mode
2007.10.13 11:17:05 LOG7[5843:3082667712]: Cleaning up the signal pipe
2007.10.13 11:17:05 LOG7[5843:3085958032]: Connection from 127.0.0.1:1087 permitted by libwrap
2007.10.13 11:17:05 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1087
2007.10.13 11:17:05 LOG6[5843:3082667712]: Child process 5860 finished with code 0
2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:05 LOG3[5843:3085958032]: bind transparent: Address already in use (98)
2007.10.13 11:17:05 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2007.10.13 11:17:05 LOG7[5843:3085958032]: NNTP finished (0 left)
2007.10.13 11:17:10 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1088
2007.10.13 11:17:10 LOG7[5843:3085958032]: NNTP started
2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 7 in non-blocking mode
2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 9 in non-blocking mode
2007.10.13 11:17:10 LOG7[5843:3082667712]: Cleaning up the signal pipe
2007.10.13 11:17:10 LOG7[5843:3085958032]: Connection from 127.0.0.1:1088 permitted by libwrap
2007.10.13 11:17:10 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1088
2007.10.13 11:17:10 LOG6[5843:3082667712]: Child process 5863 finished with code 0
2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:10 LOG3[5843:3085958032]: bind transparent: Address already in use (98)
2007.10.13 11:17:10 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2007.10.13 11:17:10 LOG7[5843:3085958032]: NNTP finished (0 left)
2007.10.13 11:17:15 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1089
2007.10.13 11:17:15 LOG7[5843:3085958032]: NNTP started
2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 7 in non-blocking mode
2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 9 in non-blocking mode
2007.10.13 11:17:15 LOG7[5843:3082667712]: Cleaning up the signal pipe
2007.10.13 11:17:15 LOG7[5843:3085958032]: Connection from 127.0.0.1:1089 permitted by libwrap
2007.10.13 11:17:15 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1089
2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 8 in non-blocking mode
2007.10.13 11:17:15 LOG6[5843:3082667712]: Child process 5866 finished with code 0
2007.10.13 11:17:15 LOG3[5843:3085958032]: bind transparent: Address already in use (98)
2007.10.13 11:17:15 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket
2007.10.13 11:17:15 LOG7[5843:3085958032]: NNTP finished (0 left)

Here is the snnt.conf file:

# Debug
debug = 7
output = /home/kpanic/download/stunnel/stunnel.log

# Use it for client mode
client = yes
foreground = yes

[NNTP]
protocol = nntp
protocolusername = username
protocolpassword = password
transparent = yes
accept = localhost:23
connect = secure.server.com:563


Here is the pan error log:

Sat Oct 13 10:46:50 2007 - Error reading from localhost: Connection reset by peer
Sat Oct 13 10:46:55 2007 - Error reading from localhost: Connection reset by peer
Sat Oct 13 10:47:00 2007 - Error reading from localhost: Connection reset by peer
Sat Oct 13 10:47:05 2007 - Error reading from localhost: Connection reset by peer
Sat Oct 13 10:47:10 2007 - Error reading from localhost: Connection reset by peer

Changing the server setup in pan to look at 127.0.0.1

Sat Oct 13 10:45:40 2007 - Pan 0.132 started
Sat Oct 13 10:45:40 2007 - Loaded data backend in 0.0 seconds
Sat Oct 13 10:45:47 2007 - Error reading from 127.0.0.1: Connection reset by peer
Sat Oct 13 10:45:50 2007 - Error reading from 127.0.0.1: Connection reset by peer
Sat Oct 13 10:45:55 2007 - Error reading from 127.0.0.1: Connection reset by peer
Sat Oct 13 10:46:00 2007 - Error reading from 127.0.0.1: Connection reset by peer

Pan configuration:

Address: localhost
Port: 23
Username: username
Password: password

uname -r
2.6.22.9-0.4-bigsmp

suse 10.3

Any assistance would be greatly appreciated.

Thanks - Tim


---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
--0-1420768880-1192289101=:51239
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

I am attempting to use stunnel to connect securely to a snntp server using pan 0.132.<br><br>The stunnel install was successful, but when attempting to connect to the server using pan, I either receive a "connection refused" or "connection reset by peer" in the pan error log.<br><br>Here is the stunnel.log:<br><br>2007.10.13 11:16:43 LOG5[5843:3082667712]: stunnel 4.20 on i686-pc-linux-gnu with OpenSSL 0.9.8e 23 Feb 2007<br>2007.10.13 11:16:43 LOG5[5843:3082667712]: Threading:PTHREAD SSL:ENGINE Sockets:POLL,IPv4 Auth:LIBWRAP<br>2007.10.13 11:16:43 LOG6[5843:3082667712]: file ulimit = 1024 (can be changed with 'ulimit -n')<br>2007.10.13 11:16:43 LOG6[5843:3082667712]: poll() used - no FD_SETSIZE limit for file descriptors<br>2007.10.13 11:16:43 LOG5[5843:3082667712]: 500 clients allowed<br>2007.10.13 11:16:43 LOG7[5843:3082667712]: FD 4 in non-blocking mode<br>2007.10.13 11:16:43 LOG7[5843:3082667712]: FD 5 in non-blocking mode<br>2007.10.13 11:16:43 LOG7[5843:3082667712]:
FD 6 in non-blocking mode<br>2007.10.13 11:16:43 LOG7[5843:3082667712]: SO_REUSEADDR option set on accept socket<br>2007.10.13 11:16:43 LOG7[5843:3082667712]: NNTP bound to 127.0.0.1:23<br>2007.10.13 11:16:43 LOG7[5843:3082667712]: Created pid file /home/kpanic/download/stunnel//var/run/stunnel/stunnel.pid<br>2007.10.13 11:17:00 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1085<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP started<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 7 in non-blocking mode<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 9 in non-blocking mode<br>2007.10.13 11:17:00 LOG7[5843:3082667712]: Cleaning up the signal pipe<br>2007.10.13 11:17:00 LOG6[5843:3082667712]: Child process 5855 finished with code 0<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: Connection from 127.0.0.1:1085 permitted by libwrap<br>2007.10.13 11:17:00 LOG5[5843:3085958032]: NNTP accepted
connection from 127.0.0.1:1085<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:00 LOG3[5843:3085958032]: bind transparent: Address already in use (98)<br>2007.10.13 11:17:00 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP finished (0 left)<br>2007.10.13 11:17:00 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1086<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP started<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 7 in non-blocking mode<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 9 in non-blocking mode<br>2007.10.13 11:17:00 LOG7[5843:3082667712]: Cleaning up the signal pipe<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: Connection from 127.0.0.1:1086 permitted by libwrap<br>2007.10.13 11:17:00 LOG5[5843:3085958032]: NNTP accepted connection from
127.0.0.1:1086<br>2007.10.13 11:17:00 LOG6[5843:3082667712]: Child process 5857 finished with code 0<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:00 LOG3[5843:3085958032]: bind transparent: Address already in use (98)<br>2007.10.13 11:17:00 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<br>2007.10.13 11:17:00 LOG7[5843:3085958032]: NNTP finished (0 left)<br>2007.10.13 11:17:05 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1087<br>2007.10.13 11:17:05 LOG7[5843:3085958032]: NNTP started<br>2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 7 in non-blocking mode<br>2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 9 in non-blocking mode<br>2007.10.13 11:17:05 LOG7[5843:3082667712]: Cleaning up the signal pipe<br>2007.10.13 11:17:05 LOG7[5843:3085958032]: Connection from 127.0.0.1:1087 permitted by libwrap<br>2007.10.13
11:17:05 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1087<br>2007.10.13 11:17:05 LOG6[5843:3082667712]: Child process 5860 finished with code 0<br>2007.10.13 11:17:05 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:05 LOG3[5843:3085958032]: bind transparent: Address already in use (98)<br>2007.10.13 11:17:05 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<br>2007.10.13 11:17:05 LOG7[5843:3085958032]: NNTP finished (0 left)<br>2007.10.13 11:17:10 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1088<br>2007.10.13 11:17:10 LOG7[5843:3085958032]: NNTP started<br>2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 7 in non-blocking mode<br>2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 9 in non-blocking mode<br>2007.10.13 11:17:10 LOG7[5843:3082667712]: Cleaning up the signal pipe<br>2007.10.13 11:17:10 LOG7[5843:3085958032]:
Connection from 127.0.0.1:1088 permitted by libwrap<br>2007.10.13 11:17:10 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1088<br>2007.10.13 11:17:10 LOG6[5843:3082667712]: Child process 5863 finished with code 0<br>2007.10.13 11:17:10 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:10 LOG3[5843:3085958032]: bind transparent: Address already in use (98)<br>2007.10.13 11:17:10 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<br>2007.10.13 11:17:10 LOG7[5843:3085958032]: NNTP finished (0 left)<br>2007.10.13 11:17:15 LOG7[5843:3082667712]: NNTP accepted FD=7 from 127.0.0.1:1089<br>2007.10.13 11:17:15 LOG7[5843:3085958032]: NNTP started<br>2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 7 in non-blocking mode<br>2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 9 in non-blocking mode<br>2007.10.13 11:17:15 LOG7[5843:3082667712]: Cleaning up
the signal pipe<br>2007.10.13 11:17:15 LOG7[5843:3085958032]: Connection from 127.0.0.1:1089 permitted by libwrap<br>2007.10.13 11:17:15 LOG5[5843:3085958032]: NNTP accepted connection from 127.0.0.1:1089<br>2007.10.13 11:17:15 LOG7[5843:3085958032]: FD 8 in non-blocking mode<br>2007.10.13 11:17:15 LOG6[5843:3082667712]: Child process 5866 finished with code 0<br>2007.10.13 11:17:15 LOG3[5843:3085958032]: bind transparent: Address already in use (98)<br>2007.10.13 11:17:15 LOG5[5843:3085958032]: Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<br>2007.10.13 11:17:15 LOG7[5843:3085958032]: NNTP finished (0 left)<br><br>Here is the snnt.conf file:<br><br># Debug<br>debug = 7<br>output = /home/kpanic/download/stunnel/stunnel.log<br><br># Use it for client mode<br>client = yes<br>foreground = yes<br><br>[NNTP]<br>protocol = nntp<br>protocolusername = username<br>protocolpassword = password<br>transparent = yes<br>accept = localhost:23<br>connect =
secure.server.com:563<br><br><br>Here is the pan error log:<br><br>Sat Oct 13 10:46:50 2007 - Error reading from localhost: Connection reset by peer<br>Sat Oct 13 10:46:55 2007 - Error reading from localhost: Connection reset by peer<br>Sat Oct 13 10:47:00 2007 - Error reading from localhost: Connection reset by peer<br>Sat Oct 13 10:47:05 2007 - Error reading from localhost: Connection reset by peer<br>Sat Oct 13 10:47:10 2007 - Error reading from localhost: Connection reset by peer<br><br>Changing the server setup in pan to look at 127.0.0.1<br><br>Sat Oct 13 10:45:40 2007 - Pan 0.132 started<br>Sat Oct 13 10:45:40 2007 - Loaded data backend in 0.0 seconds<br>Sat Oct 13 10:45:47 2007 - Error reading from 127.0.0.1: Connection reset by peer<br>Sat Oct 13 10:45:50 2007 - Error reading from 127.0.0.1: Connection reset by peer<br>Sat Oct 13 10:45:55 2007 - Error reading from 127.0.0.1: Connection reset by peer<br>Sat Oct 13 10:46:00 2007 - Error reading from 127.0.0.1:
Connection reset by peer<br><br>Pan configuration:<br><br>Address: localhost<br>Port: 23<br>Username: username<br>Password: password<br><br>uname -r<br>2.6.22.9-0.4-bigsmp<br><br>suse 10.3<br><br>Any assistance would be greatly appreciated.<br><br>Thanks - Tim<br><p>
<hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a>
--0-1420768880-1192289101=:51239--


--===============0111383825==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users

--===============0111383825==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 04:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0