Article View: news.software.nntp
Article #55471Re: SSL in inn-2.3.2
From: Jeffrey M. Vinocur
Date: Tue, 04 Dec 2001 22:01
Date: Tue, 04 Dec 2001 22:01
36 lines
2322 bytes
2322 bytes
In article <1007484766.857038@virtual.nextra.sk>, <uhlar@fantomas.sk> wrote: > >I set up inn-2.3.2 to use with ssl. Anyway, the docs are very poor here. >How can I define who may use ssl and who not? In straight 2.3.2, you have only the following options: - Run nnrpd only with SSL - Run nnrpd with regular and SSL, with the same configuration file - Run two copies of nnrpd with different configuration files on different ports (563 is common for NNTP-over-SSL) The last option may be enough for what you want, but it's difficult to do in 2.3.2 (because nnrpd looks only for a file called "readers.conf" in the pathetc directory specified in inn.conf). I have a patch which allows you to start nnrpd with the "-c filename" flag to specify an alternative config file. (This functionality got added in the 2.4 tree.) Thus you can have your regular config file be the plaintext one on port 119, and have inetd spawn "nnrpd -c filename" to handle SSL connections on port 563. However, I have another patch which you may find useful. It adds an "ssl_required:" boolean to auth blocks in readers.conf, which allows you to do more complex configurations (for example, only allowing people with encryption to use system passwords). See the patches "nnrpd-readers" and "nnrpd-ssl" at http://www.litech.org/~jeff/inn-diffs/ -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<9ujh2s$q23$3@marduk.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mailReferences:
<1007484766.857038@virtual.nextra.sk>Show Full Headers
Complete Article Headers
Message-ID: <9ujh2s$q23$3@marduk.litech.org> Subject: Re: SSL in inn-2.3.2 Date: Tue, 04 Dec 2001 22:01:00 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <1007484766.857038@virtual.nextra.sk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Lines: 35 Sender: jeff@litech.org NNTP-Posting-Host: marduk.litech.org X-Trace: marduk.litech.org 1007503260 26691 128.84.154.54 (4 Dec 2001 22:01:00 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 4 Dec 2001 22:01:00 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)