🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26080

Re: NNTP extension for server based read message tracking

#26080
From: Karl Kleinpaste
Date: Tue, 10 Feb 1998 00:00
46 lines
2986 bytes
"Tim Hewitt" <thewitt@spf.fairchildsemi.com> writes:
> Is there somewhere to discuss the possible extension of the NNTP
> specification to allow for server side management of what newsgroups I am
> subscribed to, and what messages I have read?

I did that once.

In Autumn '93, I wrote a FILE verb extension for INN 1.4 nnrpd (the
"0804" unoff version was current back then), which provided for
exactly this capability.  It was actually 3 distinct things that were
storable: newsrc, killfile, and "personal information."  I did this
for CompuServe's news installation.  However, CompuServe concluded
(correctly) that the mechanism I designed was not appropriate for
their installation because it wouldn't scale too well, being dependent
on the UNIX filesystem tree for a couple million users.  So they wrote
a different database backend for the purpose (which I can't discuss
for obvious NDA reasons).

So CompuServe didn't take that piece of code to heart, and in fact it
was one of the things Doug Needham (of CServe) and I were eventually
supposed to send back to the INN developers crowd, but I guess we
never quite got around to that.  Hm.  I might be able to dredge the
code without too much difficulty; I'll take a look sometime this week,
but it may require unmothballing an ancient 486DX2/66 system I haven't
booted in 2 years.

The basic idea is deliberately simplistic: define a hierarchy in which
to store user data on the server.  Accept a command of the form
	FILE [ NEWSRC | KILLFILE | INFO ] [ STORE | READ | DELETE ]
so that "FILE NEWSRC STORE" was how the client would send over the new
contents of the .newsrc file, sent as a block of text terminated by a
typical dot-only line.  Similarly, FILE READ would hand over text, and 
FILE DELETE would destroy it entirely.

The tags "NEWSRC," "KILLFILE," and "INFO" were totally, utterly
arbitrary; the nnrpd code used those qualifiers merely to decide which
file to open, and didn't have any opinion at all as to what goo the
client sent to be stored there.

The feature worked quite well, but was useful to me only in my own
little test/dev environment, at home, outside the CServe firewall.

--karl

Technical Details
Message-ID: <vxk3ehrkxen.fsf@pocari-sweat.jprc.com>
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: <34df0c00.0@wantest>

Show Full Headers
Complete Article Headers
Message-ID: <vxk3ehrkxen.fsf@pocari-sweat.jprc.com>
Subject: Re: NNTP extension for server based read message tracking
Date: Tue, 10 Feb 1998 00:00:00 +0000
From: Karl Kleinpaste <karl@jprc.com>
References: <34df0c00.0@wantest>
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: 323860874
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
Keywords: file,newsrc,store,read,killfile,code
Organization: Justsystem Pittsburgh Research Center
Newsgroups: news.software.nntp