Article View: news.software.nntp
Article #70679Re: configuring innd 2.4.1 with require_ssl and ckpasswd
From: Szymon Sokół
Date: Thu, 03 Feb 2005 14:33
Date: Thu, 03 Feb 2005 14:33
46 lines
2856 bytes
2856 bytes
kmoir <kmoir@ca.ibm.com> wrote:
>
> I'm having problems getting password authentication to work with inn
> 2.4.1 and openssl. I compiled innd 2.4.1 from source using the
> --with-openssl option.
Thus, nnrpd is doing SSL itself, using the OpenSSL library and
eliminating the need for stunnel.
> I would like to force all users to be authenticated with ckpasswd over
> ssl. I'm running nntps through stunnel using the following
> configuration.
What you do is essentially like putting a box in a barnyard, then
wondering why the box's key does not open the barnyard's gate. You want
your newsreader to talk SSL to nnrpd, NOT to any intermediaries (stunnel
in this case).
> server = /usr/sbin/stunnel
> server_args = stunnel /etc/stunnel/stunnel.conf
Change this to:
server = /usr/bin/nnrpd (or wherever you put your nnrpd)
server_args = nnrpd -S
-S is important, see
http://www.eyrie.org/~eagle/software/inn/docs/nnrpd.html#S4
> My readers.conf looks like this
> auth all {
> require_ssl: "true"
> auth: "ckpasswd -f /etc/news/newsusers"
> }
>
>
> access all {
> newsgroups: *
> }
This looks OK.
--
Szymon Sokół (SS4004,SS316-RIPE) -- Network Manager B
Computer Center, University of Mining and Metallurgy, Cracow, Poland. O
http://2510053385/~szymon/ PGP key id: RSA: 0x61094A7D, DSS: 0xF9289982 F
Free speech includes the right not to listen, if not interested -- Heinlein H
Technical Details
Message-ID:
<cttcng$fad$1@galaxy.uci.agh.edu.pl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.zanker.org!newsfeed.icp.pl!news.icp.pl!newsfeed.gazeta.pl!news.nask.pl!news.cyf-kr.edu.pl!agh.edu.pl!news.agh.edu.pl!not-for-mailReferences:
<1107437897.616602.220180@f14g2000cwb.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <cttcng$fad$1@galaxy.uci.agh.edu.pl>
Subject: Re: configuring innd 2.4.1 with require_ssl and ckpasswd
Date: Thu, 03 Feb 2005 14:33:20 +0000
From: Szymon Sokół <szymon@bastard.operator.from.hell.pl>
References: <1107437897.616602.220180@f14g2000cwb.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.zanker.org!newsfeed.icp.pl!news.icp.pl!newsfeed.gazeta.pl!news.nask.pl!news.cyf-kr.edu.pl!agh.edu.pl!news.agh.edu.pl!not-for-mail
Newsgroups: news.software.nntp
Organization: University of Mining & Metallurgy
Lines: 46
Sender: Szymon Sokol <szymon@hell.pl>
NNTP-Posting-Host: hell.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
X-Trace: galaxy.uci.agh.edu.pl 1107441200 15693 149.156.96.35 (3 Feb 2005
X-Complaints-To: usenet@uci.agh.edu.pl
NNTP-Posting-Date: Thu, 3 Feb 2005 14:33:20 +0000 (UTC)
Cancel-Lock: sha1:6lS2n/N/xflVUq2cRP8TQOVVcBQ=
User-Agent: tin/1.7.6-20040906 ("Baleshare") (UNIX) (Linux/2.6.8 (i686))