🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80574

Re: Suggestion for SSL with nnrpd.

#80574
From: Julien ÉLIE
Date: Wed, 15 Apr 2009 18:22
49 lines
3068 bytes
Hi Jeffrey,

>>However, I do not think readers.conf is an appropriate place for TLS
>>configuration,
>
> I suppose we could give nnrpd another flag (like -c) that would
> specify which inn.conf to use

Maybe we should not make TLS configuration an inn.conf setting.
The "sasl.conf" file would have been fine for that :->

nnrpd -c readers.conf -S -s tls.conf

would work fine!

tls.conf would contain the four needed parameters.


> it would require extra effort from
> the admin to keep multiple inn.conf files if the only thing to be
> different is tls, but it would provide lots of flexibility for
> the rare case when it is needed, without being too hard to code.

It would have been easier with inclusions but I see that the inn.conf
parser knows to do that only with groups:

    Finally, the body of a group may be defined in a separate file.
    To do this, rather than writing the body of the group enclosed in {},
    instead give the file name in <>:

        group tag <filename>

So we cannot use inclusions to maintain different inn.conf with only TLS
configuration changing.


> On the other hand, inn.conf path is baked into other programs
> (e.g. authenticators) so this might turn out harder to code than
> it first seems.

And also INN::Config with Perl hooks like nnrpd_auth.pl...

-- 
Julien ÉLIE

« Cette apostrophe me déconcerte et me réduit au silence,
  parce que l'homme sensible comme moi, tout entier à ce qu'on lui objecte,
  perd la tête, et ne se retrouve qu'au bas de l'escalier. » (Denis Diderot) 
Technical Details
Message-ID: <gs58od$qut$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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gs36av$dfg$1@aux.snarked.org> <gs3uns$jm5$1@news.trigofacile.com> <gs47mk$j5p$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <gs58od$qut$1@news.trigofacile.com>
Subject: Re: Suggestion for SSL with nnrpd.
Date: Wed, 15 Apr 2009 20:22:06 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gs36av$dfg$1@aux.snarked.org> <gs3uns$jm5$1@news.trigofacile.com> <gs47mk$j5p$1@puck.litech.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!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 49
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 1239819853 27613 83.112.154.169 (15 Apr 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 15 Apr 2009 18:24:13 +0000 (UTC)
In-Reply-To: <gs47mk$j5p$1@puck.litech.org>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049