## khop-sc-neighbors.cf v 201005142 ## Khopesh's syndication of SpamCop's top offenders and top offending networks. ## ## Spamassassin rules written by Adam Katz ## http://khopesh.com/Anti-spam ## khopesh on irc://irc.freenode.net/#spamassassin ## ## sa-update --gpgkey E8B493D6 --channel khop-bl.sa.khopesh.com ## ## These rules are Copyright 2001-2009 by Adam Katz ## Licensed under the Creative Commons Non-Commercial Share-alike License 2.0. ## The code that generated this output is GNU Affero General Public License v3. ## Source data (copyright Cisco subsidiary SpamCop.net) taken from links below. ## The author is receptive to relicensing requests for this and its generator. ## ## Frequent updates are needed for these rules, so they are marked 'nopublish' ## This keeps them from being automatically promoted to SpamAssassin proper ## from the testing system, which affirms their usefulness. You can check ## their efficiency at http://ruleqa.spamassassin.org/?rule=%2FKHOP_SC # 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(?:9[25]|188|41)(?:\.[012]?\d{1,2}){3}\b) / # and gets cleaned up a bit meta KHOP_SC_CIDR8 __KHOP_SC_CIDR8 && !(__VIA_ML||__freemail_safe||__RCVD_IN_DNSWL||RCVD_IN_HOSTKARMA_WL) describe KHOP_SC_CIDR8 Relay CIDR /8 is among worst in SpamCop tflags KHOP_SC_CIDR8 nopublish score KHOP_SC_CIDR8 0.2 0.1 0.3 0.2 # spam/ham s/o corpus # 12.3692/1.0099 0.925 20100211 .2 .1 .3 .2 -> .1 .01 .1 .01 # 8.9412/1.1532 0.886 20100325 # 9.4362/0.4074 0.959 20100329 # 11.8281/0.4788 0.961 20100401 without meta # 11.8578/0.4495 0.961 20100402 half meta (oops). decreased worst 4/8->4/7 # 7.8856/0.1388 0.983 20100403 meta, net, solo=7.9236/0.4189 # changed from rank by spam count to rank by hosts reported, back to 4/8 # 12.1963/0.0356 0.997 20100406 (wow) solo=12.2454/0.0408@0.997 # 12.0753/0.0359 0.997 20100409 solo=12.1265/0.0412@0.997 # 12.1449/0.0139 0.999 20100410 net, solo=12.1966/0.0197@0.998, ->.2 .1 .3 .2 header __KHOP_SC_TOP_CIDR8 X-Spam-Relays-Untrusted =~ /^[^\]]* (?:by|ip)=(?-xism:\b(?:1(?:17|22|90)|59)(?:\.[012]?\d{1,2}){3}\b) / meta KHOP_SC_TOP_CIDR8 __KHOP_SC_TOP_CIDR8 && !(__VIA_ML||__freemail_safe||__RCVD_IN_DNSWL||RCVD_IN_HOSTKARMA_WL) describe KHOP_SC_TOP_CIDR8 Relay CIDR /8 leads SpamCop in worst /8s tflags KHOP_SC_TOP_CIDR8 nopublish score KHOP_SC_TOP_CIDR8 0.9 0.1 0.9 0.1 # spam/ham s/o corpus # 15.6795/0.1173 0.993 20100211 .5 .4 .8 .6 -> .6 .5 .8 .5 # 11.0578/0.3614 0.968 20100325 # 13.7809/0.4860 0.966 20100329 .9 .1 .9 .1 masscheck promoted # 14.1773/0.4799 0.967 20100401 # 14.1807/0.4960 0.966 20100402 without meta # 14.0841/0.0926 0.993 20100402 added meta (wow!) # 14.2553/0.0424 0.997 20100403 net, solo=14.3609/0.4888@0.967 # 11.6252/0.1263 0.989 20100406 solo=11.7104/0.5366@0.956 # 11.5987/0.1295 0.989 20100409 solo=11.6856/0.5731@0.953 # 11.6286/0.0475 0.996 20100410 net, solo=11.7224/0.6900@0.944, ->LE as above # http://www.spamcop.net/w3m?action=map;net=bmaxcnt;mask=16777215;sort=spamcnt header KHOP_SC_CIDR16 Received =~ /(?-xism:\b(?:1(?:17\.197|22\.162)|95\.13[35]|41\.251|59\.93)(?:\.[012]?\d{1,2}){2}\b)/ describe KHOP_SC_CIDR16 Relay CIDR /16 is among worst in SpamCop tflags KHOP_SC_CIDR16 nopublish score KHOP_SC_CIDR16 1.6 0.5 1.6 0.5 # spam/ham s/o corpus # 0.7444/0.0129 0.983 20100211 # 0.5943/0.0139 0.977 20100325 .6 .5 .9 .75 # 0.8767/0.0167 0.981 20100329 1.6 .5 1.6 .5 masscheck promoted # 0.6952/0.0011 0.998 20100401 increased worst offenders 6/12->9/15 @ 20100401 # 0.6814/0.0149 0.979 20100402 # 0.4399/0.0008 0.998 20100403 net run # 0.2102/0.0011 0.995 20100406 # 0 /0 0 20100409 (wha!?) # crap, still empty 20100410 bad scrape, script failed to populate rule header KHOP_SC_TOP_CIDR16 Received =~ /(?-xism:\b(?:1(?:2(?:2\.16[38]|3\.27)|8(?:6\.8[17]|3\.87))|41\.(?:141|249)|89\.122)(?:\.[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 # spam/ham s/o corpus # 0.8862/0.0008 0.999 20100211 # 0.5738/0.0008 0.999 20100325 .9 .8 1.3 1.2 # 0.6658/0 1.000 20100329 2 .5 2 .5 masscheck promoted # 0.8374/0 1.000 20100401 # 1.1534/0 1.000 20100402 # 1.2077/0.0145 0.988 20100403 net run # 1.2155/0.0142 0.988 20100406 # 1.2779/0.0142 0.989 20100409 # 1.0611/0.0009 0.999 20100410 net # http://spamcop.net/w3m?action=map;net=cmaxcnt;mask=65535;sort=spamcnt header KHOP_SC_CIDR24 Received =~ /(?-xism:\b(?:2(?:1(?:7\.118\.8[23]|3\.233\.64)|0(?:1\.220\.232|4\.45\.100))|7(?:6\.(?:12\.194|73\.112)|8\.138\.170)|8(?:9\.232\.105|0\.65\.16|3\.149\.3)|(?:41\.214\.1|61\.97\.3)2|174\.123\.208|93\.186\.96)\.[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 # spam/ham s/o corpus # 0.1350/0 1.000 20100211 # 0.0798/0 1.000 20100325 .9 .8 1.3 1.2 # 0.0159/0 1.000 20100329 2.5 .6 2.5 .6 masscheck promoted # 0.1577/0 1.000 20100401 # added top host-count /24s, increased worst offenders 6/12->8/15 @ 20100401 # 0.1223/0 1.000 20100402 (oops, too small a pool) # host-count 84/64->84/50, offenders 8/15->10/20 @ 20100402 # 0.2547/0 1.000 20100403 net # 0.2126/0 1.000 20100406 # 0.2960/0 1.000 20100409 # 0.2905/0 1.000 20100410 net header KHOP_SC_TOP_CIDR24 Received =~ /(?-xism:\b(?:1(?:1(?:5\.147\.2(?:3[07]|29)|1\.224\.250|0\.45\.144|3\.22\.69)|96\.12\.2(?:4[2345]|3[36])|87\.45\.193)|2(?:0(?:2\.(?:70\.5[489]|152\.243)|3\.151\.232|9\.239\.47)|1(?:1\.247\.239|7\.118\.90|3\.87\.76))|8(?:5\.26\.(?:23[23]|164)|3\.149\.(?:21|3)|1\.192\.211|9\.232\.105|2\.178\.69)|7(?:4\.208\.166|8\.138\.171|9\.106\.109|6\.73\.34|2\.21\.7)|41\.(?:2(?:54\.[01]|23\.201)|140\.251)|9(?:5\.129\.166|1\.203\.67)|61\.19\.(?:66|71))\.[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 # spam/ham s/o corpus # 0.2528/0.0092 0.965 20100211 # 0.2231/0.0112 0.952 20100325 1.7 1.5 1.9 1.8 # 0.0249/0 1.000 20100329 2.7 .6 2.7 .6 masscheck promoted # 0.1594/0 1.000 20100401 # 0.6448/0 1.000 20100402 (wow!) # 0.6896/0 1.000 20100403 net # 0.6255/0.0045 0.993 20100406 # 0.7261/0.0045 0.994 20100409 # 0.7447/0.0054 0.993 20100410 net # http://www.spamcop.net/w3m?action=hoshame header KHOP_SC_TOP200 Received =~ /(?-xism:\b(?:1(?:9(?:0\.(?:1(?:83\.60\.253|44\.74\.94|\.129\.232)|2(?:13\.12\.130|6\.97\.26)|90\.187\.34|4\.48\.11)|3\.(?:1(?:08\.38\.2(?:28|30)|98\.8\.211)|251\.95\.104)|4\.(?:135\.105\.232|204\.203\.16|50\.9\.114)|5\.1(?:61\.(?:8\.1|9\.2)|89\.46\.253)|6\.(?:12\.226\.220|40\.10\.246))|2(?:2\.(?:252\.2(?:(?:46\.23|34\.7)4|05\.109)|183\.99\.114)|3\.1(?:4(?:0\.193\.20|3\.217\.9)3|95\.174\.57)|4\.(?:105\.75\.135|217\.216\.47|40\.16\.209)|5\.(?:128\.6\.253|246\.217\.2|7\.192\.146)|1\.1(?:27\.183\.70|30\.61\.68)|8\.134\.57\.75)|1(?:5\.(?:1(?:61\.148\.148|40\.76\.100)|95\.25\.4[23]|68\.15\.83)|8\.(?:1(?:31\.101\.174|61\.246\.85)|68\.34\.34)|1\.224\.250\.1(?:3[01234]|29)|0\.45\.144\.227)|8(?:7\.(?:45\.193\.223|67\.184\.108|85\.135\.190)|6\.24\.(?:1[6789]|2[013])\.3|8\.72\.241\.1(?:58|65)|9\.20\.199\.130)|7(?:4\.123\.2(?:6\.(?:101|99)|08\.178)|3\.(?:161\.201\.15|224\.212\.6)7)|09\.205\.112\.114)|2(?:0(?:3\.(?:2(?:5(?:2\.181\.197|3\.68\.189)|41\.183\.8|39\.13\.2)|15(?:1\.232\.191|3\.39\.18))|0\.(?:2(?:48\.22\.130|9\.131\.132)|(?:80\.140\.6|70\.23\.5)1)|1\.(?:1(?:16\.140\.246|0\.176\.43)|220\.232\.61)|9\.(?:2(?:39\.47\.205|54\.56\.106)|94\.196\.170)|4\.45\.(?:100\.2(?:[245]2|0[23]|14)|66\.251)|2\.(?:43\.(?:181\.7|34\.85)|144\.185\.170))|1(?:1\.(?:1(?:9(?:1\.174\.141|9\.79\.198)|89\.234\.33|3\.204\.1)|2(?:33\.89\.21[23]|47\.239\.239|02\.2\.62))|7\.(?:117\.72\.133|76\.2\.129|26\.6\.64)|6\.(?:230\.235\.178|155\.39\.29)|3\.(?:130\.111\.250|37\.38\.73)|0\.213\.115\.5)|2(?:2\.(?:2(?:37\.162\.200|52\.223\.2)|124\.1(?:56\.231|78\.158))|(?:1\.143\.46\.3|0\.82\.69\.2)3)|4\.107\.53\.67)|6(?:1\.(?:(?:97\.32\.10|19\.71\.7)4|7\.2(?:30\.226|41\.70)|50\.240\.58)|4\.(?:1(?:6(?:4\.228\.206|5\.253\.230)|20\.25\.125)|244\.130\.98)|9\.1(?:5(?:1\.79\.238|\.130\.141)|67\.162\.227)|2\.1(?:00\.102\.254|63\.240\.135|93\.216\.47)|7\.(?:217\.50\.44|40\.40\.218)|5\.39\.182\.1(?:6[89]|71))|7(?:6\.(?:73\.(?:3(?:4\.1(?:5[456]|3[89]|6[24])|1\.19[456])|112\.(?:3[5678]|45)|2\.14[12])|12\.194\.44)|8\.(?:155\.58\.66|235\.1\.175|40\.254\.1)|4\.(?:208\.166\.151|92\.90\.58)|7\.2(?:51\.49\.237|2\.162\.99)|0\.36\.106\.227|1\.229\.162\.51|2\.21\.7\.7[79]|5\.64\.51\.48)|8(?:2\.1(?:14\.(?:9(?:0\.246|2\.194)|7(?:9\.163|0\.54))|69\.73\.11)|0\.(?:93\.125\.186|53\.32\.122|65\.16\.71)|3\.(?:240\.139\.195|16\.167\.14)|1\.2(?:03\.166\.155|1\.115\.38)|5\.1(?:52\.102\.52|0\.192\.3)|7\.105\.164\.242|8\.255\.229\.114)|9(?:1\.(?:1(?:98\.175\.252|21\.80\.46)|214\.128\.2[04]|90\.126\.180)|4\.(?:21(?:2\.16\.61|5\.2\.170)|75\.240\.153)|3\.91\.196\.(?:132|99))|5(?:9\.1(?:25\.237\.139|8\.64\.3)|8\.27\.(?:210\.114|132\.51))|41\.2(?:04\.170\.11|15\.18\.23)4)\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 # spam/ham s/o corpus # 1.2552/0 1.000 20100211 # 0.8558/0 1.000 20100325 3.4 3.2 3.7 3.5 # 0.1265/0 1.000 20100329 4 0 4 0 masscheck promoted # 0.7066/0 1.000 20100401 # 0.6558/0 1.000 20100403 net # 0.6211/0 1.000 20100406 # 0.5307/0 1.000 20100409 # 0.5617/0 1.000 20100410 net # 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(?:1(?:1(?:7\.(?:2(?:0(?:0\.(?:1(?:4[45678]|6[0125]?|7[6789]?|8[01]?|9[23]?|2[89]|[03]0)?|2(?:[35]|4[012345]?|2[4567]?|0[89]|10)|7[012345]|9[6789]|3[234]|[56]\d|4[89]|8[13]|0)|4\.(?:[03]|1(?:1[23456789]|6[012357]|2[014]|0[01]|44)?|2(?:2[4567])?|9[012356789]|8\d|65)|5\.(?:[02]|1(?:[68]|[03][012]|4[4567]|2[89]|76?)|6[4567]|9[6789]|3[234]|4[89]|5[01])|1\.(?:1(?:1[34]|01)|6[456789]|8[0124]|9[6789]|5[013]|4[89]|38|70)|6\.(?:[06789]|3[23456789]?|4[0123489]?|1[016789]?|5[012345]?|20?)|3\.[0123]|2\.130|7\.48)|4(?:1\.(?:1(?:[59][23]|7[678]?|2[28]|3[67]|4[45]|04?|12|60)?|2(?:1[6789]|2[489]|3[236]|4[01]|5[23]|00)?|8[0128]?|5[678]|6[45]|96?|0)|2\.(?:1(?:4[01489]|0[48]|1?2|32?|80?|9?6|7)|2(?:4?8|04)|4[014]?|7[0234]|6[089]|56?|8))|\.2)|1(?:9(?:9\.(?:[0367]|1(?:1[23456789]|0[013456]?|9[234567]?|4[456789]|8[01234]?|6[0123]?|2[0139]|7[6789]|50)?|2(?:[023]|4[012345])?|8[012345679]?|5[0123]?|9[6789]?|4[89]?)|8\.(?:1(?:6[012345678]|4[456789]|5[012346]|3[1267]|7[06]|9[46])?|2(?:2[4567]|0[289]|1[01])?|8[012345679]|3[23456]|5[015]|9?0)|7\.(?:[03]|1(?:[89]|1[23456789]|6[01236]|2[013]|7[13]?)?|2(?:[12]|5[023]|08?|4\d)?|5[012345678]?|6[456789]|9[6789]|4[89]?)|6\.(?:1(?:3[012345678]|6[012345]|[48][012]|7[6789]|2[89])?|2(?:3[01234568]|2[456789]|1[013]|0[89])|34?|96)|3\.(?:[46]|16[1234]|22[79])|4\.(?:1(?:28)?|9[678]|3?2)|5\.(?:6[458]|100|98))|\.23[23]))|3\.(?:1(?:6(?:7\.(?:1(?:7[6789]|8[012]|1[16]|2[48]|3[01]|4[45]|51)?|[38]4|209|0)|8\.(?:[057]|1(?:1[234]|6[012]|4[02]|37)?|65?|84)|9\.(?:[56]|1(?:0[02357]|8[0123])|9[01]|88)|2\.(?:(?:10|8)0|[67][47]|9[67])|6\.(?:[0245678]|1[0245]?|3?3)|5\.10)|70\.17[34]|90\.222)|22\.(?:251|6?9|10|8))|6\.7(?:1\.(?:[0789]|1(?:[126789]|5[01]?|4[49])|2(?:[1456789]|22)|4[023469]?|5[23456]?|3[0349]?|6[013])|4\.(?:1(?:04|12)|69|73|95)|2\.(?:133|248))|8\.(?:68\.(?:2(?:4[89]|5[23])|1(?:9[26]|66))|71\.(?:[89]|10))|9\.(?:155\.(?:[03468]|1[0123478]?|2[01]?)|48\.19[23456789])|5\.1(?:47\.(?:2(?:3[0127]|0[123]|29)|192)|86\.6[45679])|4\.(?:143\.127|79\.139)|1\.125\.21[34])|2(?:2\.1(?:6(?:8\.(?:[458]|1(?:[023459]|7[01234568]?|8[0123589]?|6\d?|13?)|2(?:[6789]|5[012345]?|[01234]\d?)|7[013456789]?|9[6789]?|6[89]?|3[01])|1\.(?:1(?:[35]|9[268]?|2?1)|(?:24|7)5|5[24678]|6[78]|8[12]|96)|9\.(?:7[02567]|5[0128]|6[68]?|9[34]|24|36|48)|3\.(?:1(?:8[45]?|60?|7)|2[367]|4[34]|39|67)|2\.(?:2(?:2[38]?|17?|5?4|00|3)|39|87)|4\.8[01])|7(?:2\.1(?:2[01234567]|1[2346789])|8\.1(?:5[157]|4[89])|0\.(?:2[189]|18|34)|7\.166))|3\.(?:2(?:7\.(?:2(?:0[89]|1\d|5)|8[023568]|9[02347]|32)|8\.(?:14[013]|28|31)|2\.(?:4[89]|5[24]))|1(?:8\.(?:1(?:9[3579]|56)|24[01])|9\.1(?:6[03459]|7[1235]|18)|6\.(?:[47]|1[134])|7\.250))|0\.(?:6(?:0\.(?:[235]|1(?:3[04]|29|1)?)|1\.(?:[3479]|1[17]?|27?)|3\.(?:[23679]|15?)|2\.16[067])|56\.138))|8(?:3\.(?:8(?:7\.(?:2(?:[378]|1[789]|20)|11[56]|30)|0\.13[245])|177\.125)|8\.(?:48\.(?:1(?:1?9|23|45)|44|57|93)|50\.(?:107|26)|135\.2)|2\.48\.20[12]|9\.124\.31)|7(?:8\.12(?:2\.(?:2(?:0[019]|25)|1(?:9[23]|84)|6[01]|8[45]|96)|3\.(?:[08]|1(?:85|6)|4[012]|2[46]|32)|5\.(?:1[67]?|8[01]|32|49|64|0)|0\.48)|5\.107\.[13])|9(?:6\.(?:20(?:6\.(?:69|70|83)|2\.222|1\.65)|12\.2(?:4[2345]|3[36]))|4\.230\.146)|09\.197\.84|40\.127\.27)|5(?:9\.(?:9(?:5\.(?:[08]|1(?:[589]|7[012346789]?|6[12345679]|1[01345]|2[89]|0\d|30)|2(?:1?6|3)|3[12789]|6[45689]|9[6789]?|7[04]|47)|9\.(?:[08]|1(?:3[0123]|6[012]?|8[4567]|5[234]|2[89]|76?|44)|2(?:[45678]|1[012]|0[89])|4[089]|5[678]|6[45]|7[23]|32)|4\.(?:1(?:3[0123456]|1[23459]|4[01237]|7[6789]|0[357]|8[127]|2[89])|2(?:4[01467]|0[89]|1[01])|4[0123]|9[689]|74)|3\.(?:[0256789]|1(?:[14569]|2[189]?|3[01]?|02?)?|3[23459]?|4[01]?)|8\.(?:1(?:3[0126]|2[89]|6[08]|9[23]|[48]4|52|76)|(?:20)?0|8)|7\.(?:2(?:2[456]|3[234]|0[89]|1[67]|48)|1(?:2[01]|76))|2\.24[013567])|1(?:7(?:7\.(?:[589]|1(?:[125]|9[3456789]|6[123456]|0[13]?|3[24]?|7[24]|42?)|2(?:2[57]|31)?|3[356789]|7[0579]?|4[36]?|6[68]?)|8\.(?:3[49]|5[18]|63))|80\.(?:1(?:3[02579]|4[45689]|5[01238])|220)|64\.(?:[0389]|2(?:0[45])?|1[012345]?)))|8\.1(?:8(?:6\.(?:1(?:[23]|96)|21[6789])|7\.(?:3[267]|85?|64))|0\.1(?:70|2)))|2(?:1(?:3\.(?:1(?:3(?:2\.255|6\.121)|08\.172)|87\.76)|7\.(?:8\.2(?:25|36)|118\.90|66\.146)|2\.(?:49\.(?:74|90)|23\.104|60\.73)|0\.89\.(?:36|50|63))|0(?:3\.(?:1(?:(?:92\.22|15\.9)4|71\.19[67])|76\.190)|2\.(?:1(?:24\.8[89]|52\.243|79\.89)|70\.5[489])|0\.88\.163)|2(?:2\.25(?:2\.(?:1(?:8[27]|58|79)|233)|3\.(?:[013]|2[457]?)|4\.(?:21[78]|77))|1\.211\.143))|41\.(?:2(?:4(?:8\.(?:11[23456789]|4[01236]|5[2345])|9\.(?:5[01234789]|6[012]|48))|0(?:2\.(?:20[013]|19[69]|86)|9\.(?:7[27]|119)|3\.2(?:27|31))|1(?:8\.2(?:3[789]|2[69])|6\.97)|5(?:0\.22[45]|4\.[0123])|23\.201)|1(?:4(?:0\.(?:1(?:[0234]|6[23]|1?1|8?5)|7[23456789]|2(?:26|51)|9[012345]?|6[05678]|5[078]|8\d?)|1\.118)|89\.(?:193|47)))|8(?:5\.26\.(?:1(?:6[45]|8[36])|2(?:3[2345]|41))|2\.(?:1(?:32\.248|78\.69)|209\.218)|3\.149\.(?:2[18]|4[45]|32?)|(?:7\.252\.24|4\.36\.13)3|9\.2(?:04\.153|32\.105)|1\.192\.(?:199|211)|6\.57\.132)|9(?:3\.8(?:5\.(?:1(?:9[267]|12|0)|2(?:0[89]|26|33))|4\.(?:2(?:3[23]|4[18])|10))|1\.(?:203\.67|195\.2)|2\.39\.(?:7[07]|65)|4\.79\.(?:6[56]|98)|5\.215\.8[012])|7(?:8\.(?:93\.(?:1(?:5[012]|7[567]|49|65)|22[245]|6[89]|70)|138\.17[01])|7\.64\.1(?:1[789]?|0)|9\.143\.100)|6(?:1\.1(?:9\.6[567]|7\.218)|2\.(?:140\.137|61\.164)))\.[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 # spam/ham s/o corpus # 0.5363/0 1.000 20100401 # 0.7486/0 1.000 20100402 # 0.7317/0 1.000 20100403 net run. min hosts 73->65 # 0.9316/0 1.000 20100406 # 0.9473/0 1.000 20100409 # 0.9545/0 1.000 20100410 net # test for ruleqa, 20100409, http://ruleqa.spamassassin.org/?rule=/KHOP_SPAMMY meta __KHOP_SPAMMY_CIDR24 KHOP_PSBL_CIDR24||KHOP_SC_CIDR24||KHOP_SC_TOP_CIDR24 # est. 1.2/0.0050@.996, floor: 1.0/0.0112@.989, ceiling: 1.4/0@1 # spam/ham s/o corpus # 1.2645/0.0054 0.996 20100410 net # 1.1562/0.0058 0.995 20100417 net meta __KHOP_SPAMMY_CIDR16 KHOP_SC_CIDR16||KHOP_SC_TOP_CIDR16 # est. 1.4/0.02@.986, floor: 1.3/0.0312@.977, ceiling: 2.0/0.0150@.993 # spam/ham s/o corpus # 1.0611/0.0009 0.999 20100410 net # 1.9539/0.0152 0.992 20100417 net meta __KHOP_SPAMMY_CIDR8 KHOP_SC_CIDR8||KHOP_SC_TOP_CIDR8 # est. 23.7/0.15@.994, floor: 23/0.2685@.988, ceiling: 26.5/0.0789@.997 # spam/ham s/o corpus # 23.7686/0.0614 0.997 20100410 net # 22.2300/0.0616 0.997 20100417 net meta __KHOP_SPAMMY_SUBNET __KHOP_SPAMMY_CIDR24||__KHOP_SPAMMY_CIDR16 # est. 26.2/0.175@.993, floor: 24.5/0.5@.980, ceiling: 30.1/0.1@.997 # spam/ham s/o corpus # 25.6744/0.0677 0.997 20100410 net, beat estimated ceiling (for ham)! # 23.7846/0.0826 0.997 20100417 net, beat ceiling ham, but beat floor spam # 23.7505/0.1041 0.996 20100418 too much ham, nixing /8, new est. 3.0/.02@.993 # Bump these up to compensate for expected but absent overlap (94+% noted below) if (! plugin(Mail::SpamAssassin::Plugin::DNSEval) ) score KHOP_SC_CIDR8 (0) (0.1) (0) (0.2) # BRBL(98%) score KHOP_SC_TOP_CIDR8 (0) (0.9) (0) (0.9) # BRBL(98%) score KHOP_SC_CIDR16 (0) (1.5) (0) (1.5) # BRBL(99%), PBL(98%) score KHOP_SC_TOP_CIDR16 (0) (1.7) (0) (1.7) # BRBL(99%), PBL(94%) score KHOP_SC_CIDR24 (0) (1.9) (0) (1.9) # SC(99) BRBL(96) MSPIKE(96) score KHOP_SC_TOP_CIDR24 (0) (2.1) (0) (2.1) # MSPIKE(99) SC(98) BRBL(97) ... # PSBL(97) HOSTKARMA(97) score KHOP_SC_TOP200 (0) (4.4) (0) (4.4) # SC(99) PSBL(99) ... # HOSTKARMA(99) SEMBLACK(99) BRBL(98) MSPIKE(94) score KHOP_PSBL_CIDR24 (0) (1.5) (0) (1.5) # BRBL(98) XBL(95) endif