🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13918

Re: Authentication before reading with INN?

#13918
From: Jonathan I. Kamens
Date: Thu, 09 Jan 1997 00:00
53 lines
2079 bytes
In article <5b39e3$kgo@blaze.cs.jhu.edu>, dshaw@cs.jhu.edu (David Shaw) writes:
|> A quick question:  Is there some way to configure INN to allow the
|> connection, (i.e. no "sorry, can't talk...") but not allow the user to do
|> ANYTHING until they authenticate?  As far as I have been able to figure
|> out, I can require authentication for posting, but not for reading.

In INN 1.4, nnrpd required authentication for the following commands:

	ihave
	post

In INN 1.5 and 1.5.1, on the other hand, nnrpd requires authentication
for the following commands:

	article
	body
	group
	head
	ihave
	last
	list
	listgroup
	newgroups
	newnews
	next
	post
	stat
	xgtitle
	xhdr
	xover
	xpat
	xpath

In fact, the only commands for which INN 1.5.1's nnrpd *doesn't*
require authentication are "authinfo" (obviously :-), "date", "help",
"mode", and "slave".

So, it would seem that INN 1.5.1 already does what you want -- you just
need to modify nnrp.access so that it will allow anyone to connect
(i.e., you have an entry whose first field is "*", and then make sure
that all of the entries (including the one with the "*") have a
username and password specified.

If you're using a previous version of INN and you don't want to
upgrade, you modify the CMDtable in nnrpd/nnrpd.c to indicate which
commands you wish to need authentication, and then recompile and
reinstall nnrpd.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Technical Details
Message-ID: <5b3lig$1l4$3@pad-thai.cam.ov.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.mbox.zip!not-for-mail
References: <5b39e3$kgo@blaze.cs.jhu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5b3lig$1l4$3@pad-thai.cam.ov.com>
Subject: Re: Authentication before reading with INN?
Date: Thu, 09 Jan 1997 00:00:00 +0000
From: jik@cam.ov.com (Jonathan I. Kamens)
References: <5b39e3$kgo@blaze.cs.jhu.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.mbox.zip!not-for-mail
X-Deja-AN: 208775870
Distribution: inet
Organization: OpenVision Technologies, Inc.
Newsgroups: news.software.nntp