🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #157

Re: NNTP authentication

#157
From: Johan Vromans
Date: Tue, 02 May 1989 20:33
41 lines
2399 bytes
In article <13084@paris.ics.uci.edu> nagel@beaver.ics.uci.edu (Mark Nagel) writes:
>  This has been brought up before, but some people here have recently
>  re-asked the question, "Why can't we make certain groups readable only
>  be certain people?" again.  [Etc...]

Having to deal with the same problem, I have hacked nntp 1.5 with the
following extensions:

 - the client sends a "HELO <username>" command upon connection, and
   uses the result instead of the initial "Ready" message if it's 250
   or 251.
 - the server accepts such a "HELO <username>" command, and can use it
   to delimit access. Posting access is denied by sending "251"
   instead of "250" (if I remember well).
 - the newsgroup name matching algorith has been made more restrictive,
   such that "group-x" means "group-x" only. Extensions could be made
   to add full 'rnews'-style newsgroups-lists.

Of course, this method depends on the co-operation of the client. Any
user who can write his own nntp-access routines can bypass the
user-based authorization (not the hostname-based authorization).
Currently, if no "HELO" command is sent, default access for the host
is allowed.

Writing the hostname/username in the nntp logfile gives usefull
information about the users who are reading news using nntp.

Of course this is a hack. It works for me, but it is not fool-proof
not completed.

If anyone wants to take these modifications as a start, I'll be glad
to send them.

	Johan

--
Johan Vromans			 jv@mh.nl via european backbone (mcvax)
Multihouse Automatisering bv		uucp: ..!{mcvax,hp4nl}!mh.nl!jv
Doesburgweg 7					  phone: +31 1820 62944
2803 PL Gouda - The Netherlands			    fax: +31 1820 62500
Technical Details
Message-ID: <JV.89May2143345@mhres.mh.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!mhres!jv
References: <13084@paris.ics.uci.edu>

Show Full Headers
Complete Article Headers
Message-ID: <JV.89May2143345@mhres.mh.nl>
Subject: Re: NNTP authentication
Date: Tue, 02 May 1989 20:33:45 +0000
From: jv@mh.nl (Johan Vromans)
References: <13084@paris.ics.uci.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!mhres!jv
Newsgroups: news.software.nntp
Sender: jv@mhres.mh.nl
Organization: Multihouse Gouda, the Netherlands
Lines: 40
In-reply-to: nagel@beaver.ics.uci.edu's message of 1 May 89 22:48:27 GMT