🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80570

Re: Suggestion for SSL with nnrpd.

#80570
From: Julien ÉLIE
Date: Wed, 15 Apr 2009 06:25
44 lines
3315 bytes
Hi D. Stussy,

> It appears that the SSL configuration is in inn.conf.  However, it also
> appears that nnrpd cannot override the choices made there.  It would be
> nice if there were permitted an SSL configuration in readers.conf so that
> multiple nnrpds could be run, each using a separate address, and therefore
> have certificates that match the hostname assigned to each separate IP
> address (i.e. virtual hosting).

That's an useful request.
However, I do not think readers.conf is an appropriate place for TLS configuration,
at least the way it is used now (auth and access blocks only).
As you see for instance, the require_ssl: parameter is in an auth block; this
auth group is used if the connection is encrypted using TLS so it is already
to late.
readers.conf is read for authentication needs, in order to find out the rights
an user has and subsequent possible modifications of nnrpd's behaviour
(a few overrides).

So maybe nnrpd's code should be reorganized to better use readers.conf
if this parameter should really be in this file.
And use of global options at top-level of readers.conf?

Or, another possible thing, like the "-S" flag to nnrpd for initial TLS
connections, would be to override these four parameters with options
passed to nnrpd.
Which approach seems to be the right one to take?



> Shouldn't the PID file also use the -I (instance) parameter to generate its
> filename, as port alone might not be unique in such situations?

Not only in these situations anyway.  The same port with different binding
addresses would also not work.
The problem with -I is that it will also change message-IDs so another
option should perhaps be used. (?)

-- 
Julien ÉLIE

« Il faut que j'en parle à notre chef ; ce n'est pas normal que des Romains
  bravent les dangers de la forêt, surtout quand les dangers, c'est nous ! » (Astérix) 
Technical Details
Message-ID: <gs3uns$jm5$1@news.trigofacile.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.20141118.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gs36av$dfg$1@aux.snarked.org>

Show Full Headers
Complete Article Headers
Message-ID: <gs3uns$jm5$1@news.trigofacile.com>
Subject: Re: Suggestion for SSL with nnrpd.
Date: Wed, 15 Apr 2009 08:25:01 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gs36av$dfg$1@aux.snarked.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.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 44
NNTP-Posting-Host: aaubervilliers-151-1-59-169.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1239776829 20165 83.112.154.169 (15 Apr 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 15 Apr 2009 06:27:09 +0000 (UTC)
In-Reply-To: <gs36av$dfg$1@aux.snarked.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049