Article View: news.software.nntp
Article #31443Re: News RBL
From: Clifton Royston
Date: Wed, 16 Sep 1998 00:00
Date: Wed, 16 Sep 1998 00:00
58 lines
3014 bytes
3014 bytes
Robert Bonomi (robert@news.bonomi.com) wrote:
: In article <6toqlr$oa2$1@news1.exit109.com>,
: Jeremy <jeremy@exit109.com> wrote:
: Idea:
: With only a handful of 'special case' tests (e.g., 'upper/lower bound
: on article size', 'is binary', and 'contains HTML'),
: I believe all the other 'fundamental' checks can be _expressed_ with
: regexps,
: If we consider a regexp as effectively a boolean -- returning TRUE or
: FALSE, based on a successful/un-successful match.
: One can then derive a fairly straightforward 'grammar' for expressing
: an arbitrarily complex filter.
: Postulate a 'term', consists of:
: a constant,
[...]
Ah heck - FWIW, I already pointed Jeremy at this. Go see the
handwaving, ranting, rough EBNF syntax, & examples at:
<http://www.lava.net/~cliftonr/viewfile/>
I haven't worked on it since last July, so the examples are already a
bit dated, and there's no code to implement it yet, but portions of the
design are a good starting point if the discussion is heading the way
of generalized filters. You've re-invented several of the same
concepts I was proposing there, including a syntax for an strn-style
additive score. GMTA, I guess.
A sample of the syntax as currently defined:
# Specify news section of the file, for forward compatibility
[News]
#
# Drop open server cancels, hard.
wipe IF (PATH openudp)
#
# Drop open servers, hard and preferably on the head.
wipe IF (PATH news.telebahia.net.br) | (PATH CONTAINS nic.dtag.de)
#
# My pet peeve - dump suspected self-approvals from Altopia, but allow
# the same article if it comes in from elsewhere.
discard IF (PATH news.alt.net) & ( Approved: PATTERN .* )
#
# Dump massive crossposts
wipe IF NGROUPS > 10
... etc.
Part of the file design concept is that the distributed file could also
be used as a killfile with a modified newsreader, at sites not
supporting this on the server side.
-- Clifton
--
Clifton Royston -- President, LavaNet Inc. -- cliftonr@lava.net
Grosvenor Center .. Makai Tower, #1590 .. 733 Bishop St. .. Honolulu HI 96813
Phone: +1 808 545-LAVA (545-5282) Auto-info email: info@lava.net
Technical Details
Message-ID:
<6tpgje$eht@mochi.lava.net>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:
<MPG.10683519d064f10b9896cf@enews.newsguy.com> <6tmpe9$aer$1@news1.exit109.com> <6tontg$7sia$1@newssvr04-int.news.prodigy.com> <6toqlr$oa2$1@news1.exit109.com> <6tpbe5$3at@enews3.newsguy.com>Show Full Headers
Complete Article Headers
Message-ID: <6tpgje$eht@mochi.lava.net> Subject: Re: News RBL Date: Wed, 16 Sep 1998 00:00:00 +0000 From: cliftonr@lava.net (Clifton Royston) References: <MPG.10683519d064f10b9896cf@enews.newsguy.com> <6tmpe9$aer$1@news1.exit109.com> <6tontg$7sia$1@newssvr04-int.news.prodigy.com> <6toqlr$oa2$1@news1.exit109.com> <6tpbe5$3at@enews3.newsguy.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 X-Deja-AN: 391873929 Followup-To: news.admin.net-abuse.usenet,news.software.nntp Organization: LavaNet, Inc. Newsgroups: news.admin.net-abuse.usenet,news.software.nntp