Article View: news.software.nntp
Article #32946Cleanfeed group-based binary filters
From: Clifton Royston
Date: Fri, 13 Nov 1998 00:00
Date: Fri, 13 Nov 1998 00:00
62 lines
3332 bytes
3332 bytes
If folks are interested, here are the simple
"labeled-illegal-content" binary filters we added to our Cleanfeed
install. (Helpful if you want to make a decision yourself as to what
binaries you carry, instead of leaving it to the likes of Karl.)
Basically we took the existing "bin_allowed" capability which is used
to test group names, and added a second opposite variable called
"bad_bin" - binary posts are filtered out of groups if they *fail* to
match bin_allowed, or if they *do* match bad_bin.
We then set bad_bin to some patterns which attempt to match most/all
of the self-identified kiddy porn and warez binary groups, without
"collateral damage" to innocuous binary groups like
alt.binaries.pictures.children or others. The standard we've used as
the basis for the pattern is what would be prima facie illegal to
possess/distribute in non-Usenet form in the US (self-identified child
porn or software copyright violations), but the mechanism allows sites
to set their own policy easily with a line in cleanfeed.conf if they
don't like our choice.
Because only binaries get filtered, we preserve discussions in those
groups in the interest of free speech; as we're using the "bin_allowed"
filter, we also don't need to worry about stealth binary
groups/hierarchies outside of the official binary hierarchies (e.g.
alt.japanese.neojapan), as they'll get their binaries filtered out the
same way. So far this looks like it's working pretty well.
RCS file: RCS/cleanfeed.conf,v
retrieving revision 1.4
diff -r1.4 cleanfeed.conf
21a22,28
> ### Bad binaries (LavaNet local group). These are binary groups which
> ### are not allowed to contain binary posts for legal reasons.
> 'bad_bin' =>
> '((sex|erotica?)\.(child|pre-teen|early-teen|babies|13-17))|'.
> '((child|pre-teen|early-teen|babies|13-17)\.(sex|erotica?))|'.
> 'firsthair|crack|ware[zsx]|lolita|pedophil',
>
26c33,38
< 'active_file' => undef,
---
> 'active_file' => '/usr/local/news/db/active',
>
> ### binaries allowed if groups match
> 'bin_allowed' => '\.binae?r|^alt\.sex\.pictures|^fur\.artwork'.
> '|^alt\.anonymous\.messages$|^de\.alt\.dateien|^rec\.games\.bolo$'.
> '|^comp\.security\.pgp\.test$|sfnet\.tiedostot',
The change to cleanfeed is one line:
$gr{'binary'}++ if ($config{'bin_allowed'} and /$config{'bin_allowed'}/o
and !/$config{'bad_bin'}/o);
-- 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:
<72i2b5$g0j$1@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-mailShow Full Headers
Complete Article Headers
Message-ID: <72i2b5$g0j$1@mochi.lava.net> Subject: Cleanfeed group-based binary filters Date: Fri, 13 Nov 1998 00:00:00 +0000 From: cliftonr@lava.net (Clifton Royston) 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: 411556745 X-Trace: mochi.lava.net 910986405 16403 199.222.42.2 (13 Nov 1998 19:46:45 GMT) NNTP-Posting-Date: 13 Nov 1998 19:46:45 GMT Newsgroups: news.software.nntp X-Complaints-To: usenet@mochi.lava.net