🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24351

New approach for NoCeM-on-spool history updates?

#24351
From: Andrew Gierth
Date: Sun, 14 Dec 1997 00:00
33 lines
1962 bytes
This was a kind of wild idea I had....

ncmspool uses the INN control channel to update the history and do
cancels, which is known to have a few problems. c-nocem requires that
you pause the server. I think I've found an approach which, while it
requires an addition to innd, might well work better than either of
the above.

The idea goes something like this. Define a new control message type
and add code to INN to handle it. It's processed only if it arrives
from localhost or the Unix-domain socket (various additional
safeguards are needed here, which I'm still thinking about). The body
of such a message is treated as a list of message-ids, each of which
is added to history (if not present) or looked up (*not* cancelled).
The article body is rewritten (yucky, but I couldn't think of a better
way) to include the article paths. (You would arrange for the article
to be propagated to a channel feed to actually do the deletions, to
avoid tying up the main loop.)

I've implemented this (except for the security checks) and it seems to
work in principle.

Questions:

  - is this an incredibly stupid idea?
  - has someone done this already?
  - is anyone interested?

-- 
Andrew.

Technical Details
Message-ID: <87g1nwml64.fsf@erlenstar.demon.co.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

Show Full Headers
Complete Article Headers
Message-ID: <87g1nwml64.fsf@erlenstar.demon.co.uk>
Subject: New approach for NoCeM-on-spool history updates?
Date: Sun, 14 Dec 1997 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.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
X-Deja-AN: 298030158
X-NNTP-Posting-Host: erlenstar.demon.co.uk [194.222.144.22]
X-Mayan-Date: Long count = 12.19.4.13.12; tzolkin = 2 Eb; haab = 10 Mac
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
Newsgroups: news.software.nntp