🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79397

Cleanfeed Updates

#79397
From: Steve
Date: Wed, 03 Sep 2008 15:42
69 lines
3447 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi all,

I've made a couple of updates to my Cleanfeed series since my last
announcement.  Please see the changelog below for details.  As before,
please use with some caution, in its default state it is likely to
filter some articles that Marco's formal Cleanfeed release will pass.

Any feedback will be much appreciated.

Regards
Steve

http://www.mixmin.net/cleanfeed         Main file
http://www.mixmin.net/cleanfeed.diff    Diff based on Marco's formal
					release of cleanfeed-20020501.
http://www.mixmin.net/cleanfeed.asc	Detached PGP Signature
http://www.mixmin.net/bad_body		Example bad_body file

Changelog:

o Add a relaxed binary check for image files - Some newsgroups are image
  specific but reside outside the normal binary hierarchies.  This check
  enables uuEnc and yEnc encoded files containing images to be
  accepted in
  groups such as *.pictures.*

  Defaults:-
  image_allowed => '\.pictures'
  image_extensions => 'jpe?g|png|gif'

  The format of this filter can easily be extended for other file types
  such as mp3's in *.mp3 groups.  I haven't done this as images seem to
  comprise the large majority of misplaced binaries.

o Add a bad_body file to the collection of bad_* files - The new
  bad_body file contains a collection of URL's (or other triggers) in
  regex format.  In combination with the previously added auto-reloading
  feature (triggered by $config{bad_rate_reload}), this enables simple
  body filters to be appended and modified without forcing a reload of
  the Perl filters.

o Strip out some of my futile attempts to figure out why misplaced
  binaries were slipping through.  This issue was resolved by a recent
  update to INN (Thanks Julien!).

o Reduce the length of $body (a sub-string of __BODY__) from 50,000 to
  4,000 characters.  The lower limit doesn't appear to miss much that
  the higher caught.

o Move the Perl 'study scalar' statement from cleanfeed.local into the
  core file, it seems more at home there.

o Minor updates to some regex's to avoid false positives.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAki+sFoACgkQtHGA1SKHYedBOwCdGit+uQdRQI+vJhZfZYMrPnx4
iU4An1MXpJX41XauDQVzzs0zEIzY8MzX
=kmWP
-----END PGP SIGNATURE-----

-- 
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: <g9mb8q$vnu$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!t-online.de!news.k-dsl.de!feeder.erje.net!news.mixmin.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <g9mb8q$vnu$1@news.mixmin.net>
Subject: Cleanfeed Updates
Date: Wed, 03 Sep 2008 15:42:18 +0000
From: Steve <steve@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!t-online.de!news.k-dsl.de!feeder.erje.net!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 69
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: Wed, 3 Sep 2008 15:42:18 +0000 (UTC)
User-Agent: slrn/pre0.9.9-111 (Linux)
X-PGP-KeyID: 0x228761E7