Networking Forums

Networking Forums > Computer Networking > Linux Networking > stunnel and NNTP

Reply
Thread Tools Display Modes

stunnel and NNTP

 
 
Luke Albers
Guest
Posts: n/a

 
      11-23-2003, 08:23 AM
I am trying to connect to my school's usenet server, which uses SSL. I
use Pan as my newsreader in X. Slrn works fine in text mode, but I would
like to be able to use Pan.

I have added the following to /etc/stunnel/stunnel.conf

[NNTP]
protocol = nntp
transparent = yes
accept = 127.0.0.1:119
connect = news.gatech.edu:119

and run

stunnel /etc/stunnel/stunnel.conf

I have pan configured to connect to 127.0.0.1:119 , but when I try to
download headers it tells me that it could not connect to 127.0.0.1:119

Here is the wh*ole thing:

NNTP handshake failed: Error reading from socket.

Connect Failure

Connection to 127.0.0.1, port 119 failed: Connection refused

Error: reading from socket returned -1. Bad file descriptor

socket [0x91c8a90] failed its read: Bad file descriptor

NNTP handshake failed: Error reading from socket.

Handshake failed: Error reading from socket.

NNTP handshake failed: Error reading from socket.

Connect Failure

Thanks for any help
 
Reply With Quote
 
 
 
 
Carles Arjona
Guest
Posts: n/a

 
      12-07-2003, 10:48 PM
Luke Albers wrote:
>
> I am trying to connect to my school's usenet server, which uses SSL. I
> use Pan as my newsreader in X. Slrn works fine in text mode, but I would
> like to be able to use Pan.
>
> I have added the following to /etc/stunnel/stunnel.conf
>
> [NNTP]
> protocol = nntp
> transparent = yes
> accept = 127.0.0.1:119
> connect = news.gatech.edu:119

^^^

Usually NNTP over SSL does'nt use the 119 but the 563 port. From the
/etc/services file:

nntp 119/tcp readnews untp # USENET News Transfer Protocol
nntp 119/udp readnews untp # USENET News Transfer Protocol
nntps 563/tcp # NNTP over SSL
nntps 563/udp # NNTP over SSL


Also make sure that you're running stunnel in client mode.

--
Regards,

Carles Arjona (E-Mail Removed) ( nospammer IS my real username ).
 
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to use stunnel with tin... Ant Linux Networking 25 06-15-2008 11:23 PM
stunnel doing exec; how to get remote IP address? Jem Berkes Linux Networking 5 05-21-2004 05:18 PM
Stunnel encryption level? Me Linux Networking 1 05-17-2004 09:30 PM
STunnel problems Warrick FitzGerald Linux Networking 0 01-21-2004 03:36 AM
Help using stunnel to tunnel through Windows 2K to an HP UX box James Kimble Linux Networking 0 09-01-2003 03:51 AM



1 2 3 4 5 6 7 8 9 10 11