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 2011/01/14 07:57:36 UTC

svn commit: r1058866 - /spamassassin/trunk/rulesrc/sandbox/khopesh/20_khop_sc_bug_6114.cf

Author: khopesh
Date: Fri Jan 14 06:57:36 2011
New Revision: 1058866

URL: http://svn.apache.org/viewvc?rev=1058866&view=rev
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=1058866&r1=1058865&r2=1058866&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 Fri Jan 14 06:57:36 2011
@@ -1,4 +1,4 @@
-## khop-sc-neighbors.cf	v 201101131
+## khop-sc-neighbors.cf	v 201101141
 ## Khopesh's syndication of SpamCop's top offenders and top offending networks.
 ## 
 ## Spamassassin rules written by Adam Katz <antispamATkhopiscom>
@@ -72,7 +72,7 @@ score	 KHOP_SC_CIDR16  1.6 0.5 1.6 0.5
 # 0     /0      0     20100409  (wha!?)
 # crap, still empty   20100410  bad scrape, script failed to populate rule
 
-header	 KHOP_SC_TOP_CIDR16  Received =~ /___ FAILED TO POPULATE ___/
+header	 KHOP_SC_TOP_CIDR16  Received =~ /(?-xism:\b118\.96(?:\.[012]?\d{1,2}){2}\b)/
 describe KHOP_SC_TOP_CIDR16  Relay CIDR /16 leads SpamCop in worst /16s
 tflags	 KHOP_SC_TOP_CIDR16  nopublish
 score	 KHOP_SC_TOP_CIDR16  2.0 0.5 2.0 0.5
@@ -89,7 +89,7 @@ score	 KHOP_SC_TOP_CIDR16  2.0 0.5 2.0 0
 
 
 # http://spamcop.net/w3m?action=map;net=cmaxcnt;mask=65535;sort=spamcnt
