🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76046

Re: SSL support in INN 2.5

#76046
From: Russ Allbery
Date: Sun, 22 Apr 2007 23:30
54 lines
3366 bytes
Iulius <iulius@nom-de-mon-site.com.invalid> writes:
> En réponse à Russ Allbery :

>>> Why the port 433?!?  It is not nntps!
>> 
>> 433 is the other transport NNTP port.

> All right.  I didn't know that « NNSP » protocol (news without reading).
> Is it used by known news servers?

Yes, occasionally, when they want to run innd and nnrpd on separate ports.

>> You're the first person who's tried
>> to use nnrpd -D with SSL in CURRENT so far as I know, so no one had
>> thought about letting it bind to that port.

> Well, would it be please possible to add the port 563 when you have
> time?

>     /* Make sure that we're allowed to bind to that port. */
> -    if (port < 1024 && port != 119 && port != 433 && port != INND_PORT)
> +    if (port < 1024 && port != 119 && port != 433 && port != 563
> +                    && port != INND_PORT)
>         die("cannot bind to restricted port %hu in %s", port, spec);

Yup.  Will do.

>> CURRENT doesn't use sasl.conf any more (really, nothing should have).  Set
>> the options in inn.conf instead.  (I think the name changed slightly to
>> drop the underscores.)

> Oh!  I did not notice that change.
> Would it be please possible to update samples/inn.conf.in, providing
> the new options? (it would be easier for people who migrate)

Huh, I could have sworn they were.  Yes, they should be added.

> I notice the documentation <http://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html>
> mentions that.  Thanks for having pointed it to me!
> By the way, there is a little mistake: « The default value is pathnews/lib/cert.pem. »
> should be « key.pem » for « tlskeyfile ».
> But... why is it called a « default value » if it is unset when I run « nnrpd -S »?

No idea.  I'll try to investigate if I can find some time.  (Really,
really hoping that I can find some time to spend on INN soon, since it's
been far too long.  Things are getting more hopeful in that area, though.)

Thank you very much for your testing and reports!

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87k5w4q96b.fsf@windlord.stanford.edu>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newshub.stanford.edu!shelby.stanford.edu!not-for-mail
References: <f0g32k$83v$1@guepard.ecp.fr> <87bqhgtbtl.fsf@windlord.stanford.edu> <f0gjhb$p5j$1@guepard.ecp.fr>

Show Full Headers
Complete Article Headers
Message-ID: <87k5w4q96b.fsf@windlord.stanford.edu>
Subject: Re: SSL support in INN 2.5
Date: Sun, 22 Apr 2007 16:30:20 -0700
From: Russ Allbery <rra@stanford.edu>
References: <f0g32k$83v$1@guepard.ecp.fr> <87bqhgtbtl.fsf@windlord.stanford.edu> <f0gjhb$p5j$1@guepard.ecp.fr>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newshub.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 54
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.Stanford.EDU 1177284620 21061 171.64.19.147 (22 Apr 2007
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.20 (linux)
Cancel-Lock: sha1:3S8979REBWTsgAvndGZEmJyOnDY=