🚀 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 (c.r.) lewis Tue, 15 Nov 1994 00:59
Re: Per-user NNTP authentication: news software authors take note!
#3029
Author: chris (c.r.) lewis
Date: Tue, 15 Nov 1994 00:59
55 lines
3272 bytes
[No, I actually *hadn't* put the followup in the first message.  Silly
me.  Please respect it now so that responses can be a little more timely...]

In article <CyzCnx.CKM@clarinet.com>,
Brad Templeton <brad@looking.clarinet.com> wrote:
>There is a solid demand for auditing in addition to authentication.

>I'm sad to see that the proposed systems don't offer a facility for that.
>In order to audit (for example to calculate readership statistics)
>it is necessary for the nnrp/nntp server to know who it is talking to.

Don't be sad Brad, be glad, I already had.

(don't be mad Brad, I just had <pause_pause> to ;-).

Logging in a server is an implementation detail, and has nothing to
do with the NNTP protocol itself.  I'd probably be hoist up the yardarm
for saying anything about logging in the AUTHINFO GENERIC spec.

However, both NNTP 1.5.12 and INN 1.5 *will* know who the user is.
The Server-authenticator API has the authenticator spit out a
new nntp_access file entry on stderr, which is used to tell the
server which groups the user is allowed to access.  Part of the
nntp_access structure includes both the userid and host name
that the authenticator has authenticated.  Both INN and NNTP 1.5.12
log the entire nntp_access record (NOTICE level via syslog), and
you can retrieve it from there.

Here is a sample of NNTP 1.5.12 syslog:

Nov 10 15:29:58 local nntpd[2179]: bcarh2ec auth clewis@bnr.ca (bnr.ca:RP:clewis
::*)

Here is a sample of INN 1.5 syslog:

Nov 10 15:57:38 bcarh8ac nnrpd[17121]: bcarh2ec.bnr.ca auth clewis (AUTHINFO GENERIC ypauth -> bnr.ca:RP:clewis::*

[These record formats may be changed slightly, depending on time available.]

Secondly, both NNTP 1.5.12 and INN 1.5 also issue syslog NOTICE records
for each time the reader accesses a group.  Eg:

    Nov 10 15:30:00 local nntpd[2179]: bcarh2ec group news.admin.technical

Hence, by tracking the pids in the nntpd lines, the "auth" entries, and
the "group" records, you can generate arbitron data.

Whether other servers will be able to record this information is
entirely an implementation detail.
-- 
Every once in a while I write something that someone might use
in a signature.  So I go back and make it real spiffy.  No luck.
Then some guy goes and uses *that* dog.  Argh!

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