Article View: news.software.nntp
Article #53297New cleanfeed release
From: Marco d'Itri
Date: Sun, 15 Jul 2001 15:34
Date: Sun, 15 Jul 2001 15:34
118 lines
5218 bytes
5218 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
An updated cleanfeed version has been released.
You can download it from http://www.bofh.it/~md/cleanfeed/ .
The changelog is appended. Note that it's based on a private development
version of december 1999 never released to the public by the original
author, so there are other new features not listed here.
User visible changes
====================
Removed the $SERVER variable, now the user only has to set $MODE.
Actually it's set automatically, so there is no mandatory configuration.
Support for highwind servers moved to highwind.pl.
Removed "reportfile" support.
Merged cleanfeed.conf in cleanfeed.local, removed support for reading a
cleanfeed.conf file.
Splitted $config{block_multi_alt} from $config{block_html}.
Removed these obsolete checks: Happy99 virus, Virus Patrol bot,
"Sexzilla newgroup message", QP bot, "HipCrime" string in From or
Organization header of cancels, "Cabal" or "Meow" strings in some
control messages.
Removed the $bad_sites checks, for which I have no data anyway.
Short uuencoded .exe files are now deleted by default along with the
usual txt, html and url extensions.
Changed some default values from 0 to 1: fuzzy_md5, do_mid_filter, block_html.
Added alt.snuh and alt.fan.natasha to the low_xpost_groups.
Added fido.* and linux.* to bin_allowed.
Added freebsd.csie.nctu.edu.tw to phl_exempt.
Removed from phl_exempt some hosts which do not exist anymore.
Added checks for the following bots: usenet replayer, express news poster,
Smart Post Pro, Message-ID/X-Mailer bot, Path/Newsgroups bot,
Path/From/Message-ID bot (unknown names).
Removed from supersedes_exempt all hosts except penguin-lust.mit.edu,
which appears to be the only one still active.
Removed the exceptions for nl-cancel@*xs4all.nl and lendl@*, which are
not needed anymore. Add nl.internet.misbruik.rapport to spam_report_groups.
Removed net_abuse_groups, which has no apparent use.
Added a check for things like [999/7] in the Subject header.
Added checks for the most simple NewsAgent attacks.
Added code to discard unneeded reposts, inspired by the Barry Bouwsma's
qleanpheed.
Added a scoring rule for embedded LiveScript.
Added a check for unwanted NNTP-Posting-Host sites, read from an external
configuration file ($config_dir/bad_nph).
Added a global list of poisoned path entries ($config_dir/bad_paths) and
one for sex groups ($config_dir/bad_adult_paths). Entries are also matched
against the last Path entry (the pseudo username).
$config{bad_cancel_paths} has been moved to a config file. The entries
are not checked against the NNTP-Posting-Host anymore.
New config options: adult_groups not_adult_groups faq_groups.
Removed the sreason log option.
Big changes in the local_*() functions, check HACKING.
Implementation changes
======================
Reformatted the code to follow perlstyle(1p).
Added slog() function implementing syslogging.
Converted the more complex regular expressions to use the //x modifier.
Removed writeheaders() and writefull() in favour of saveart().
Fixed division by zero error in timer_stats(), added protection against
pathological input to is_binary().
Added a new section of filter_art() with checks common to both control
messages and regular articles.
Added some new functions read_hash(), read_regex() and read_file() to
initialize some variables with the contents of a text file.
Added local_filter_reject().
Munge the body with s/\s+$// instead of s/(\r?\n)\s+$/$1/, which is
(marginally) faster and should be as effective as the old expression.
Add one scoring point to articles with at least one \r.
Added a check for INN::newsgroup in every place the existence
of $config{active_file} was checked.
- --
ciao, |
Marco | * The Internet is full. Go away. -- Joel Furr *
-----BEGIN PGP SIGNATURE-----
Comment: GnuPG v1.0.6 - For info see http://gnupg.linux.it
iD8DBQE7UbgeFGfw2OHuP7ERAiy7AJ9h6WlQduryjjY8jtGRVQukLiK+SwCeIwYn
A2KQKvu/GxXcCkIJEu0tEC4=
=zYar
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<0t3b51b02ci5d8n3e9%md@wonderland.linux.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!bignews.mediaways.net!area.cu.mi.it!kirk.uli.it!phobos.ibnetwork.net!bofh.it!wonderland.linux.it!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <0t3b51b02ci5d8n3e9%md@wonderland.linux.it>
Subject: New cleanfeed release
Date: Sun, 15 Jul 2001 15:34:59 +0000
From: Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!193.174.75.178!news-fra1.dfn.de!bignews.mediaways.net!area.cu.mi.it!kirk.uli.it!phobos.ibnetwork.net!bofh.it!wonderland.linux.it!not-for-mail
Newsgroups: news.software.nntp,news.admin.net-abuse.usenet
Followup-To: news.software.nntp
Organization: Italian Linux Society - http://www.linux.it
Lines: 117
NNTP-Posting-Host: wonderland.bofh.it
X-Trace: wonderland.linux.it 995211299 1787 10.0.0.9 (15 Jul 2001 15:34:59 GMT)
User-Agent: tin/1.5.9-20010522 ("Blue Water") (UNIX) (Linux/2.4.5 (i586))
NNTP-Posting-Date: Sun, 2875 Sep 1993 15:34:59 GMT