🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Chris Lewis Thu, 06 Aug 1992 15:19
NNTP2/User authorization etc.
#1512
Author: Chris Lewis
Date: Thu, 06 Aug 1992 15:19
63 lines
3968 bytes
We're going to be using news and NNTP in some rather bizarre ways, and I'd
like to ask some questions about the new NNTP level 2 authorization stuff,
and where it's at...

Essentially, we will be having news transporting some stuff that should
not be widely disseminated (it's not USENET traffic at all).  We will
be setting up a couple of news servers, and then enabling specific users
to see only specific newsgroups via NNTP.  No posting will be allowed (or
appropriate given the traffic).   There is a fairly high security
requirement, so simply restricting per workstation isn't adequate.

I'm playing with NNTP 1.5.11, and I noticed the "authuser" capability.
Which is just about precisely what we need.

NNTP 1.5.11's implementation of authuser is a bit "off" - the rules for
authentication are supposed to be, according to the AUTHORIZE doc:
	- user issues (via NNTP):
		authuser user <user>
		authuser pass <password>
	
	- user exists in local getpwnam, and password encrypts to the
	  value given in the server's getpwnam(user).
	- user exists in "nntp" group

The latter rule was implemented badly - it insisted that the user's login
group was nntp...  So I fixed it to scan the gr_mem return from getgrnam()

[I know that transmitting plaintext passwords over the network isn't
very secure, but it's better in our case than relying on workstation
security, and a whole lot easier than fiddling around with RSA/rpem/kerberos.
Next go round maybe.]

Anyhow, my questions:
    - was my fix correct?
    - I note that nntp 1.5.11 will only enable it for IHAVE and POST.
      What about article/header/body? etc?  Should not the authorization
      extend to all commands?
    - is this stuff in nntp 1.6?  What changes are there?
    - where can I find a copy of nntp 1.6, and the NNTP2 specs (RFC977 drafts?)
    - is there any indication that the authuser stuff will be integrated
      into the newsreaders?  trn/rn, xrn and gnus are the primary
      interests.  Stan?  I assume that this is a simple matter of the
      newsreader offering up an "authuser user" request, and seeing if the
      NNTP server says it's necessary or not before attempting to retrieve
      the password.
    - NNTP 1.5.11's inews relies upon a file containing plaintext passwords
      for each authorized "user" be maintained on each client machine.
      Aside from the difficulties in securing this file in such a way that
      the readers/inews/whatever can get at it without opening up the whole
      thing, we don't really trust the clients anyways.  So we'd prefer to
      have the newsreader prompt for the password if the file doesn't
      exist.  What are news reader implementors/NNTP guys thoughts on this?
      (of course, having the passwords in a file is essential for NNTP
      feeds, but our interests are mainly in NNTP-capable newsreader
      access).

This seems simple enough to implement on our own in our own fashion, but
I wanted to at least try to remain compatible with the rest of the world.
Ideal situation would be to be in on the alpha/beta for NNTP 1.6 and
hear that some (or be in on the alpha/beta testing) of the newsreaders
are being extended to take advantage of it.

Thank you
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