## khop-sc-neighbors.cf v 20100822 ## 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]|189|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(?:22\.16[04]|17\.197)|89\.122|59\.94)(?:\.[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(?:1(?:5\.240|7\.241|3\.22)|2(?:3\.2[67]|2\.168))|(?:41\.24|94\.15)9|59\.92)(?:\.[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(?:0(?:3\.217\.145|6\.181\.83|9\.239\.47)|1(?:7\.118\.8[23]|3\.233\.64)|22\.124\.178)|1(?:1(?:9\.206\.228|3\.162\.60)|21\.54\.(?:32|54)|09\.95\.39)|7(?:8\.138\.17[01]|7\.74\.36)|9(?:5\.129\.16|3\.186\.9)6|41\.137\.(?:24|56)|0\.0\.0)\.[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(?:2(?:1(?:3\.(?:233\.64|87\.76)|7\.118\.90|8\.248\.64)|0(?:6\.181\.8[3456]|3\.82\.95))|1(?:1(?:7\.241\.25[23]|1\.224\.250|0\.45\.144|3\.162\.67)|23\.140\.193|88\.135\.2)|8(?:5\.26\.(?:23[2345]|164)|3\.149\.(?:21|3)|9\.232\.105|2\.178\.69)|7(?:7\.232\.14[23]|8\.138\.171|9\.106\.109)|9(?:5\.154\.116|1\.203\.67)|6(?:9\.25\.18|1\.19\.6)6|41\.(?:254\.1|95\.4)|59\.99\.(?:40|56))\.[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(?:49\.(?:104\.17|229\.14)1|64\.248\.240|59\.149\.27|7\.212\.73)|2(?:4(?:8\.241\.167|\.208\.28)|(?:13\.71\.10|6\.67\.23)0)|4\.155\.75|73\.8\.96)|5\.(?:1(?:82\.194\.(?:195|220)|60\.253\.4)|7(?:0\.36\.72|2\.0\.5)|216\.210\.247|58\.231\.126)|3\.(?:1(?:(?:07\.184\.19|7\.253\.1|51\.96\.)3|98\.8\.211)|231\.238\.4)|4\.(?:1(?:26\.180\.10|16\.253\.5)|204\.203\.16|50\.9\.114)|6\.(?:1(?:2\.2(?:26\.220|36\.4)|\.209\.83)|201\.207\.183)|9\.239\.248\.137)|2(?:2\.(?:252\.2(?:(?:46\.23|34\.7)4|28\.137)|(?:34\.215\.21|181\.5\.25)0)|3\.(?:1(?:40\.193\.203|09\.218\.20)|2(?:52\.208\.166|7\.79\.11))|1\.(?:180\.141\.65|50\.16\.11)|5\.1(?:60\.171\.223|43\.38\.1)|8\.134\.57\.75)|1(?:5\.(?:11(?:1\.32\.17|7\.35\.15)8|248\.56\.145)|1\.224\.250\.1(?:3[2345]|29)|6\.(?:15\.109\.38|0\.7\.2)|8\.161\.2(?:42\.36|51\.99)|3\.160\.245\.129|4\.111\.197\.185|0\.45\.144\.227|9\.110\.107\.10)|8(?:9\.(?:1(?:60\.12\.180|00\.8\.177)|5\.54\.209|69\.70\.98)|4\.154\.41\.173|7\.85\.135\.190|6\.200\.12\.4)|(?:09\.160\.185\.9|59\.148\.96\.25)1|7(?:5\.145\.26\.145|8\.217\.208\.2)|40\.239\.22\.210)|2(?:0(?:1\.(?:1(?:16\.140\.246|44\.130\.21|56\.151\.85)|(?:251\.250\.|73\.39\.16)3|93\.247\.76)|0\.(?:1(?:11\.161\.194|41\.87\.135)|8(?:8\.196\.220|0\.140\.61)|42\.204\.155)|3\.(?:1(?:53\.(?:44\.130|39\.18)|13\.164\.150)|2(?:17\.176\.65|55\.219\.82))|2\.(?:52\.236\.243|1\.196\.147)|5\.209\.97\.203|9\.239\.47\.205)|1(?:7\.(?:1(?:(?:39\.104\.21|16\.47\.)8|73\.21\.5)|76\.2\.129)|1\.(?:1(?:79\.124\.160|91\.174\.141)|247\.97\.135)|8\.(?:248\.(?:44\.19|11\.7)6|59\.237\.251)|0\.(?:48\.147\.1(?:09|13)|122\.170\.6)|9\.(?:253\.20\.100|74\.59\.251)|3\.168\.182\.97)|2(?:2\.(?:124\.178\.158|252\.223\.2)|0\.231\.127\.12|1\.143\.46\.33)|4\.212\.113\.56)|8(?:5\.(?:1(?:5(?:2\.100\.7|4\.5\.155)|8\.81\.162)|(?:235\.194\.13|90\.193\.24)0|80\.200\.129)|1\.(?:2(?:0\.104\.173|1\.115\.38|5\.230\.5)|1(?:09\.54\.133|92\.103\.84))|2\.(?:1(?:93\.140\.168|14\.65\.246|78\.168\.80|40\.91\.41)|243\.86\.20)|9\.(?:1(?:52\.151\.223|61\.141\.147)|231\.178\.16|47\.118\.67)|3\.(?:208\.(?:245\.5|90\.19)6|142\.111\.228)|6\.(?:1(?:06\.1\.134|80\.54\.0)|98\.76\.253)|0\.(?:57\.232\.218|237\.121\.2|65\.16\.71)|8\.(?:255\.153\.106|183\.90\.127)|7\.2(?:19\.245\.105|01\.96\.206)|4\.(?:22\.48\.187|55\.75\.225))|6(?:4\.(?:16(?:4\.228\.206|5\.253\.230)|244\.130\.98)|2\.(?:1(?:03\.171\.28|74\.85\.186)|228\.178\.14)|9\.(?:25\.186\.22[57]|151\.79\.238|68\.22\.146)|0\.(?:251\.230\.82|51\.225\.213)|1\.(?:185\.36\.138|97\.32\.104)|6\.90\.70\.94)|9(?:1\.(?:1(?:9(?:8\.175\.252|3\.199\.4)|13\.236\.190|49\.173\.2)|2(?:05\.131\.6|15\.220\.2))|3\.(?:113\.15\.18|91\.196\.99)|4\.(?:232\.59\.33|52\.190\.12)|5\.(?:93\.55\.251|160\.52\.4)|6\.32\.124\.130|8\.222\.89\.13)|7(?:8\.(?:1(?:0(?:9\.36\.(?:60|2)|8\.143\.59)|76\.90\.133)|40\.254\.1)|0\.(?:45\.169\.175|56\.144\.61)|6\.(?:227\.84\.105|164\.232\.6)|4\.(?:55\.68\.14|92\.90\.58)|9\.187\.150\.122|2\.51\.47\.187|7\.22\.162\.39)|41\.(?:2(?:08\.14\.66|10\.32\.14)|137\.(?:24|30|56)\.4)|59\.1(?:24\.171\.160|89\.216\.167))\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(?:7[0126789]?|8[0123456]?|9[2345678]?|4[456789]|[03][012]|1[23]|2[89]|6\d?|50)|2(?:[357]|1[01234567]?|4[0123456]?|2[45678]?|0[89]?)|3[234567]|8[0123]|9[6789]|7[123]|[56]\d|4[89])|5\.(?:1(?:0[01234]|3[0123]|4[4567]|6[012]?|9[23]?|1[23]|2[89]|76?|8)?|6[456789]?|3[23456]?|2[0123]?|5[0124]?|9[6789]|4[89]?|0)|1\.(?:1(?:1[23456]?|0[012])|6[456789]|8[012346]|5[0123]?|9[6789]|3[237]|4[89]?|7[01]|0)|4\.(?:[034]|1(?:1[23678]|7[013]|4[45]|6\d|00|21)?|2(?:2[4567]|40)?|6[56]?|9[678]|8[35])|3\.(?:[02345]|1(?:4[45]|7[67])?)|6\.(?:1(?:28|44|7)|240|32)|7\.(?:5[012345]|4[89]|8?0))|4(?:1\.(?:1(?:7[678]?|1[234]|9[23]?|3[67]|4[45]|60?|84?|28|52)?|2(?:5[2345]?|3[2346]|4[014]?|0[018]|1[678]|2[48])?|8[01238]?|5[678]|4[08]|64|96|0)|2\.(?:1(?:4[014]|8[04]|1?2|32?|9?6|08)?|2(?:4?8|52)|8[045]?|4[045]|6[018]|5[67]|32|73|0)))|1(?:9(?:9\.(?:[07]|1(?:6[012345678]?|8[01234567]?|9[23456789]?|1[23456789]|4[456789]|3[02369]|7[6789]?|0[126]?|5[01]|2\d)?|2(?:[13789]|2[4567]?|4[125]?|0?0)?|8[012456789]|6[0145679]?|3[2346]?|4[89]?|9[69]|5\d?)|8\.(?:[06]|1(?:7[012346789]|8[012345678]|9[0134789]|3[0134]|5[1238]|4[479]|0[12]|2[89]|6\d)?|2(?:2[4568]|1[012]|0[89]|47)?|3[2345678]?|9[01234589]|5[01234]?|4[89]?|7[23]?|8\d)|7\.(?:1(?:7[0123468]|1[245789]|9[46]?|[02]0|6\d?|8)?|2(?:[012]|5[01234]?|4\d?|3?3)?|5[012456]?|6[456789]|9[6789]|4[89]?|7[012]|0)|6\.(?:[0456]|2(?:1[012345678]|2[456789]|0[89]|3\d)?|1(?:8[012356]|3[0125]|7[6789]|29)?|3[345]?)|5\.(?:[02345]|1(?:0[12356])?|7[0123456]?|6[456789]|9[678])|4\.(?:[012]|9[678]))|\.2[23]3))|6\.7(?:1\.(?:[0789]|1(?:[01236789]|4[456789]?|5[01]?)?|2(?:[345789]|1[28]?|09?|21?)?|3[023456789]?|6[023]?|[45]\d?)|4\.(?:1(?:0[1234789]|1[023589]|2[0123])|[69]9))|3\.(?:1(?:6(?:2\.(?:2(?:2[4578]|4[0345]|34)|7[079]|6[47]|9[67]|100|56)|7\.(?:[02]|1(?:6[26])?)|9\.(?:18[023]|88|91)|8\.1(?:1[45]|28|42))|85\.1)|22\.[89])|9\.15(?:5\.(?:[045678]|1(?:[2356789]|0[123]?|17?)?|3[0245689]?|2[034567]?|9[67]?)|9\.(?:2(?:0[012345789]|2[0123]|1\d)|19[2345689])|3\.(?:[0135]|89?|92))|5\.1(?:47\.(?:2(?:3[0127]|0[123]|29)|192)|86\.(?:6[456789]|7[0123])|1(?:8\.27|7\.3))|8\.(?:68\.(?:1(?:2[012]|9[236]|66)|2(?:4[89]|5[23]))|71\.(?:[89]|10))|4\.(?:79\.1(?:5[0278]|3[689]|7[69]|42|88)|143\.(?:5[234]|123))|0\.(?:172\.(?:3[01]|25)|49\.193)|2\.19(?:6\.1(?:29|30)|7\.128))|2(?:2\.1(?:6(?:8\.(?:1(?:[0123459]|[78][012345678]?|6\d?)|2(?:[6789]|5[012345]?|[01234]\d?)|6[0389]?|7[0179]?|9[6789]?|3[0159]|5[14]?|42?|8)|1\.(?:1(?:[08]|9[2568]?|3[07]?|6[03]?|1[34]|27?|53?)|2(?:[01]|4[2357])|5[246789]|6[5789]|75)|2\.(?:2(?:[037]|2[389]?|17?|5?4)|1[19]4|3[89]|7[67]|52)|3\.(?:1(?:8[45]?|63?|24|7)?|6[0167]|4[35]|[28]3|34)|9\.(?:5[019]|3[79]|4[19]|8[15]|64)|4\.8[01])|7(?:3\.(?:1(?:2[37]|35|74)|65)|6\.1(?:5[02345]|4[89]|37)|8\.1(?:[45][47]|7[12]|62)|7\.66))|0\.(?:6(?:1\.(?:[0456789]|1(?:[0145789]|3[2345]|29?)?|2[012346789]?|3[025]?)|0\.(?:[0345678]|1(?:[015679]|2[89]?|4[13]|3\d?)?|2[03]?)|2\.1(?:6[037]|71)|3\.(?:[23]|1?0))|56\.133|89\.79)|4\.253\.(?:1(?:3[013679]|1[345]|6[016])|2(?:26|30)|3[45]|8[12])|3\.2(?:(?:2\.5|7\.8)3|52\.2(?:08|11)|8\.142)|5\.6(?:2\.96|3\.97))|7(?:8\.12(?:2\.(?:2(?:0[012389]|1[01])|1(?:9[234]|09)|8[457]|3[67]|6[01]|7[23]|52|97)|3\.(?:1(?:7[67]|85)|4[0123]|2[467]|32)|5\.(?:16?|8?0|48|64))|5\.100\.17[012345])|8(?:3\.87\.(?:2(?:0[34]|2[36])|[56][89]|198)|2\.(?:237\.(?:10|9)|48\.209)|(?:0\.150\.24|8\.135\.)2)|9(?:6\.(?:202\.2(?:0[89]|22)|43\.74)|4\.2(?:30\.146|8\.[45])|0\.110\.155|5\.238\.116))|5(?:9\.(?:9(?:5\.(?:[08]|1(?:[458]|0[013456789]?|6[124578]?|[13][01]?|7[0128]?|2[89]?|9[67]?)?|2(?:[23456789]|1[13]?|09?)?|5[01234568]?|7[01234567]?|6[456789]?|4[6789]?|9[689]?|3\d?)|9\.(?:[08]|1(?:3[0167]|5[2345]|6[014]?|7[678]?|8[457]|2[89]|9[23])|2(?:[4567]|0[089]|1[01])|4[0189]|5[6789]|6[045]|7[23]|32)|4\.(?:1(?:3[0123456]?|1[23458]?|4[0123]|0[14]?|7[789]|2[89]|81)|2(?:4[23568]|5[1245]|0[89]|1[01])|4[0123]|9[689]?|7[234]|8)|8\.(?:1(?:6[01]?|9[234]|4[45]|28|52|76)?|8[01]|200)|7\.(?:2(?:1[01678]|0[89]|32|48)|192)|2\.(?:2(?:4[01234569]|5[03])|112)|6\.(?:[79]1|89)|3\.1(?:28|31))|1(?:7(?:7\.(?:[567]|1(?:9[48]|3?5|40|67|2)|2(?:2[567]|30)|3[458]?|4[12]?)|8\.(?:39|40|57))|64\.(?:[03589]|1[01234]?|2(?:04)?)|80\.(?:1(?:5[13]|29|38|42)|220)))|8\.18(?:6\.(?:1(?:[34]|9[67])|2(?:1[6789]|20))|7\.8))|2(?:1(?:3\.(?:1(?:08\.172|62\.68)|87\.(?:194|76)|5\.21[67])|7\.(?:118\.(?:82|90)|8\.2(?:25|36)|66\.146)|0\.(?:89\.(?:3[267]|4[349]|5[03])|56\.99)|2\.(?:49\.(?:7[49]|9[02]|67)|23\.10[45])|8\.248\.64)|0(?:3\.(?:1(?:9(?:2\.2(?:24|49)|4\.10[04])|71\.19[67]|88\.229|15\.94|52\.2)|(?:76\.18|82\.9)5)|2\.1(?:79\.8[59]|52\.243|24\.89)|1\.191\.195)|22\.25(?:4\.(?:21[68]|77)|2\.247|3\.185))|8(?:5\.26\.(?:1(?:6[45]|8[36])|2(?:3[2345]|41))|2\.(?:1(?:32\.248|78\.69)|209\.218)|3\.149\.(?:3[27]?|2[18]|4[45])|9\.2(?:04\.1(?:37|53)|32\.105)|1\.192\.2(?:11|38))|41\.(?:2(?:0(?:2\.(?:19[23456789]|20[0123])|9\.72)|1(?:8\.251|6\.97)|54\.[0123])|1(?:91\.2[78]|76\.241)|95\.[248]|66\.6)|9(?:3\.8(?:5\.(?:1(?:[01]|9[234567])|232)|4\.1?1)|2\.39\.(?:7[019]|65)|5\.(?:154\.11|59\.)6|1\.203\.67)|7(?:7\.(?:2(?:32\.14[23]|42\.17)|64\.11[79])|9\.1(?:06\.109|43\.100)|8\.138\.17[01])|6(?:2\.24\.(?:12[67]|99)|1\.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 # 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