🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80153

Cleanfeed Thoughts

#80153
From: Steve
Date: Sun, 22 Feb 2009 12:50
35 lines
2464 bytes
Hi all,

I have a couple of thoughts on Cleanfeed updates I'd like to gauge
opinions on.

Firstly, I've received a number of feedback requests for changes to the
binary filtering.  In 2008 Julien fixed a bug in INN that was breaking
multi-line regex filtering.  This greatly improved the performance of
the misplaced binary filter but there is a downside: Messages containing
blocks of PGP get rejected.  For example, it's now almost impossible to
post a PGP Public Key outside a binary group.

In an attempt to resolve this I'm testing separate Base64 filtering from
uuEnc and yEnc.  This enables the operator to specify a different line
limit for each.  E.g. max_encoded_lines vs. max_base64_lines.  I hit
issues with this due to the processing overhead of trying to regex match
say 250 lines of Base64 content.  To reduce the overhead I'm currently
checking for 10 lines of Base64 payload *but only* if $lines > 250.  Not
perfect but better than the current false rejects.  If anyone has
suggestions on how this could be improved, I'm all ears.

My other query centres around the number of urls being spammed in
machine generated spew.  I've written some code to produce a list of
these which can be viewed here:-
http://www.mixmin.net/cleanfeed/bad_url_central
I'd like to gauge if there's interest in supporting such a list in
Cleanfeed.  It's simple enough to add but I see no point clogging it up
with features that nobody wants.  :)

Steve

-- 
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: <slrngq2ih9.782.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-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrngq2ih9.782.steve@news.mixmin.net>
Subject: Cleanfeed Thoughts
Date: Sun, 22 Feb 2009 12:50:49 +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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 35
NNTP-Posting-Host: b421ff0445b5e915dcbceaec1788b827
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Sun, 22 Feb 2009 12:50:49 +0000 (UTC)
User-Agent: slrn/pre0.9.9-111 (Linux)