Article View: news.software.nntp
Article #86288Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
From: Michael Baeuerle
Date: Sat, 28 Jun 2014 10:24
Date: Sat, 28 Jun 2014 10:24
66 lines
3787 bytes
3787 bytes
Daniel Webster wrote: > Silent Knight wrote: > > > > So does that mean that ubuntu will never work with mixmin? > > You would think a modern OS such as Ubuntu would handle > this natively, but it apparently doesn't. > > At least not without a lot of setup. > > It's not enough to just install & set up pan. > It's not enough to install & set up stunnel. > It's not enough to research & create a stunnel.conf file. > It's not enough to add to the hosts.allow file (why it's required, I don't know). There surely was a good reason to disable the internal TLS support of Pan. Maybe it was broken or contained security vulnerabilities. > You have to also create a private and public key. > > I have *never* in my life created a public and private key, so, > I have to figure out *why* stunnel requires this when nothing else > requires it (e.g., not Tor, not https, not Truecrypt, etc.). And this should not be required for most client application including NNTP newsreaders. > Apparently these commands have to be modified for Ubuntu 13.10 to work: > $ openssl genrsa -out priv.pem > $ openssl req -new -x509 -key priv.pem -out stunnel.pem -days 1095 What you are doing here is creating your own X509 certificate. This is likely no good idea and may not work if the result will be a self-signed certificate (nobody will trust it). > How to modify them, I don't know. > > I don't even have an idea *why* these commands are needed, nor, why stunnel > doesn't just supply whatever keys it needs, nor even how to answer the > prompts from that last "openssl" command above. X509 certificates can be used for TLS connnections by both peers for authentication. But in nearly all cases, only the server use them to authenticate itself to the client (by using a certificate that is signed by an official CA the client has to trust). The client to server authentication for NNTPS connections is normally done simply with username and password (AUTHINFO USER extension). > So, it's still not working yet ... Maybe you should first check the TLS connection with the "openssl s_client" tool. Look at the openssl_s_client(1) man page. There are also many examples available via Internet. If OpenSSL can establish an encrypted connection to your server, you can try to let stunnel do that for you and to let Pan do the client to server authentication the same way as without TLS. [Xpost reduced to news.software.nntp] Micha -- http://micha.freeshell.org/
Technical Details
Message-ID:
<AABTrpfkb20AAE4U.A1.flnews@WStation4.micha.freeshell.org>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!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<loikqq$lgi$1@speranza.aioe.org> <slrnlqqbst.a1l.steve@snorky. mixmin.net> <lojso1$oha$1@speranza.aioe.org> <20140627-213709.477.0@ whosbest54.nntpswitch.blueworldhosting.com> <lokoq5$5ao$1@speranza.aioe.org > <lokou8$pe4$1@solani.org> <lokq4r$8md$1@speranza.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <AABTrpfkb20AAE4U.A1.flnews@WStation4.micha.freeshell.org> Subject: Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu Date: Sat, 28 Jun 2014 10:24:36 +0000 From: Michael Baeuerle <michael.baeuerle@gmx.net> References: <loikqq$lgi$1@speranza.aioe.org> <slrnlqqbst.a1l.steve@snorky. mixmin.net> <lojso1$oha$1@speranza.aioe.org> <20140627-213709.477.0@ whosbest54.nntpswitch.blueworldhosting.com> <lokoq5$5ao$1@speranza.aioe.org > <lokou8$pe4$1@solani.org> <lokq4r$8md$1@speranza.aioe.org> 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!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.nntp Lines: 66 Mime-Version: 1.0 X-Trace: individual.net sMUOt9GCBS2NvTisu4UQIAIdXIu5YrTF8pypW2I8Wq7ovnKCZp X-Orig-Path: not-for-mail Cancel-Lock: sha1:FLcF0oMu4E3BEVe/fGEk8eYT42o= Injection-Date: 28 Jun 2014 10:24:36 -0000 User-Agent: flnews/0.7 (for AIX)