๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251866

Re: [Leafnode] using with stunnel

#251866
From: gregor herrmann
Date: Fri, 26 Oct 2012 21:35
55 lines
4291 bytes
On Fri, 26 Oct 2012 19:57:13 +0100, Whiskers wrote:

> Has anyone else out there managed to get Leafnode (fetchnews) working with
> stunnel, on a Linux system?

Yes.

A difference I noted in my config:

> $ cat /etc/stunnel/stunnel.conf
[..]
> [nntp]
> accept = 2119
> connect = news.individual.net:563

[whatever]
connect = real.server:563
accept = localhost:563


Note the "localhost:" in the accept line. Not sure if it helps but it
might be worth a try.

> $ sudo fetchnews -vvv
> fetchnews mode: get articles, get headers, get bodies, post articles
> found 0 articles in in.coming.
> localhost: connecting to port 2119
>   trying:    address ::1 port 2119...
>   cannot connect: Connection refused
>   trying:    address 127.0.0.1 port 2119...
>   connected: address 127.0.0.1 port 2119.
> localhost NNTP server disconnected or timed out while waiting for response
> localhost: Server didn't want to talk to us, reply code -1
> localhost: connecting to port 3119
>   trying:    address ::1 port 3119...
>   cannot connect: Connection refused
>   trying:    address 127.0.0.1 port 3119...
>   connected: address 127.0.0.1 port 3119.
> localhost NNTP server disconnected or timed out while waiting for response
> localhost: Server didn't want to talk to us, reply code -1
> fetchnews: 0 articles and 0 headers fetched, 0 killed, 0 posted, in 2 seconds
>
> It looks as though stunnel is refusing to accept the connections from
> leafnode, but I can't work out why.  Any useful suggestions?

Besides the above: a plain `telnet localhost 2119' helps to check
stunnel without having fetchnews involved.


gregor
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Didier Squiban: Varations sur laridรฉ ร  6 temps
Technical Details
Message-ID: <i9crl9xiic.ln2@news.comodo.priv.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnk8ln89.5p1.catwheezel@ID-107770.user.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <i9crl9xiic.ln2@news.comodo.priv.at>
Subject: Re: [Leafnode] using with stunnel
Date: Fri, 26 Oct 2012 23:35:14 +0200
From: gregor herrmann <gregor+usenet-0601@comodo.priv.at>
References: <slrnk8ln89.5p1.catwheezel@ID-107770.user.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: Happy Debian GNU/Linux Users
Lines: 55
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net
 82ZcMlAU7b1KDKwyRREYYwVJn8o3V8ARAG3u3y6I1Wd5daWB4euDoDfvRxabugI6Q=
X-Orig-Path: news.comodo.priv.at!not-for-mail
Cancel-Lock: sha1:N7tPRBEeqHdqaFq4/Hh19p1d5F0=
 sha1:F072e3TFpYOVCLlAffsSl3TvJ7M=
User-Agent: slrn/pre1.0.0-18 (Linux) tinews.pl/1.1.13
X-Face: -kg'V!M2hYTiiEt:oj$rToa+c^7N.t}]V^j}|%+]%3J&tOm^9mc^1-#9o=\8VJpV7b~nx
 I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