Article View: news.software.nntp
Article #31378Cancel lock demo code
From: Fluffy
Date: Mon, 14 Sep 1998 00:00
Date: Mon, 14 Sep 1998 00:00
32 lines
2299 bytes
2299 bytes
I've put together the cancel stuff I've been playing with in a tarball for anyone who's interested. This is an implementation in perl of the cancel lock stuff that's being discussed in usenet-format. At this early stage, I'm pretending that Supersedes: doesn't exist. Included are a simple replacement for inews that generates cancel locks (sorry, nothing for nntp readers at this point), an nnrpd filter that will add an administrator lock to anything that contains a user lock, and cancel code that checks the locks in the innd filter. It requires the very latest INN snapshot and there are a few perl modules you'll need to pick up. To make this work, you'll need to run INN with the -C flag. I'm assuming that you have a current Cleanfeed installed. Again, Supersedes are being ignored at this point because I wanted to keep the changes to Cleanfeed minimal, and at the moment they're sort of useless anyway =) Please check the perl stuff carefully. There are some site-specific paths and things you'll need to adjust, and you might want to change the way I'm doing cancel verification (use keys and locks if present, else fall back to RFC 1036; if the cancel arrives before the original article, it gets processed unconditionally). Oh yeah, it's at <URL:http://www.deathsdoor.com/meowing/> The draft and relevant RFCs are included for your amusement. Remember, this is a test. This is only a test. Meow.
Technical Details
Message-ID:
<Ez9stw.9HL@fluffy.meow.org>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-mailShow Full Headers
Complete Article Headers
Message-ID: <Ez9stw.9HL@fluffy.meow.org> Subject: Cancel lock demo code Date: Mon, 14 Sep 1998 00:00:00 +0000 From: fluffy@fluffy.meow.org (Fluffy) 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: 390948625 Mail-Copies-To: never X-Complaints-To: abuse@demon.net X-Mail2News-Path: news.demon.net!fluffy.meow.org X-Trace: mail2news.demon.co.uk 905770315 mail2news:10056 mail2news mail2news.demon.co.uk Organization: Ruler of All Usenet (on sabbatical) X-P-Meow: Meow Cancel-Lock: 1:rg9+6Kcqkenq1nKSYXqsMcqctGI= 1:YUeH+6y5zFUBXOg9gjngZtxAiB8= Newsgroups: news.admin.net-abuse.usenet,news.software.nntp