Article View: news.software.nntp
Article #78791Cleanfeed - bad_hosts_central
From: Steve
Date: Thu, 28 Feb 2008 15:08
Date: Thu, 28 Feb 2008 15:08
43 lines
2606 bytes
2606 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I've published a first attempt at creating a centralised bad_hosts file
for use with Cleanfeed. It can be downloaded from
http://www.mixmin.net/bad_hosts_central.
Currently this file is populated from just the Cleanfeed EMP filters and
requires a given NNTP-Posting-Host to violate a filter by in excess
of 200 messages.
Once marked as bad, a host will be listed for a period of 48 hours and
then expired, providing another violation doesn't occur within that
period in which case the 48 hour period begins again.
The downloadable file is generated every 6 hours, at 0250, 0850, 1450
and 2050. If it's being fetched via cron, it should be configured to
run at 0300, 0900, 1500 and 2100, so allowing 10 minutes for the scripts
to generate the file.
Using wget, something like this should work:-
wget -qNP /usr/local/news/cleanfeed/etc http://www.mixmin.net/bad_hosts_central
At least to begin with I'd suggest saving the rejected articles to a
file in order to check that nothing of value is being discarded by it.
This can be done in the local_filter_reject subroutine of
cleanfeed.local with an entry like this:-
saveart('cf.hosts', $vr) if $vr =~ /^Bad\shost/;
Feedback will be very much appreciated.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHxs5atHGA1SKHYecRCtVuAJ9Ycgjz4R0eguE//y0+cMbJDtrEaACgmVPx
jr9NK+4RuJYC3kXrYthYqW4=
=/rlZ
-----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:
<fq6ioq$vr5$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!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.xsnews.nl!border-2.ams.xsnews.nl!news.mixmin.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <fq6ioq$vr5$1@news.mixmin.net> Subject: Cleanfeed - bad_hosts_central Date: Thu, 28 Feb 2008 15:08:10 +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!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.xsnews.nl!border-2.ams.xsnews.nl!news.mixmin.net!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Lines: 43 X-Trace: news.mixmin.net 1204211290 32613 82.133.6.118 (28 Feb 2008 15:08:10 GMT) X-Complaints-To: abuse@mixmin.net NNTP-Posting-Date: Thu, 28 Feb 2008 15:08:10 +0000 (UTC) X-PGP-KeyID: 0x228761E7 User-Agent: slrn/0.9.8.1pl1 (Debian)