-header	 KHOP_SC_CIDR24  Received =~ /(?-xism:\b(?:8(?:(?:9\.232\.10|5\.26\.22)5|1\.192\.2(?:11|38)|3\.149\.(?:21|3))|2(?:1(?:(?:3\.233|8\.248)\.64|7\.118\.90)|02\.108\.3)|1(?:12\.196\.253|78\.49\.255)|9(?:5\.154\.240|1\.203\.67)|77\.232\.14[23])\.[012]?\d{1,2}\b)/
+header	 KHOP_SC_CIDR24  Received =~ /(?-xism:\b(?:8(?:1\.192\.2(?:11|38)|5\.26\.2(?:25|34)|3\.149\.(?:21|3)|9\.232\.105)|2(?:1(?:(?:3\.233|8\.248)\.64|7\.118\.90)|02\.108\.3)|9(?:5\.154\.240|1\.203\.67)|77\.232\.14[23]|178\.49\.255)\.[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  2.5 0.6 2.5 0.6
@@ -106,7 +106,7 @@ score	 KHOP_SC_CIDR24  2.5 0.6 2.5 0.6
 # 0.2960/0      1.000 20100409
 # 0.2905/0      1.000 20100410  net
 
-header	 KHOP_SC_TOP_CIDR24  Received =~ /(?-xism:\b(?:2(?:1(?:7\.(?:118\.(?:83|90)|8\.2(?:25|36)|66\.146)|6\.(?:157\.150|86\.145)|3\.87\.(?:74|92))|0(?:9\.(?:51\.150|190\.4)|3\.(?:152\.2|82\.95))|20\.85\.242)|8(?:5\.(?:26\.(?:1(?:6[45]|8[36])|2(?:3[2345]|41))|115\.248)|3\.149\.(?:3[68]?|2[18]|4[16])|1\.192\.(?:2(?:11|38)|199)|0\.83\.23[89]|2\.178\.69)|1(?:8(?:4\.1(?:05\.195|54\.138)|8\.95\.53)|13\.(?:10\.165|30\.110)|25\.234\.144|78\.49\.255|01\.78\.23|95\.91\.70)|7(?:4\.117\.211|9\.106\.109)|6(?:5\.110\.50|1\.19\.66)|41\.(?:254\.1|95\.4)|98\.139\.91)\.[012]?\d{1,2}\b)/
+header	 KHOP_SC_TOP_CIDR24  Received =~ /(?-xism:\b(?:2(?:1(?:7\.(?:118\.(?:83|90)|8\.2(?:25|36)|66\.146)|3\.(?:87\.(?:(?:11|7)4|92)|233\.64)|6\.(?:157\.150|86\.145))|0(?:9\.(?:51\.150|190\.4)|3\.(?:152\.2|82\.95))|20\.85\.242)|8(?:5\.(?:26\.(?:1(?:6[45]|8[36])|2(?:3[2345]|41))|115\.248)|3\.149\.(?:3[68]?|2[18]|4[16])|1\.192\.(?:2(?:11|38)|199)|0\.83\.23[89]|2\.178\.69)|1(?:8(?:4\.1(?:05\.195|54\.138)|8\.95\.53)|25\.234\.144|13\.10\.165|01\.78\.23|95\.91\.70)|7(?:4\.117\.211|9\.106\.109)|41\.(?:254\.[01]|95\.[48])|6(?:5\.110\.50|1\.19\.66)|98\.139\.91)\.[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  2.7 0.6 2.7 0.6
@@ -123,7 +123,7 @@ score	 KHOP_SC_TOP_CIDR24  2.7 0.6 2.7 0
 
 
 # http://www.spamcop.net/w3m?action=hoshame
-header	 KHOP_SC_TOP200  Received =~ /(?-xism:\b(?:1(?:9(?:5\.1(?:6(?:1\.(?:40\.10|9\.2)|0\.253\.4)|8(?:2\.194\.220|9\.46\.246)|3(?:5\.237\.20|8\.78\.124)|78\.30\.11)|6\.(?:2(?:01\.207\.19|8\.52\.)1|0\.12\.35)|0\.(?:42\.164\.192|30\.236\.34)|3\.239\.44\.193)|2(?:3\.(?:1(?:38\.216\.149|92\.73\.28)|27\.79\.11)|(?:8\.121\.191\.24|4\.158\.110\.6)4|1\.(?:191\.7\.16|52\.152\.)2|\.230\.125\.150|5\.20\.82\.197)|8(?:4\.1(?:54\.138\.1(?:0[1289]|1[369]|2[025])|05\.195\.8[01678])|8\.(?:95\.53\.1(?:0[2359]|1[02])|132\.221\.57)|0\.179\.87\.30)|1(?:1\.224\.250\.13[245]|0\.139\.180\.158|2\.133\.198\.146|6\.236\.230\.110|8\.233\.254\.112)|7(?:8\.(?:49\.255\.(?:10[34]|95)|23\.151\.242)|3\.20\.18\.177|4\.123\.92\.59)|09\.(?:227\.250\.128|166\.128\.5|86\.159\.53))|2(?:1(?:6\.(?:1(?:57\.1(?:4(?:[06]\.192|8\.64)|50\.(?:192|64))|26\.40\.232)|8(?:6\.145\.1(?:8[3678]|7[78])|1\.7(?:3\.(?:64|2)|2\.2)))|2\.(?:1(?:18\.142\.77|99\.29\.145)|71\.150\.146|66\.127\.17|87\.183\.2)|0\.(?:212\.163\.42|91\.239\.1
 0)|3\.1(?:09\.88\.100|86\.38\.38)|8\.248\.44\.196|1\.13\.204\.1|7\.76\.2\.129)|0(?:2\.(?:1(?:(?:44\.136\.7|08\.3\.18)4|52\.194\.128|22\.20\.50)|28\.(?:66\.251|24\.99)|41\.167\.241|75\.36\.93)|9\.(?:190\.(?:4\.1(?:3[0124589]|28)|1\.173)|51\.150\.1(?:8[679]|90))|3\.(?:153\.44\.130|217\.176\.65|91\.117\.3)|4\.(?:188\.168\.11|8\.46\.130)|8\.(?:131\.186\.2|3\.138\.103)|1\.144\.51\.41)|2(?:1\.135\.126\.66|2\.252\.223\.2|0\.231\.69\.9))|8(?:2\.1(?:93\.140\.16[48]|51\.115\.220|14\.79\.163)|0\.(?:9(?:5\.70\.173|7\.51\.66)|65\.16\.71)|6\.(?:57\.159\.150|64\.189\.65|98\.23\.121)|9\.2(?:37\.(?:60\.130|26\.2)|18\.52\.234)|8\.(?:165\.157\.238|255\.153\.106)|3\.14(?:2\.111\.228|3\.237\.240)|4\.1(?:09\.96\.221|5\.191\.254)|5\.(?:90\.193\.240|154\.3\.141))|9(?:1\.(?:2(?:0(?:0\.216\.193|8\.97\.226)|14\.16\.42)|19(?:5\.136\.14|8\.86\.7))|4\.(?:2(?:(?:00\.27\.1|3\.60\.12)4|45\.156\.33)|140\.139\.240)|3\.(?:1(?:59\.243\.49|90\.104\.7)|91\.196\.99)|5\.(?:154\.240\.98|63\.38\.7)|2\.247\.250\.234|7
 \.67\.130\.209)|7(?:0\.(?:108\.253\.223|39\.115\.135)|4\.117\.211\.2(?:4[269]|3[38]|52)|8\.1(?:11\.176\.131|29\.222\.202)|7\.(?:232\.142\.220|69\.137\.77)|2\.(?:54\.21\.45|90\.89\.80)|6\.161\.241\.115|1\.123\.47\.9)|6(?:5\.110\.50\.1(?:7[249]|6[18]|83)|1\.1(?:6\.152\.83|9\.124\.35)|4\.1(?:48\.129|20\.20)\.140|2\.118\.154\.64|3\.138\.72\.178|9\.64\.155\.181|6\.96\.80\.182)|4(?:1\.(?:1(?:37\.(?:(?:24|30|56)\.4|63\.20[123])|89\.229\.164)|20(?:5\.223\.146|6\.13\.3)|76\.168\.1)|6\.17\.121\.1)|58\.150\.55\.59)\b)/
+header	 KHOP_SC_TOP200  Received =~ /(?-xism:\b(?:2(?:0(?:2\.(?:1(?:(?:44\.136\.7|08\.3\.18)4|52\.(?:194\.128|201\.37)|22\.20\.50)|28\.(?:66\.251|24\.99)|75\.36\.93)|9\.(?:1(?:90\.(?:4\.1(?:3[0124589]|28)|1\.173)|19\.72\.26)|51\.150\.1(?:8[679]|90))|3\.(?:153\.44\.130|217\.176\.65|91\.117\.3)|8\.(?:131\.186\.2|3\.138\.103|43\.232\.34)|4\.(?:188\.168\.11|8\.46\.130)|0\.95\.162\.206|1\.144\.51\.41)|1(?:6\.(?:1(?:57\.1(?:4(?:6\.192|8\.64)|50\.(?:192|64)|38\.192)|26\.40\.232)|8(?:6\.145\.1(?:8[3678]|7[78])|1\.7(?:3\.(?:64|2)|2\.2)))|2\.(?:1(?:18\.142\.77|99\.29\.145)|71\.150\.146|66\.127\.17|87\.183\.2)|1\.(?:1(?:3\.204\.1|47\.3\.74)|58\.59\.73)|0\.(?:212\.163\.42|91\.239\.10)|3\.1(?:09\.88\.100|86\.38\.38)|8\.248\.44\.196|7\.76\.2\.129)|2(?:1\.135\.126\.66|2\.252\.223\.2|0\.231\.69\.9))|1(?:9(?:5\.1(?:6(?:1\.(?:40\.10|9\.2)|0\.253\.4)|3(?:5\.237\.20|8\.78\.124)|89\.46\.246)|6\.(?:2(?:01\.207\.19|8\.52\.)1|0\.12\.35)|0\.(?:42\.164\.192|30\.236\.34)|3\.239\.44\.193)|8(?:4\.1(?:54
 \.138\.1(?:0[1289]|2[025]|1[39])|05\.195\.8[01678])|8\.95\.53\.1(?:0[2359]|1[02])|0\.(?:179\.87\.30|94\.93\.5)|9\.19\.74\.9)|2(?:3\.(?:1(?:38\.216\.149|92\.73\.28)|27\.79\.11)|(?:8\.121\.191\.24|4\.158\.110\.6)4|1\.(?:191\.7\.16|52\.152\.)2|5\.20\.82\.197)|1(?:0\.13(?:9\.180\.15|7\.187\.3)8|1\.224\.250\.13[245]|2\.133\.198\.146|6\.236\.230\.110|8\.233\.254\.112)|7(?:8\.(?:49\.255\.(?:10[34]|95)|23\.151\.242|32\.64\.195)|4\.123\.92\.59)|09\.166\.128\.5)|9(?:1\.(?:2(?:0(?:0\.216\.193|8\.97\.226)|14\.16\.42)|195\.136\.14)|4\.(?:2(?:(?:00\.27\.1|3\.60\.12)4|45\.156\.33)|140\.139\.240)|2\.(?:24(?:2\.121\.25|7\.250\.23)|50\.192\.5)4|3\.(?:1(?:59\.243\.49|90\.104\.7)|91\.196\.99)|5\.(?:154\.240\.98|63\.38\.7)|7\.67\.130\.209)|8(?:8\.(?:165\.157\.238|255\.153\.106)|2\.1(?:93\.140\.168|14\.79\.163)|3\.(?:142\.111\.228|69\.96\.139)|6\.(?:168\.211\.100|98\.23\.121)|4\.1(?:09\.96\.221|5\.191\.254)|5\.(?:90\.193\.240|154\.3\.141)|0\.(?:95\.70\.173|65\.16\.71)|9\.2(?:18\.52\.234|37\.26\.2
 ))|7(?:7\.(?:2(?:32\.142\.220|45\.144\.38)|69\.137\.77)|2\.(?:5(?:5\.175\.23|4\.21\.4)5|90\.89\.80)|4\.117\.211\.2(?:4[269]|3[38]|52)|1\.(?:93\.100\.208|123\.47\.9)|0\.108\.253\.223|6\.161\.241\.115|8\.111\.176\.131)|6(?:(?:4\.1(?:48\.129|20\.20)|8\.145\.237)\.140|5\.110\.50\.1(?:6[1458]|7[249]|8[23])|6\.(?:75\.75\.213|96\.80\.182)|1\.1(?:6\.152\.83|9\.124\.35)|9\.64\.155\.181)|4(?:1\.(?:137\.(?:(?:24|30|56)\.4|63\.20[123])|20(?:5\.223\.146|6\.13\.3)|76\.168\.1)|6\.17\.121\.1)|58\.150\.55\.59)\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
@@ -140,7 +140,7 @@ score	 KHOP_SC_TOP200  4 0 4 0	# unneces
 
 # 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 =~ /(?-xism:\b(?:8(?:5\.(?:26\.(?:1(?:6[45]|8[36])|2(?:3[2345]|41))|115\.248)|3\.149\.(?:3[2678]?|2[18]|4[16])|1\.192\.(?:2(?:1[15]|38)|199)|9\.204\.1(?:37|53)|0\.83\.23[89]|7\.252\.243|2\.178\.69)|2(?:1(?:7\.(?:8\.2(?:3[68]|25)|118\.(?:83|90)|66\.146)|3\.87\.(?:(?:11|7)4|8[01789]|9[012]))|0(?:3\.(?:152\.2|82\.95)|2\.152\.243))|1(?:2(?:5\.23(?:4\.144|5\.192)|2\.55\.106)|1(?:3\.10\.16[257]|9\.159\.218)|9(?:3\.25\.121|5\.91\.70)|80\.131\.24)|41\.(?:95\.(?:[48]|10)|254\.[01])|61\.19\.6[567])\.[012]?\d{1,2}\b)/
+header	 KHOP_PSBL_CIDR24	X-Spam-Relays-Untrusted =~ /(?-xism:\b(?:8(?:5\.(?:26\.(?:1(?:6[45]|8[36])|2(?:3[2345]|41))|115\.248)|3\.149\.(?:3[2678]?|2[18]|4[16])|1\.192\.(?:2(?:1[15]|38)|199)|9\.204\.1(?:37|53)|0\.83\.23[89]|7\.252\.243|2\.178\.69)|2(?:1(?:7\.(?:8\.2(?:3[68]|25)|118\.(?:83|90)|66\.146)|3\.87\.(?:(?:11|7)4|8[01789]|9[012]))|0(?:3\.(?:152\.2|82\.95)|2\.152\.243))|1(?:2(?:5\.23(?:4\.144|5\.192)|2\.55\.106)|9(?:3\.25\.121|5\.91\.70)|13\.10\.16[57]|80\.131\.24)|41\.(?:95\.(?:[48]|1[02])|254\.[01])|61\.19\.6[567])\.[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	1.8 0.8 1.8 0.8