🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86315

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

#86315
From: John F. Morse
Date: Mon, 07 Jul 2014 03:39
89 lines
4377 bytes
On 07/06/2014 09:44 AM, Steve Crook wrote:
> On Sun, 6 Jul 2014 13:54:56 +0000 (UTC), Daniel Webster wrote in
> Message-Id: <lpbkfg$no5$1@speranza.aioe.org>:
>
>> On Sun, 06 Jul 2014 13:16:59 +0000, Steve Crook wrote:
>>
>>> A couple of recent posts prompt me to ask: Have you got
>>> 'client = yes'
>>> in your stunnel config?
>>>
>>> Without this, stunnel will try to run as a server and will certainly
>>> require a key/cert.
>> Good question.
>> Here's my /etc/stunnel/stunnel.conf file (with comments removed):
>>
>> options = NO_SSLv2
>> sslVersion = SSLv3
>> cert = /etc/ssl/certs/stunnel.pem
>> chroot = /var/lib/stunnel4/
>> setuid = stunnel4
>> setgid = stunnel4
>> pid = /stunnel4.pid
>> socket = l:TCP_NODELAY=1
>> socket = r:TCP_NODELAY=1
>> compression = zlib
>> [nntp]
>> client = yes
>> accept = localhost:119
>> connect = news.mixmin.net:563
>>
>> Most of these I am not sure what I should use as I was just
>> picking from the examples, but no one tutorial or example
>> workd - so this is a mixmash (relatively arbitrary).
> I think some of your options are in the wrong places.  There are global
> options that go at the top of the file and service options that are
> preceded by square brackets (e.g. [nntp]).
>
> You have the following in the global section but they're Service
> Options:-
>
> options = NO_SSLv2
> sslVersion = SSLv3
> cert = /etc/ssl/certs/stunnel.pem
>
> Your config is more complex than I've previously seen for stunnel but
> that's probably because the packaged version of stunnel you're using
> specifies some defaults, (Such as running in a chroot jail).  I'd
> suggest trying it with this:-
>
> chroot = /var/lib/stunnel4/
> setuid = stunnel4
> setgid = stunnel4
> pid = /stunnel4.pid
> socket = l:TCP_NODELAY=1
> socket = r:TCP_NODELAY=1
>
> [nntp]
> client = yes
> options = NO_SSLv2
> accept = localhost:119
> connect = news.mixmin.net:563
>
> If that works, you could try adding back in options like compression.


Steve, please let these people know just what CN you used when you created
your certificate, so it will match what they are expecting to see coming from you.

news.mixmin.net -- or -- mixmin.net

You can use gcr-viewer which is part of the gcr package.

Reasoning: I use a local BIND9 DNS server on my LAN to resolve the many
hostnames on my LAN. If I create a certificate and use the FQDN -- which
includes the local hostname -- many of my users will not be able to connect
when using any other FQDN (the FQDN the Internet DNS knows). So I cannot
include it in the CN.

That means for access by me, from a client on my LAN, I have to use port 119
and unencrypted. That is not a problem because port 119 is not routed from the
WAN to any LAN client. and nobody will be sniffing my authentication.


-- 
John

When a person has -- whether they knew it or not -- already
rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <lpd4om$42m$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
References: <loikqq$lgi$1@speranza.aioe.org> <lojso1$oha$1@speranza.aioe.org > <lokou8$pe4$1@solani.org> <lokq4r$8md$1@speranza.aioe.org> <slrnlrij2b. a1l.steve@snorky.mixmin.net> <lpbkfg$no5$1@speranza.aioe.org> <slrnlrio5l.a1l.steve@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <lpd4om$42m$1@n102.xanadu-bbs.net>
Subject: Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Date: Sun, 06 Jul 2014 22:39:01 -0500
From: "John F. Morse" <john@example.invalid>
References: <loikqq$lgi$1@speranza.aioe.org> <lojso1$oha$1@speranza.aioe.org > <lokou8$pe4$1@solani.org> <lokq4r$8md$1@speranza.aioe.org> <slrnlrij2b. a1l.steve@snorky.mixmin.net> <lpbkfg$no5$1@speranza.aioe.org> <slrnlrio5l.a1l.steve@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 89
Reply-To: dont.bother
NNTP-Posting-Host: z1PbaSFi7ytHMEPlr2aTHg
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Mon, 7 Jul 2014 03:39:02 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
In-Reply-To: <slrnlrio5l.a1l.steve@snorky.mixmin.net>
X-Enigmail-Version: 1.6