Article View: news.software.nntp
Article #31120Problems with cleanfeed.conf
From: Mike Wilson, UCE Account
Date: Wed, 02 Sep 1998 00:00
Date: Wed, 02 Sep 1998 00:00
311 lines
10488 bytes
10488 bytes
I'm using the latest version of cleanfeed on Inn 1.7.2insync1.1d
under Solaris 2.6. The problem seems to be that my "badguys" entries don't
seem to be used... only the entries in the cleanfeed script itself seem to
be used (the default ones). Here is my cleanfeed.conf file:
# Cleanfeed configuration file
sub local_config {
### !! WARNING !! YOU CAN & MUST SET ONLY ONE OF THE FOLLOWING:
$inn = 1; # set $inn = 1 for INN
$highwind = 0; # set $highwind = 1 for Cyclone/Typhoon/Breeze
$nntprelay = 0; # set $nntprelay = 1 for NNTPRelay
%config_local = (
# Settings in %config_local will OVERRIDE any defaults
# in Cleanfeed.
#
# Any setting here will blindly replace one with the
# same name in %config. No sanity checks are done.
# Be careful!
#
# On/off settings should be set to 1 for on, 0 for off
### Setting aggressive to 0 disables all content-based filters
'aggressive' => 1,
### Active file
'active_file' => '/var/spool/news/in.coming/act_config/active',
#########################################################
### MD5-based EMP filter settings
### Do the MD5 checks? You probably shouldn't turn this off,
### but if you're running Hippo also you might want to anyway,
### and far be it from me to stop you.
'do_md5' => 1,
### Start rejecting after the MD5 filter sees this many copies
'md5maxmultiposts' => 5,
### Keep history of this many MD5 article checksums
'MD5History' => 11000,
### Time to keep MD5 EMP ids with no hits, in hours
'MD5maxlife' => 24,
### Use "fuzzy" MD5 check by "imploding" message bodies
### before hashing?
'fuzzy_md5' => 0,
### Don't do fuzzy-check if the body is more than this many lines
'fuzzy_max_length' => 700,
### Should the MD5 filter skip articles with References?
### Possibly a major performance difference.
'md5_skips_followups' => 1,
### Maximum number of MD5 EMP ids to ever keep
'MD5HistSize' => 7000,
#########################################################
### Header-based EMP filter settings
### Do the Posting-Host/Lines EMP checks? You really want to
### keep this on.
'do_phl' => 1,
### Do the From/Subject/Lines EMP checks? This is the one with
### the lowest hit rate these days.
'do_fsl' => 1,
### Start rejecting after the header filter sees this many copies.
### More prone to false positives than MD5 so set this higher
'maxmultiposts' => 20,
### Keep history of this many header-EMP checks
'ArticleHistory' => 7000,
### Time to keep EMP ids with no hits, in hours
'EMPmaxlife' => 24,
### Maximum number of EMP ids to ever keep
'EMPHistSize' => 1500,
#########################################################
### Excessive Crosspost settings
### Maximum number of newsgroups allowed in a crosspost
### Articles are rejected if posted such that followups
### will be to more than this many groups
'maxgroups' => 6,
### Restrict crossposts in low_xpost_groups (below) to this many
'low_xpost_maxgroups' => 6,
### 'tjfmaxgroups' has been removed
#########################################################
### Misplaced Binaries Filter
### Block binaries in non-binary newsgroups?
'block_binaries' => 1,
### Max number of binary-encoded lines before considering
### an article a "binary"
'max_encoded_lines' => 15,
### Allow binaries in all moderated groups?
### (Requires an active file)
'binaries_in_mod_groups' => 0,
#########################################################
### HTML, etc.
### Block MIME-encapsulated HTML?
### (not regular HTML or multipart/alternative)
'block_mime_html' => 1,
### Block HTML and multipart/alternative?
'block_html' => 0,
#########################################################
### Cancel Message Filtering
### Block cancels of already-rejected articles?
'block_late_cancels' => 1,
### Time to keep rejected message-ids for cancel rejection
### in hours
'MIDmaxlife' => 1,
#########################################################
### Other filters you may want to shut off for some reason
### Do the scoring filter?
'do_scoring_filter' => 1,
### Do the message-id filter on NNTP CHECK command (INN only)?
'do_mid_filter' => 0,
### Do the spam-bot-signature checks? Leave this on. Really.
'do_bot_checks' => 1,
### Do the excessive Supersedes filter?
'do_supersedes_filter' => 1,
### Apply bad_cancel_paths to Supersedes also?
'check_supersedes_path' => 1,
### Drop all sendsys, senduuname, and version control messages?
'drop_useless_controls' => 1,
### Drop all ihave and sendme control messages?
'drop_ihave_sendme' => 1,
### Drop any control message also containing a Supersedes header?
'drop_control_with_supersedes' => 1,
#########################################################
### Hash-Trimming
### Trim hashes every N cycles through the filter
'trimcycles' => 500,
### Don't bother trimming hashes until they're this big
'EMPstarttrimming' => 500,
#########################################################
### Logging
### Verbose rejection reasons in news.notice/logfile?
'verbose' => 1,
### Set the following to log the message ID's
### of all articles processed.
### Doesn't work for INN (uses news.notice instead).
'logfile' => undef,
'reportfile' => undef,
### Should the above log, if used, log accepts as well as rejects?
'log_accepts' => 1,
### Rotate the log (if used) at this size
'max_log_size' => 10000000,
### Crude stats for tuning purposes (see documentation)
'statfile' => undef,
#########################################################
### Timing Information
### Generate timing information?
'timer_info' => 1,
### Interval over which to average timing information,
### in seconds.
'timer_interval' => 300,
#########################################################
### Debugging
### Batch files for debugging written to this directory
'debug_batch_directory' => undef,
### Batch files will be rotated when they exceed this size
'debug_batch_size' => 100000,
);
%config_append = (
# Used to append to the end of the default regexps.
#
# Settings here will be added to the defaults, with a | between
# the default string and the one provided here.
#
# See the default settings in the Cleanfeed code.
#
# Allowed in this section:
### binaries allowed if groups match
'bin_allowed' =>
"^alt\.crackers|^alt\.cracks|^alt\.2600\.cracks|^alt\.mag|^alt\.sex\.fetish\.waifs",
### reject crossposts if any groups match
# 'poison_groups' => undef,
### HTML allowed if groups match (only if block_html is on)
# 'html_allowed' => undef,
### md5 EMP check not done if groups match
'md5exclude' => "\.(jobs|job|employment|classified|classifieds|forsale|marketplace)",
### no checks done if groups match
# 'allexclude' => undef,
### restrict crossposts in these groups to low_xpost_maxgroups
# 'low_xpost_groups' => undef,
### used to build domain names for URL matching
'badguys' =>
'wildchild|ilovelez|sexjunky|nymphette|stobblehouse|hard-core'.
'|latexfetish|harddicks|\w+\.mnet1|pictureview|lasersex|sexypussy'.
'|lick|orgasmic|malebytes|southcorp|mansclub|inet-images|pornschool'.
'|hotsexnow|bmc-engineering|nastygirlz|marys-place|ucla\.dorms|savetrees'.
'|(?:\w+\.)sexzilla|netzilla|jalapeno|orchidvideos|blowme|totallyfreesex'.
'|sexplosion|unitedadultsites|rsi-net|cathouse|forbiddenphotos'.
'|amateur-xposure|teencity|snmworld|spck|fuck|anal|xxx|ukswingers'.
'|icl|uncc|hyperbooks|sexandpussy|fuckmenow|dalounge|eurosluts'.
'|pornoemporium|cuntlick|vianews|knotwork|sex-e-world|pornopeople'.
'|teenmasturbation|monkeyspanker|babelicks|ostomy|traders-update'.
'|nasty|xnasty|hot\.pornofetish|topnotchadult|transgenderweb|sasha2'.
'|xs4all|world-gaming|totalpussy|valleyofsex|sexy1234|thebestxxx'.
'|sex4younow|pluckit|hardcorezone|sexymail2|teenvoyeurism|smellslikefish'.
'|jagworld|ultimatexxx|domxxx|fetishscat|xxxlinks|redhousemedia'.
'|freepink|yiws|xxx-citing|magicus|bsi-service|teenpussy4free|ddacsex'.
'|adulttheatre|web-dream|misako3a|archivedpix|sexdevil|necrobabes'.
'|foxfiles\.inter|anni|thebestxxx\.home\.ml|bigsexyland|wwwcumshots'.
'|sexpussyanal|hotcollegesex|tomasino|uninets|arcticera|slutomatic'.
'|landofvenus|sexyflorida|pussymuncher|midnightpassion|adulttheater'.
'|websextv|adultdigital|toilettarts|heavyhangers|lustybbws|nicebeaver'.
'|alternativeconnections|freerawsex|greatwebsites|real-sex|lisnet|freesex4u'.
'|freesexpalace|freehardcore|crystalv|purehardcore|storm|anal-lover'.
'|adultteens|cumsee|cumseeme|adultxxxfest|free4adults|arrakis|interbbs'.
'|vixenvideo|thecyberpimps|pussycity|centre-europe|adult-sex-world'.
'|lilbluemoon|romsnlaser|porn-station\.holowww|slickpages|stena|hyperion'.
'|aecl',
### matched against domain names in URLs
# 'baddomainpat' => undef,
### regexps to exempt from NNTP-Posting-Host EMP filter
# 'exempt' => undef,
### regexps to exempt from excessive supersedes filter
# 'supersedes_exempt' => undef,
### Reject cancels (and possibly supersedes) with these path elements
# 'bad_cancel_paths' => undef,
### refuse articles with these in the message-id (INN only)
# 'refuse_messageids' => undef,
);
}
1;
--
---
Mike Wilson http://www.drwho.org
http://www.pobox.com/~mwilson
Technical Details
Message-ID:
<6sjfdt$mec$1@valkyrie.OnRamp.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.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <6sjfdt$mec$1@valkyrie.OnRamp.Net> Subject: Problems with cleanfeed.conf Date: Wed, 02 Sep 1998 00:00:00 +0000 From: uce_mike@yahoo.com (Mike Wilson, UCE Account) 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!not-for-mail X-Deja-AN: 387116621 Organization: http://www.drwho.org User-Agent: tin/pre-1.4-971215 (UNIX) (SunOS/5.6 (sun4u)) Newsgroups: news.software.nntp