Article View: news.software.nntp
Article #86019Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
From: Steve Crook
Date: Sun, 06 Jul 2014 14:44
Date: Sun, 06 Jul 2014 14:44
67 lines
3118 bytes
3118 bytes
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. -- And with glasses high we raised a cry for freedom had arrived
Technical Details
Message-ID:
<slrnlrio5l.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!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <slrnlrio5l.a1l.steve@snorky.mixmin.net> Subject: Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu Date: Sun, 06 Jul 2014 14:44:05 +0000 From: Steve Crook <steve@mixmin.net> 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> 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!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!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: Sun, 6 Jul 2014 14:44:05 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="8965"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.2-18 (Linux) Lines: 66