🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #4781

Re: Authenticated news access

#4781
From: Miracle Workers
Date: Fri, 09 Feb 1996 00:00
104 lines
5521 bytes
In article <4f7816$nsm@papaioea.manawatu.gen.nz>,
 alan@papaioea.manawatu.planet.org.nz says...
>
>>Not sure about kerberos authentication, but if they would help in getting 
>>passwd/shadow authentication working I would like to see the mods.
>
>It may be worthwhile contacting the news admins at Massey University
>in New Zealand as they've implemented Kerberos authentication for 
>a couple of years. It's at least worth seeing how they implemented it.
>
>Try G.Eustace@massey.ac.nz or B.R.Foster@massey.ac.nz

We are running C-News, with patch CR.G, and nntp.1.5.12.1 so the
following isn't directly relevant to this chain.  This article
indicates some of the authentication with which we run our News
system.  We have made other changes to tighten up on defaults.
C-News, being a collection of small programs and scripts, is easy to
work with for these purposes.

We obviously can't speak for any similar INN mods.  We are also
sure that our changes described below won't give any clues about
how to get shadow password authentication working.

All of our central Unix services have been kerberised.  We are using
Kerberos Version 4; there are export restrictions on getting Version 5
out of the USA.

Users thus have one username and password which can be used on any of
our Unix machines.  We insist on nearly all outgoing posts being
authenticated.  We have locally modified nntp.1.5.12.1 to verify a
username and password against a Kerberos server.  A single subroutine
call is all that is required and the linker needs to be told of a
couple of extra libraries.

Having the Kerberos-aware nntp daemon described above has the
advantage that the users don't need to have an entry in the password
file on the News machine.  However there are much better reasons for
installing Kerberos.

Note that this doesn't mean we are running with kerberised
Newsreaders.  We aren't, we are using the Kerberos server to verify
usernames and associated passwords.  This has the disadvantage
that passwords are passed across the network in cleartext.

Kerberised Newsreaders would probably involve passing an ASCII
representation of a Kerberos ticket to a generic authenticator on the
News server.  We haven't thought a great deal about this.  We aren't
running with generic authentication switched on in nntp.1.5.12.1.

We mark posts authenticated by the Kerberos server.  We force in an
appropriate Sender line.  For example:

Sender: ccsdhd@bath.ac.uk (Verified by Kerberos)

The above will also be a valid email address, so there is no need for
a X-Nntp-Posting-Host: header.  Although we do include such a header.

(This article is an example of the above.  The From: line indicates
 the co-authors of the article.  The Sender: line indicates the
 individual who posted the article.)

We are also running with Peter Eriksson's portable ident daemon on our
Unix systems.  We have found it useful to accept an RFC1413 lookup as
authentication.  Doing this does have the advantage that the user's
password isn't passed across the network in cleartext.

The local modifications to nntp.1.5.12.1 were fairly straightforward.
Peter provides a library of routines for querying ident servers.

(We are aware that identd replies can be forged.  However insisting
 on at least an identd response instead of accepting posts without any
 authentication does raise the ante.  Users who will think nothing of
 providing a dubious From: line aren't necessarily going to invest
 effort in learning how to forge identd replies.  We'll obviously have
 to rethink this strategy if abuse does become apparent.  Individuals
 running Linux on PC's obviously have sufficient privilege to forge
 RFC1413 lookups.)

Accepting RFC1413 lookups enables us to accept postings from clients
such as Pine and Mosaic which don't seem to be able to handle
username/password authentication.  We mark such articles with a Sender
line of the form:

Sender: ccsdhd@anquetil.bath.ac.uk (RFC1413: verified)

The above won't necessarily be a valid email address.  Not all of our
machines have MX records.  And we can't speak for all the other Unix
boxes on campus that are running ident daemons.  But it should be
sufficient to identify the poster.

Finally a few users can post without authentication.  This is mainly
individual users on personal PC's.  We mark such posts with a Sender:
line of the form:

Sender: nobody@merckx.bath.ac.uk (Not verified by RFC1413 or Kerberos)

-- 
Icarus Sparry         Dennis Davis           News Admins,
I.Sparry@bath.ac.uk   D.H.Davis@bath.ac.uk   University of Bath, UK




Technical Details
Message-ID: <DMIo9A.6z.B.solomon@bath.ac.uk>
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: <DLqoxC.8yv@lut.ac.uk> <4e9iom$da3@azure.acsu.buffalo.edu> <cam2-2901961438490001@chester.cit.cornell.edu> <4f615d$ug_001@tpgi.com.au> <4f7816$nsm@papaioea.manawatu.gen.nz>

Show Full Headers
Complete Article Headers
Message-ID: <DMIo9A.6z.B.solomon@bath.ac.uk>
Subject: Re: Authenticated news access
Date: Fri, 09 Feb 1996 00:00:00 +0000
From: news@bath.ac.uk (Miracle Workers)
References: <DLqoxC.8yv@lut.ac.uk> <4e9iom$da3@azure.acsu.buffalo.edu> <cam2-2901961438490001@chester.cit.cornell.edu> <4f615d$ug_001@tpgi.com.au> <4f7816$nsm@papaioea.manawatu.gen.nz>
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: 138623268
X-nntp-posting-host: merckx.bath.ac.uk
Sender: ccsdhd@bath.ac.uk (Verified by Kerberos)
Content-type: Text/Plain; charset=US-ASCII
Organization: Bath University Computing Services, UK
Mime-version: 1.0
Newsgroups: news.software.nntp