🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70148

Re: INN 2.4.1 and SSL

#70148
From: Jeffrey M. Vinocur
Date: Tue, 19 Oct 2004 09:34
34 lines
2438 bytes
In article <cl2l3a$3ld$1@beech.fernuni-hagen.de>,
Dominik Klein  <Dominik.Klein@FernUni-Hagen.de> wrote:
>
>So is it "normal" to start "nnprd -D -S -p 563" as "root" or would you 
>recommend setting it suid=root and then start it as "news"?

These two options have equivalent security risk.  And you're
right, nnrpd is a large chunk of code to be running as root.  On
the other hand, I can't recall the last time there was an
exploitable problem with nnrpd.

You have one other option, which -is- more secure.  You can
configure inetd/xinetd to listen on port 563 and spown an
`nnrpd -S` for each incoming connection.  This has somewhat more
startup overhead for each connection, but if your system isn't
overwhelmed with clients, give it a shot.


>Another question I would like to put is if there is any official INN 
>LDAP Module so INN can authenticate against an LDAP Server.

The `ckpasswd` utility in recent versions of INN can authenticate
against PAM, and many operating systems these days have PAM
support for authenticating against LDAP.  We used to use this
configuration, and it was very easy.

If your system does not support PAM, probably the easiest option
is to use the Perl authentication hooks, but this will require
writing a small amount of code.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <cl2n2c$b76$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.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!64.42.15.2!HSNX.atgi.net!headwall.stanford.edu!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <cl2l3a$3ld$1@beech.fernuni-hagen.de>

Show Full Headers
Complete Article Headers
Message-ID: <cl2n2c$b76$1@puck.litech.org>
Subject: Re: INN 2.4.1 and SSL
Date: Tue, 19 Oct 2004 09:34:04 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <cl2l3a$3ld$1@beech.fernuni-hagen.de>
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!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!64.42.15.2!HSNX.atgi.net!headwall.stanford.edu!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 34
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1098178444 11494 66.218.0.75 (19 Oct 2004 09:34:04
 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Tue, 19 Oct 2004 09:34:04 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)