Article View: news.software.nntp
Article #79669several important Cleanfeed bugfixes (against lastest mixmin.net SVN revision 131)
From: Matija Nalis
Date: Tue, 18 Nov 2008 12:23
Date: Tue, 18 Nov 2008 12:23
69 lines
3772 bytes
3772 bytes
Here are explanations of bugs (for each chunk)
(1) "binaries" are not necesserily second element in newsgroups name!
This bug declares many binaries groups as non binaries !
For example: bih.alt.mp3.binaries, hr.misc.grafika.binaries,
hr.rec.bicikli.binaries, microsoft.public.pocketpc.binaries and
much more.
Use:
egrep '\.binae?r' /var/lib/news/active | cut -f1 -d" " | \
egrep -v '^[a-z]+\.binae?r'
to find affected groups on your server.
(2) this bug ('|' at the front of the regexp!) declares ANY group as "meow"
group (and not just named ones), leading to many false positives.
(3) this makes cleanfeed.local more robust - if you have '|' at the
beggining or the end of some %config_append variable (eg. if you
yourself make the same bug as in (2)), this will fix it for you
automatically.
(4) this removes false positives for "freexp", see following post for details:
http://groups.google.com/group/news.software.nntp/msg/1ebdb398c2202142
Index: cleanfeed
===================================================================
--- cleanfeed (revision 131)
+++ cleanfeed (working copy)
@@ -119,7 +119,7 @@
debug_batch_size => 0, # max size of batch files before rotation
### binaries allowed if groups match
- bin_allowed => '^[a-z]+\.binae?r|^fur\.artwork'.
+ bin_allowed => '[a-z]+\.binae?r|^fur\.artwork'.
'|^alt\.anonymous\.messages$|^de\.alt\.dateien|^rec\.games\.bolo$'.
'|^comp\.security\.pgp\.test$|^sfnet\.tiedostot'.
'|^fido\.|^linux\.|^unidata\.|alt\.security\.keydist',
@@ -163,7 +163,7 @@
low_xpost_groups => 'test|jobs|forsale',
### groups where we restrict crossposts whith other groups
- meow_groups => '|^alt\.fan\.karl-malden\.nose|^alt\.flame|^alt\.troll'.
+ meow_groups => '^alt\.fan\.karl-malden\.nose|^alt\.flame|^alt\.troll'.
'|^alt\.alien\.vampire\.flonk\.flonk\.flonk|^alt\.romath'.
'|^alt\.snuh|^alt\.fan\.natasha',
@@ -281,6 +281,8 @@
$config{$_} .= "|$config_append{$_}";
$config{$_} =~ s/\|\|/\|/g;
}
+ $config{$_} =~ s/^\|//;
+ $config{$_} =~ s/\|$//;
}
undef %config_append;
}
@@ -348,7 +350,7 @@
# for the scoring filter
$sex = 'sex|xxx|fuck';
-$free = 'free(?!dom|bsd|ppp)';
+$free = 'free(?!dom|bsd|ppp|xp)';
$pics = 'pi(?:c|x)';
$drugs = 'carisoprodol|caverta|cialis|diazepam|kamagra|levitra|nizoral'.
'sildenafil|tadalafil|valium|viagra|vicodin|xanax';
--
Opinions above are GNU-copylefted.
Technical Details
Message-ID:
<slrngi5d1m.8fd.mnalis-news@bukavac.carpriv.carnet.hr>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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrngi5d1m.8fd.mnalis-news@bukavac.carpriv.carnet.hr> Subject: several important Cleanfeed bugfixes (against lastest mixmin.net SVN revision 131) Date: Tue, 18 Nov 2008 12:23:22 +0000 From: Matija Nalis <mnalis-news@voyager.hr> 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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.CARNet.hr!not-for-mail Newsgroups: news.software.nntp Organization: CARNet, Croatia Lines: 69 NNTP-Posting-Host: 161.53.12.138 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news1.carnet.hr 1227011002 7187 161.53.12.138 (18 Nov 2008 12:23:22 GMT) X-Complaints-To: abuse@CARNet.hr NNTP-Posting-Date: Tue, 18 Nov 2008 12:23:22 +0000 (UTC) User-Agent: slrn/0.9.8.1pl2.1 (Linux) Cancel-Lock: sha1:7a2PN2EdnzHGoi5zVZhOZhevUfc= X-Original-Bytes: 3554