🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86088

Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu

#86088
From: Steve Crook
Date: Wed, 09 Jul 2014 08:17
73 lines
3539 bytes
On Wed, 9 Jul 2014 02:32:44 +0000 (UTC), Daniel Webster wrote in
Message-Id: <lpi9kc$jmm$1@speranza.aioe.org>:

> On Tue, 08 Jul 2014 08:54:00 +0000, Steve Crook wrote:
>
>> I've just installed stunnel on another machine and connected to
>> news.mixmin.net.  Here are the steps:-
>
> Hi Steve,
> Thanks for documenting & testing that installation sequence.
> Yours is so much simpler than what I went through on Ubuntu.
>
> QUESTION1:
> Can you confirm that you have nothing related in your host.allow?
My hosts.allow has nothing in it except comments.

> QUESTION2:
> It looks like you confirmed there is no need for a certificate, correct?
Correct

> QUESTION3:
> Would you confirm that you didn't need any of those settings in
> the stunnel.conf file, such as sslVersion, cert, chroot, setuid, 
> setgid, pid, socket, etc?
Correct.  A lot of those relate to running in a chroot jail.  If you
were running as a server or accepting connections on anything other than
localhost, this would be a good security measure.  As a localhost client
though, I don't think there's much value.

> If it was always this simple, then, somehow, I made it complicated
> when it didn't need to be (but, in my defence, I never saw a 
> stunnel-with-pan tutorial as simple as your setup below).
>
> Thanks a lot Steve, as the answer to this question will help
> a *lot* of other Linux users!
>
> I'm going to change my configuration now and see if a test
> message will work from 64-bit Ubuntu 13.10.
>
>> I've just installed stunnel on another machine and connected to
>> news.mixmin.net.  Here are the steps:-
>> 
>> Install Stunnel:-
>> apt-get update
>> apt-get install stunnel
>> 
>> Create a config file:-
>> vi /etc/stunnel/nntp.conf
>> [nntp]
>> client = yes
>> accept = 127.0.0.1:119
>> connect = news.mixmin.net:563
>> 
>> Enable Stunnel:-
>> vi /etc/default/stunnel
>> ENABLED=1
>> 
>> Start Stunnel:-
>> /etc/init.d/stunnel start
>> 
>> Test connectivity:-
>> $ telnet localhost 119
>> Trying ::1...
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> 200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20140315
>> prerelease) ready (posting ok)
>> quit
>> 205 Bye!

-- 
And with glasses high we raised a cry for freedom had arrived
Technical Details
Message-ID: <slrnlrpukp.a1l.steve@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
References: <loikqq$lgi$1@speranza.aioe.org> <lokou8$pe4$1@solani.org> < lpbkfg$no5$1@speranza.aioe.org> <lpd4om$42m$1@n102.xanadu-bbs.net> < slrnlrkmj8.a1l.steve@snorky.mixmin.net> <lpeqhc$ae3$1@speranza.aioe.org> < slrnlrncd8.a1l.steve@snorky.mixmin.net> <lpi9kc$jmm$1@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnlrpukp.a1l.steve@snorky.mixmin.net>
Subject: Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Date: Wed, 09 Jul 2014 08:17:29 +0000
From: Steve Crook <steve@mixmin.net>
References: <loikqq$lgi$1@speranza.aioe.org> <lokou8$pe4$1@solani.org> < lpbkfg$no5$1@speranza.aioe.org> <lpd4om$42m$1@n102.xanadu-bbs.net> < slrnlrkmj8.a1l.steve@snorky.mixmin.net> <lpeqhc$ae3$1@speranza.aioe.org> < slrnlrncd8.a1l.steve@snorky.mixmin.net> <lpi9kc$jmm$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
Newsgroups: news.software.nntp,alt.free.newsservers,alt.os.linux.ubuntu
Organization: Mixmin
Injection-Date: Wed, 9 Jul 2014 08:17:29 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4";
 logging-data="20073"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.2-18 (Linux)
Lines: 72