🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by David Shaw Thu, 09 Jan 1997 00:00
Authentication before reading with INN?
#13909
Author: David Shaw
Date: Thu, 09 Jan 1997 00:00
19 lines
1264 bytes
Hi all,

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.

Any thoughts?

David

-- 
    David Shaw  |  dshaw@cs.jhu.edu  |  WWW http://www.cs.jhu.edu/~dshaw/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson

Re: Authentication before reading with INN?
#13918
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads