You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by kh...@apache.org on 2013/12/10 08:57:50 UTC
svn commit: r1549777 -
/spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf
Author: khopesh
Date: Tue Dec 10 07:57:49 2013
New Revision: 1549777
URL: http://svn.apache.org/r1549777
Log:
auto-generated rules
Modified:
spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf
Modified: spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf?rev=1549777&r1=1549776&r2=1549777&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf Tue Dec 10 07:57:49 2013
@@ -1,4 +1,4 @@
-## khop-sc-neighbors.cf v 20131292
+## khop-sc-neighbors.cf v 201312102
## Khopesh's syndication of SpamCop's top offenders and top offending networks.
##
## Spamassassin rules written by Adam Katz <antispamATkhopiscom>
@@ -21,7 +21,7 @@ meta __KHOP_SC_EXCLUSIONS __VIA_ML || __
# http://spamcop.net/w3m?action=map;mask=4294967295;net=0;sort=56
# Due to the massive block size, this rule only examines the last untrusted
-header __KHOP_SC_CIDR8 X-Spam-Relays-Untrusted =~ /^[^\]]* (?:by|ip)=(?-xism:\b(?:1(?:17|88)|46|95)(?:\.[012]?\d{1,2}){3}\b) /
+header __KHOP_SC_CIDR8 X-Spam-Relays-Untrusted =~ /^[^\]]* (?:by|ip)=(?-xism:\b(?:1(?:17|86)|46|95)(?:\.[012]?\d{1,2}){3}\b) /
# and gets cleaned up a bit
meta KHOP_SC_CIDR8 __KHOP_SC_CIDR8 && !__KHOP_SC_EXCLUSIONS
describe KHOP_SC_CIDR8 Relay CIDR /8 is among worst in SpamCop
@@ -101,7 +101,7 @@ score KHOP_SC_TOP_CIDR16 0.6 0.2 0.7 0
# http://spamcop.net/w3m?action=map;net=cmaxcnt;mask=65535;sort=spamcnt
-header KHOP_SC_CIDR24 Received =~ /(?-xism:\b(?:1(?:0(?:8\.174\.198|1\.15\.23|6\.3\.32)|7(?:3\.212\.205|5\.45\.173)|23\.249\.39|92\.3\.138)|20(?:0\.146\.61|2\.234\.40)|8(?:3\.220\.51|9\.44\.108)|5\.144\.179|74\.222\.7)\.[012]?\d{1,2}\b)/
+header KHOP_SC_CIDR24 Received =~ /(?-xism:\b(?:1(?:7(?:3\.212\.205|5\.45\.173)|0(?:8\.174\.198|1\.15\.23)|2(?:3\.249\.39|1\.54\.54)|17\.19\.177)|2(?:0(?:0\.146\.61|2\.234\.40)|10\.183\.179)|8(?:3\.220\.51|9\.44\.108)|5\.144\.179|74\.222\.7)\.[012]?\d{1,2}\b)/
describe KHOP_SC_CIDR24 Relay CIDR /24 is among worst in SpamCop
tflags KHOP_SC_CIDR24 nopublish
score KHOP_SC_CIDR24 0.6 0 0.6 0
@@ -122,7 +122,7 @@ score KHOP_SC_CIDR24 0.6 0 0.6 0
# 0.4428/0 1.000 20130705@376k resume scores -> .6 0 .6 0
-header KHOP_SC_TOP_CIDR24 Received =~ /(?-xism:\b(?:1(?:2(?:(?:1\.17\.12|4\.95\.15)5|5\.60\.156|0\.84\.13)|9(?:9\.229\.2(?:49|50)|2\.183\.154)|1(?:0\.52\.[02]|2\.97\.24)|0(?:1\.50\.12|3\.20\.8)|73\.208\.245|58\.255\.7)|21(?:3\.135\.113|2\.67\.215)|65\.60\.15)\.[012]?\d{1,2}\b)/
+header KHOP_SC_TOP_CIDR24 Received =~ /(?-xism:\b(?:1(?:2(?:(?:1\.17\.12|4\.95\.15)5|5\.60\.156|0\.84\.13)|9(?:2\.183\.154|8\.143\.150|9\.229\.249)|0(?:1\.50\.12|3\.20\.8)|73\.208\.245|12\.97\.24|58\.255\.7)|21(?:3\.135\.113|2\.67\.215)|65\.60\.15)\.[012]?\d{1,2}\b)/
describe KHOP_SC_TOP_CIDR24 Relay CIDR /24 leads SpamCop in worst /24s
tflags KHOP_SC_TOP_CIDR24 nopublish
score KHOP_SC_TOP_CIDR24 1.7 0.5 1.7 0.5
@@ -142,7 +142,7 @@ score KHOP_SC_TOP_CIDR24 1.7 0.5 1.7 0
# http://www.spamcop.net/w3m?action=hoshame
-header KHOP_SC_TOP200 Received =~ /(?-xism:\b(?:1(?:1(?:2\.(?:2(?:1(?:6\.(?:86\.253|30\.50|46\.75)|3\.105\.31)|20\.31\.132)|1(?:63\.150\.30|70\.181\.99))|8\.(?:4(?:6\.127\.36|1\.157\.3)|163\.156\.109|217\.180\.116)|(?:4\.(?:247\.23\.6|4\.44\.20)|6\.193\.90\.2)6|(?:3\.130\.65\.16|7\.19\.177\.3)1|0\.1(?:70\.190\.194|89\.168\.171)|9\.192\.255\.129)|2(?:1\.(?:1(?:5(?:1\.122\.45|8\.198\.78)|7\.125\.(?:1[12345679]|20))|(?:22\.127|88\.54)\.17)|4\.(?:95\.155\.(?:5[2389]|27|32)|16(?:5\.241\.90|0\.35\.2))|5\.(?:75\.235\.12|143\.97\.9)7|3\.249\.39\.(?:103|96))|8(?:4\.(?:22\.(?:1(?:97\.216|52\.8)|53\.(?:201|19))|82\.1(?:7(?:1\.234|9\.117)|23\.85))|3\.106\.1(?:45\.24|50\.78)|5\.25\.253\.24|8\.252\.0\.237|9\.112\.88\.65)|9(?:0\.1(?:0(?:7\.140\.76|9\.164\.81)|4\.253\.30)|9\.229\.2(?:49\.21[1234567]|50\.76)|8\.143\.150\.25[012]|2\.183\.154\.178)|7(?:3\.2(?:0(?:8\.(?:245\.(?:10[16]|99)|186\.104)|0\.90\.196)|12\.205\.158)|5\.43\.125\.7[678]|2\.245\.44\.122)|0(?:1\.(?:(?:15\.23\.24|79\.5\.1)9|227\.2
47\.37|44\.3\.50)|8\.174\.19(?:8\.23[47]|9\.44)|6\.3\.32\.153)|4(?:\.(?:3(?:3\.121\.67|5\.201\.15)|220\.63\.66)|8\.223\.59\.187)|58\.255\.7\.(?:8[012456789]|9[01234567]|6[689]|7\d)|\.209\.216\.114)|2(?:1(?:1\.(?:17(?:4\.(?:120\.123|215\.100)|6\.76\.198)|23(?:2\.183\.58|0\.74\.17|\.152\.19)|54\.17\.201)|0\.(?:183\.179\.(?:4[45]|38)|61\.240\.21|217\.56\.2)|8\.(?:151\.141\.75|38\.29\.68)|2\.67\.215\.(?:(?:15|9)0|66)|3\.135\.113\.197|6\.23\.176\.91|9\.147\.172\.2)|0(?:2\.(?:(?:71\.136\.20|85\.110\.6)0|2(?:07\.1\.234|34\.40\.41)|197\.33\.71|64\.73\.148)|3\.(?:2(?:11\.133\.244|34\.111\.248)|122\.52\.142)|0\.(?:175\.56\.190|72\.11\.132)|1\.116\.199\.34)|2(?:1\.(?:2(?:14\.2(?:08\.226|14\.187)|\.144\.135)|153\.158\.37)|2\.(?:117\.219\.97|236\.16\.14)|0\.68\.224\.45)|4\.157\.46\.197)|6(?:0\.(?:19(?:9\.178\.103|6\.58\.189)|251\.31\.134)|4\.79\.108\.16[6789]|9\.198\.197\.156|1\.38\.186\.117|5\.60\.15\.173|7\.90\.21\.150)|8(?:3\.(?:1(?:49\.124\.150|8\.234\.202)|220\.51\.237)|9\.44\.108\.(?:13[03
7]|5)|2\.117\.194\.229|5\.185\.112\.6)|7(?:4\.222\.7\.2(?:43|50)|7\.106\.232\.178|6\.72\.174\.223|2\.35\.20\.131|8\.36\.14\.195)|4(?:6\.(?:191\.237\.118|41\.131\.24)|1\.137\.24\.4|9\.1\.224\.7)|5(?:8\.(?:126\.157\.1|215\.207\.9)8|\.61\.27\.254|9\.12\.17\.6)|93\.157\.148\.102|37\.123\.98\.115)\b)/
+header KHOP_SC_TOP200 Received =~ /(?-xism:\b(?:1(?:1(?:2\.(?:2(?:1(?:6\.(?:30\.50|46\.75)|3\.105\.31)|20\.31\.132)|1(?:84\.172\.244|63\.150\.30|70\.181\.99))|8\.(?:4(?:1\.157\.[37]|6\.127\.36)|163\.156\.109|217\.180\.116)|(?:4\.(?:247\.23\.6|4\.44\.20)|6\.193\.90\.2)6|(?:3\.130\.65\.16|7\.19\.177\.3)1|0\.1(?:70\.190\.194|89\.168\.171)|9\.192\.255\.129)|2(?:1\.(?:1(?:5(?:1\.122\.45|8\.198\.78)|7\.125\.(?:1[12345679]|20))|(?:22\.127|88\.54)\.17)|4\.(?:95\.155\.(?:5[2389]|27|32)|16(?:5\.241\.90|0\.35\.2))|3\.249\.39\.(?:103|96)|5\.143\.97\.97)|8(?:4\.(?:22\.(?:1(?:97\.216|52\.8)|53\.(?:201|19))|82\.1(?:7(?:1\.234|9\.117)|23\.85))|8\.(?:168\.46\.53|252\.0\.237)|5\.25\.253\.24|9\.112\.88\.65)|9(?:0\.(?:10(?:7\.140\.76|9\.164\.81)|54\.13\.106)|8\.143\.150\.2(?:4[789]|5[012])|2\.183\.154\.178|4\.177\.40\.195)|0(?:1\.(?:(?:15\.23\.24|79\.5\.1)9|227\.247\.37|44\.3\.50)|8\.174\.19(?:8\.2(?:3[47]|43)|9\.[34]4)|6\.3\.32\.153)|7(?:3\.2(?:0(?:8\.(?:245\.10[16]|186\.104)|0\.90\.196)|12\.205\.15
8)|2\.245\.44\.122)|4(?:\.(?:220\.63\.66|33\.121\.67|63\.74\.204)|0\.137\.207\.32|8\.223\.59\.187)|58\.255\.7\.(?:9[01234567]|6[6789]|[78]\d)|\.209\.216\.114)|2(?:1(?:1\.(?:17(?:4\.(?:120\.123|215\.100)|6\.76\.198)|23(?:(?:7\.20\.3|\.152\.1)9|0\.74\.17)|54\.17\.20[01])|0\.(?:183\.179\.4[45]|61\.240\.21|0\.203\.76|217\.56\.2)|6\.(?:99\.159\.1(?:59|61)|23\.176\.91)|2\.67\.215\.(?:1(?:8[26]|50|78)|66)|8\.(?:151\.141\.75|234\.108\.13)|3\.135\.113\.197|9\.147\.172\.2)|0(?:2\.(?:1(?:42\.203\.19|97\.33\.71)|2(?:07\.1\.234|34\.40\.41)|6(?:2\.67\.250|4\.73\.148)|71\.136\.200)|3\.(?:2(?:11\.133\.244|34\.111\.248)|122\.52\.142)|1\.1(?:16\.199\.34|95\.239\.27)|0\.175\.56\.190)|2(?:1\.(?:2(?:14\.2(?:08\.226|14\.187)|\.144\.135)|153\.158\.37)|2\.(?:117\.219\.97|236\.16\.14)|0\.68\.224\.45)|4\.157\.46\.197)|6(?:0\.(?:19(?:9\.178\.103|6\.58\.189)|251\.31\.134)|4\.79\.108\.16[6789]|9\.198\.197\.156|1\.38\.186\.117|5\.60\.15\.173|7\.90\.21\.150)|8(?:3\.(?:1(?:49\.124\.150|8\.234\.202)|220\.51\.237)|9
\.44\.108\.(?:13[037]|5)|2\.117\.194\.229|5\.185\.112\.6)|7(?:5\.180\.132\.120|7\.106\.232\.178|2\.35\.20\.131|8\.36\.14\.195)|4(?:6\.(?:191\.237\.118|41\.131\.24)|1\.137\.24\.4|9\.1\.224\.7)|9(?:3\.1(?:57\.148\.102|88\.8\.67)|4\.77\.199\.148)|5(?:8\.126\.157\.18|\.61\.27\.254|9\.12\.17\.6))\b)/
describe KHOP_SC_TOP200 Relay listed in SpamCop top 200 spammer IPs
tflags KHOP_SC_TOP200 nopublish
score KHOP_SC_TOP200 4 0 4 0 # unnecessary if DNSBLs work
@@ -178,7 +178,7 @@ score KHOP_SPAMHAUS_DROP_LE 2 0 2 0 #
# PSBL-neighbors: any /24 with 73+ (2/7, 29%) IPs in the PSBL (not SpamCop),
# as obtained from rsync://psbl-mirror.surriel.com::psbl/psbl.txt
-header KHOP_PSBL_CIDR24 X-Spam-Relays-Untrusted =~ / (?:by|ip)=(?-xism:\b(?:1(?:1(?:1\.176\.(?:(?:12|8)[4567]|[46][89]?|5[01]?|7\d?)|6\.207\.(?:1[2345]|6[0123]|4[89]|5\d)|5\.63\.(?:[89]|1[012345])|3\.56\.2(?:4[89]|5[01])|0\.52\.[0123]|9\.36\.21[23]|2\.215\.44)|8(?:3\.9(?:3\.(?:11[45]|9[89])|5\.6[67])|6\.(?:251\.1(?:4[12]|38)|195\.245)|1\.66\.157)|9(?:(?:8\.50\.(?:18|20)|5\.162\.6)8|0\.234\.10[56])|25\.(?:44\.24[01234567]|60\.156)|0(?:3\.240\.117|9\.127\.80)|30\.193\.1(?:47|65)|77\.36\.22)|2(?:7\.20\.(?:[789]|1(?:0[0123]?|[28][89]|[39][01]|7[6789]|1)|24[01234567]|4[0123]?|5[6789]?)|3\.(?:22(?:4\.133|5\.15)|105\.49)|11\.91\.22[01]|03\.191\.26|4\.244\.23)|5(?:8\.(?:50\.(?:1(?:[2345]|0[456789]|1[016789])|6[89]|7[01])|19\.19[01])|\.144\.179)|88\.217\.180|92\.39\.249|41\.254\.5|70\.98\.78)\.[012]?\d{1,2}\b)/
+header KHOP_PSBL_CIDR24 X-Spam-Relays-Untrusted =~ / (?:by|ip)=(?-xism:\b(?:1(?:1(?:1\.176\.(?:(?:12|8)[4567]|[46][89]?|5[01]?|7\d?)|6\.207\.(?:1[2345]|6[0123]|4[89]|5\d)|5\.63\.(?:[89]|1[012345])|3\.56\.2(?:4[89]|5[01])|9\.36\.21[23]|0\.52\.[012]|2\.215\.44)|8(?:3\.9(?:3\.(?:11[45]|9[89])|5\.6[67])|6\.(?:251\.1(?:4[12]|38)|195\.245))|25\.(?:44\.24[01234567]|60\.156)|9(?:0\.234\.10[56]|8\.50\.188)|0(?:3\.240\.117|9\.127\.80)|30\.193\.1(?:47|65)|77\.36\.22)|2(?:7\.20\.(?:[789]|1(?:0[0123]?|[28][89]|[39][01]|7[6789]|1)|24[01234567]|5[6789]?|4[0123])|3\.(?:22(?:4\.133|5\.15)|105\.49)|11\.91\.22[01]|03\.191\.26|4\.244\.23)|5(?:8\.(?:50\.(?:1(?:[2345]|0[456789]|1[016789])|6[89]|7[01])|19\.19[01])|\.144\.179)|92\.39\.249|41\.254\.5|70\.98\.78)\.[012]?\d{1,2}\b)/
describe KHOP_PSBL_CIDR24 Relay's IP/24 CIDR contains many PSBL hits
tflags KHOP_PSBL_CIDR24 nopublish
score KHOP_PSBL_CIDR24 2 0.6 2 0.6