Article View: news.software.nntp
Article #82464Cleanfeed Update
From: Steve Crook
Date: Sun, 03 Jan 2010 21:26
Date: Sun, 03 Jan 2010 21:26
69 lines
3315 bytes
3315 bytes
Hi all, Following the release of INN-2.5.1, I've produced a Cleanfeed update to address the new Injection-Info header and the depreciation of the Lines header. This release also makes various modifications detailed in the changelog. Most notably:- Misplaced uuEnc/yEnc encoded binaries are rejected, regardless of how many encoded lines they contain. Posting-Host info is extracted from Injection-Info if available. Filters based on the Lines header have been removed. Base64 encoded articles are decoded prior to filter processing. The individual Cleanfeed file can be downloaded from: http://www.mixmin.net/cleanfeed/cleanfeed http://www.mixmin.net/cleanfeed/cleanfeed.asc (PGP Detached Signature) A complete tarball for new installations is at: http://www.mixmin.net/cleanfeed/cleanfeed.tar.gz A diff against the last formal release (20020501): http://www.mixmin.net/cleanfeed/cleanfeed.diff Changelog --------- * block_all_binaries option Reject binary postings regardless of distribution. See http://www.mixmin.net/cfdev/config.html#block_all_binaries for more info. * off-topic filters have been extended to support on-topic maxgroups. See: http://www.mixmin.net/cfdev/config.html#off_topic1_maxgroups http://www.mixmin.net/cfdev/config.html#off_topic2_maxgroups * Misplaced uuEnc/yEnc binaries are now rejected, regardless of how many encoded lines they contain. Consequently, the max_encoded_lines config option no longer exists. * HTML filtering is simplified into just two parameters: block_mime_html - Reject MIME encoded HTML block_html - Block native HTML (Content-Type: text/html) * Base64 encoded postings are now decoded before being processed by the scoring filters. (This requires MIME::Base64) * Posting-Host is now obtained from Injection-Info if available in preference to NNTP-Posting-Host. * Articles are checked for malformed lines. /[^\r]\n/ A count of matching lines is stored in $badlines and used to weight scoring filters. * All filters based on the Lines header have been removed. * Base64 encoded lines are now accurately counted. * A logart function has been added. This function is intended to replace saveart in the future but currently both are available. In summary, logart provides more granular control of what gets logged. (Very useful for Cleanfeed debugging!). This isn't well documented yet, please review the code prior to using it. * Cleanfeed's version string is included in stats files.
Technical Details
Message-ID:
<slrnhk22rh.erp.steve@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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnhk22rh.erp.steve@news.mixmin.net> Subject: Cleanfeed Update Date: Sun, 03 Jan 2010 21:26:09 +0000 From: Steve Crook <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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Injection-Date: Sun, 3 Jan 2010 21:26:09 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="ip6-localhost:::1"; logging-data="6803"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.0-18 (Linux) Lines: 68