🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19411

Re: Filtering message body (was Re: Posting sux!! so does INN)

#19411
From: Jeff Garzik
Date: Sun, 20 Jul 1997 00:00
25 lines
1917 bytes
Michael Hucka wrote:
> With the article body accessible, one can now do more effective EMP
> filtering.  Your (Jeff) current Perl-based filter tracks only the From +
> Subject + Lines fields.  It works very nicely, but many spammers use
> different From and/or Subject fields with identical article bodies.  If it
> were possible to create a short summary of the article body, that could be
> added as another field for EMP filtering.


Even though Perl is excellent at optimizing statements at compile time
(when it builds its syntax tree), I have a feeling an internal INN body
hash written in C would use less CPU time.

A patch along the same lines as the one I just posted could hash the
article body, then pass that value to Perl as __BODY_HASH__ or something
similar.  Or just keep a body hash cache completely internal to INN. 
The problem with this is that you have to recompile to turn the body
hash off, instead of simply commenting out a line in the Perl filter.
-- 
Jeff Garzik					   Quality news feeds
News Administrator		       INN Technical info, Consulting
Spinne, Inc.				http://www.spinne.com/usenet/

Technical Details
Message-ID: <33D1979D.16958475@spinne.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
References: <33d0477a.8926553@code.ripco.com> <slrn5t1oii.nml.streiner@lurch.bv.sgi.net> <000033D150E0.NO_UCE@mauve.demon.co.uk> <33D1597E.6F89575E@spinne.com> <82lo32pibm.fsf@manic.eecs.umich.edu>

Show Full Headers
Complete Article Headers
Message-ID: <33D1979D.16958475@spinne.com>
Subject: Re: Filtering message body (was Re: Posting sux!! so does INN)
Date: Sun, 20 Jul 1997 00:00:00 +0000
From: Jeff Garzik <jeff.garzik@spinne.com>
References: <33d0477a.8926553@code.ripco.com> <slrn5t1oii.nml.streiner@lurch.bv.sgi.net> <000033D150E0.NO_UCE@mauve.demon.co.uk> <33D1597E.6F89575E@spinne.com> <82lo32pibm.fsf@manic.eecs.umich.edu>
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: 257798315
To: Michael Hucka <hucka@eecs.umich.edu>
Organization: Spinne http://spinne.com
Newsgroups: news.software.nntp