🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79233

Re: Cleanfeed Binary Checks

#79233
From: Steve
Date: Mon, 21 Jul 2008 14:28
51 lines
3399 bytes
On 21 Jul 2008 13:19:44 GMT, Bert Hyman wrote in
Message-Id: <Xns9AE254B58B161VeebleFetzer@127.0.0.1>:

> I haven't looked at the Cleanfeed code recently, but could this be due
> to the order in which the tests are performed? Maybe the articles are
> caught by the EMP test before they get to the binary test. 

Hi Bert,

Cleanfeed tests are performed in the following sequence.
(Some of these tests are only included in the modified version I produced
earlier this year.  I've regressed back to the formal version to ensure
none of these changes has caused the is_binary issue.)
* Bad Groups - Distribution includes a group listed in bad_groups
* Bad Host - Posting host is listed in bad_hosts
* Bad Path - Path contains a server listed in bad_path
* Simple Message-ID - Bots and bad cancel signatures
* Malformed Articles - Missing From, Subject, Message-ID
* local_filter_first - User-defined filters in cleanfeed.local
* Reposts - Reposting of cancelled articles
* Bad Adult Path - Adult group and bad_path matches
* Excessive Crossposting - Lots of ECP and hierarchy violation checks
* UUencoded Text - UUencoded txt/html/exe/url files
* Misplaced Binaries - Binary file encoding to non-binary group
* HTML - Attached and inline HTML filters
* Bot Checks - Lots of Bot signature checks
* EMP MD5 - EMP body checksum
* EMP PHL - EMP Posting-Host / Lines checksum
* EMP PHN - EMP Posting-Host / Newsgroup checksum
* EMP FSL - EMP From / Subject / Lines checksum
* EMP PHR - EMP Posting-Host / specific group checksum
* Supersedes - Various Supersedes filters
* local_filter_after_emp - User-defined filters in cleanfeed.local
* Scoring Filters - Lots of article scoring filters
* local_filter_last - User-defined filters in cleanfeed.local
* Cancel Filters - Catch bad cancels
* local_filter_cancel - User-defined filters in cleanfeed.local
* Bad New/Remove Groups - Bad create / delete group messages
* Bad Controls - Other bad control messages

The is_binary function is called from three of these filters:-
* Misplaced Binaries
* EMP MD5 (If fuzzy_md5 is enabled)
* EMP PHL
The result from the first call of is_binary is cached and so the regex
is only checked once per article.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Technical Details
Message-ID: <g626ed$f5e$1@news.mixmin.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!not-for-mail
References: <g61rme$nqb$1@news.mixmin.net> <Xns9AE254B58B161VeebleFetzer@127.0.0.1>

Show Full Headers
Complete Article Headers
Message-ID: <g626ed$f5e$1@news.mixmin.net>
Subject: Re: Cleanfeed Binary Checks
Date: Mon, 21 Jul 2008 14:28:29 +0000
From: Steve <steve@mixmin.net>
References: <g61rme$nqb$1@news.mixmin.net> <Xns9AE254B58B161VeebleFetzer@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 51
NNTP-Posting-Host: da8d3a6a19fa02f9a10120a1477aeb90
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Mon, 21 Jul 2008 14:28:29 +0000 (UTC)
User-Agent: slrn/pre0.9.9-111 (Linux)