Article View: news.software.nntp
Article #28838Re: feed question on alt.binaries.sounds.mp3
From: Silas Dunsmore
Date: Fri, 05 Jun 1998 00:00
Date: Fri, 05 Jun 1998 00:00
75 lines
4031 bytes
4031 bytes
In article <Mw.4wop4_f6i@fluffy.meow.org>, Fluffy <vulis@meow.org> wrote:
>
>Pulling all those NoCeMs across a LAN or (ugh) a modem is just too
>painful, when most just get tossed out anyway.
That's a good point. This should happen over a fat pipe, and preferably
happen asynchronously.
> An auxiliary file seems like it could work though.
>Just append it with the article numbers. _Possibly_, do one file for
>each issuer and/or type. That would make it easier to do a selection
>thing, perhaps with some WWW/CGI front end to track user prefs. Just
>write a series of article numbers into each file, nnrpd can use those
>build a table of artnums that it will pretend it can't see.
>
>Expiring might be complicated, but it's not as important to keep
>everything in sync like regular expireover. Let it run afterward, it
>can shave old stuff based on the real .overview's low mark and catch up
>on new NoCeMs later. Might not be bad at all if the spam notices are
>excluded from the fun.
Yet we _want_ the spam notices, for those sites which don't apply them
to the spool.
For consideration:
We have a proxy that speaks NNRP. Mostly it passes commands and data
between the client and server. When it sees an OVERVIEW command, it
filters the response stream on-the-fly, checking each Message-ID that
comes through against a database of nocem'ed Message-IDs.
If a notice issuer has tagged that Message-ID as 'hide', and the user
accepts that issuer's recommendations, then that line of overview data
is just dropped on the floor. The client wouldn't ever see it.
The database could be a Perl hash, a DBM file, or even an external
SQL database. All it needs to maintain is a single table keyed on
Message-ID that tracks what issuers (by PGP key?) have said what
(spam/hide, MMF/hide) about the Message-ID. And some internal info
such as expiration date.
There does need to be a list of what users want which notices, or some
other way to indicate this. (Perhaps several nonstandard ports can map
to various levels of filtering?)
There would be a second process which watches news.admin.nocem, or
is fed articles from it, to interpret the notices and maintain the
database. This processing could even be merged into a nocem-on-spool
program, as it would know what notices are applied to the spool and
thus don't need to be added to the database.
The database would need to be valid in a multiple access, many-reader,
one-writer situation. I believe Berkeley DBM has this, as does (of
course) SQL. A shared-memory Perl hash would need explicit interlocks.
I could see running this over a modem, iff the connect was nailed up.
For a dialup, though, it would be much better to run this on the server
side.
--
Later, eh? Silas
CUT TO: Our MIDGET, sitting under a tree in a woodland grove. He holds
in his lap a book titled GALACTIC GUIDE TO PRIMITIVE PLANETS.
Midget(reading from book): "Terrorists, noun. Bands of thieves and murderers
found on primitive planets with Type G suns; groups who act like
governments." Hmmm? (Turns pages.) "Governments, noun. Bands
of thieves and murderers found on primitive planets with Type G
suns; groups who act like terrorists."
Technical Details
Message-ID:
<6l9ab5$126$1@warez.psyber.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-mailReferences:
<357066c0.0@news2.lightlink.com> <Mw.4wf8g_4dt@fluffy.meow.org> <6l5n1v$8b$1@warez.psyber.com> <Mw.4wop4_f6i@fluffy.meow.org>Show Full Headers
Complete Article Headers
Message-ID: <6l9ab5$126$1@warez.psyber.com> Subject: Re: feed question on alt.binaries.sounds.mp3 Date: Fri, 05 Jun 1998 00:00:00 +0000 From: silasd@user.psyber.com (Silas Dunsmore) References: <357066c0.0@news2.lightlink.com> <Mw.4wf8g_4dt@fluffy.meow.org> <6l5n1v$8b$1@warez.psyber.com> <Mw.4wop4_f6i@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-mail X-Deja-AN: 359894556 Organization: Psyberware Internet Access Newsgroups: news.software.nntp