• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂c6fcc084e40893d42c455f977025e3a744ff47d9 (tree)
時間2007-02-04 19:43:28
作者henoheno <henoheno>
Commiterhenoheno

Log Message

$Id: spam.php,v 1.116 2007/02/02 14:34:26 henoheno Exp $
Now 'example.com' means example.com and www.example.com

Change Summary

差異

--- a/lib/spam.php
+++ b/lib/spam.php
@@ -1,5 +1,5 @@
11 <?php
2-// $Id: spam.php,v 1.17 2007/02/01 15:02:45 henoheno Exp $
2+// $Id: spam.php,v 1.18 2007/02/04 10:42:41 henoheno Exp $
33 // Copyright (C) 2006-2007 PukiWiki Developers Team
44 // License: GPL v2 or (at your option) any later version
55 // Functions for Concept-work of spam-uri metrics
@@ -683,7 +683,7 @@ function get_blocklist($list = '')
683683 $regexs[$_list][$key] = $value;
684684 } else {
685685 $regexs[$_list][$value] =
686- '/^' . generate_glob_regex($value, '/') . '$/i';
686+ '/^(?:www\.)?' . generate_glob_regex($value, '/') . '$/i';
687687 }
688688 }
689689 }
--- a/spam.ini.php
+++ b/spam.ini.php
@@ -1,5 +1,5 @@
11 <?php
2-// $Id: spam.ini.php,v 1.17 2007/02/01 15:02:59 henoheno Exp $
2+// $Id: spam.ini.php,v 1.18 2007/02/04 10:43:28 henoheno Exp $
33 // Spam-related setting
44
55 $blocklist['goodhost'] = array(
@@ -42,10 +42,10 @@ $blocklist['badhost'] = array(
4242 '0rz.tw',
4343 '0url.com',
4444 '0zed.info',
45+ '12url.org',
4546 '*.1sta.com', // by shorturl.com
4647 '1url.org',
4748 '1url.in',
48- '*.1url.in',
4949 '*.24ex.com', // by shorturl.com
5050 '*.2cd.net', // by shim.net
5151 '2ch2.net',
@@ -87,7 +87,7 @@ $blocklist['badhost'] = array(
8787 '*.andmuchmore.com',// by webalias.com
8888 '*.antiblog.com', // by shorturl.com
8989 'athomebiz.com',
90- 'www.athomebiz.com',
90+ 'athomebiz.com',
9191 '*.arecool.net', // by iscool.net
9292 'ataja.es',
9393 'aukcje1.pl',
@@ -96,7 +96,6 @@ $blocklist['badhost'] = array(
9696 'biglnk.com',
9797 'bingr.com',
9898 'bittyurl.com',
99- '*.bittyurl.com',
10099 '*.be.tf', // by ulimit.com
101100 '*.best.cd', // by ulimit.com
102101 '*.blg.pl', // by Home.pl Sp. J. (info at home.pl)
@@ -112,7 +111,6 @@ $blocklist['badhost'] = array(
112111 '*.c0m.st', // by ulimit.com
113112 '*.ca.tc', // by ulimit.com
114113 'checkasite.net',
115- 'www.checkasite.net',
116114 '*.chicappa.jp',
117115 '*.clan.st', // by ulimit.com
118116 'clipurl.com',
@@ -221,7 +219,6 @@ $blocklist['badhost'] = array(
221219 '*.latest-info.com',// by webalias.com
222220 '*.learn.to', // by webalias.com
223221 'lediga.st',
224- 'www.lediga.st',
225222 'liencourt.com',
226223 'linkezy.com',
227224 'linkook.com',
@@ -231,23 +228,19 @@ $blocklist['badhost'] = array(
231228 'makeashorterlink.com',
232229 'maschinen-bluten-nicht.de', // by coolurl.de
233230 'mcturl.com',
234- '*.mcturl.com',
235231 'memurl.com',
236232 'minilien.com', // by digipills.com
237- '*.minilien.com', // by digipills.com
238233 'miniurl.pl',
239234 '*.mirrorz.com', // by shorturl.com
240235 'mixi.bz',
241236 'mo-v.jp',
242237 'monster-submit.com',
243- 'www.monster-submit.com',
244238 'mooo.jp',
245239 '*.moviefever.com', // by webalias.com
246240 '*.mp3.ms', // by ulimit.com
247241 '*.mp3-archives.com', // by webalias.com
248242 '*.mustbehere.com', // by hotredirect.com
249243 'myactivesurf.net',
250- 'www.myactivesurf.net',
251244 '*.mypiece.com', // by active.ws
252245 '*.myprivateidaho.com', // by webalias.com
253246 'mytinylink.com',
@@ -261,14 +254,12 @@ $blocklist['badhost'] = array(
261254 '*.notlong.com',
262255 '*.official.ws', // by active.ws
263256 'ofzo.be',
264- 'www.ofzo.be',
265257 '*.oneaddress.net', // by vdirect.com
266258 '*.onlyhere.net', // by hotredirect.com
267259 '*.op7.net', // by shim.net
268260 '*.ouch.ws', // by active.ws
269261 '*.pagehere.com', // by hotredirect.com
270262 'palurl.com',
271- 'www.palurl.com',
272263 '*.paulding.net',
273264 'phpfaber.org',
274265 '*.pirozhok.org', // by bucksogen.com
@@ -283,7 +274,7 @@ $blocklist['badhost'] = array(
283274 '*.r8.org', // by ne1.net
284275 '*.radpages.com', // by webalias.com
285276 'redirectme.to',
286- 'www.relic.net',
277+ 'relic.net',
287278 'rio.st',
288279 '*.remember.to', // by webalias.com
289280 '*.resourcez.com', // by webalias.com
@@ -308,11 +299,9 @@ $blocklist['badhost'] = array(
308299 'shorturl-accessanalyzer.com',
309300 'shortify.com',
310301 'shrinkthatlink.com',
311- 'www.shrinkthatlink.com',
312302 'shrinkurl.us',
313303 'shrt.org',
314304 'shrunkurl.com',
315- '*.shrunkurl.com',
316305 'shurl.org',
317306 'shurl.net',
318307 'sid.to',
@@ -325,9 +314,7 @@ $blocklist['badhost'] = array(
325314 'snipurl.com',
326315 '*.sp.st', // by ulimit.com
327316 'sp-nov.net',
328- 'www.sp-nov.net',
329317 'splashblog.com',
330- 'www.splashblog.com',
331318 '*.sports-reports.com', // by webalias.com
332319 '*.spyw.com', // by shorturl.com
333320 '*.ssr.be', // by f2b.be
@@ -349,7 +336,6 @@ $blocklist['badhost'] = array(
349336 'tinylink.com', // by digipills.com
350337 'tinylink.eu',
351338 'tinylinkworld.com',
352- 'www.tinylinkworld.com',
353339 'tinypic.com',
354340 'tinyr.us',
355341 'tinyurl.com',
@@ -373,7 +359,6 @@ $blocklist['badhost'] = array(
373359 '*.uploadr.com',
374360 'url.vg', // by jeremyjohnstone.com
375361 'url4.net',
376- '*.url4.net',
377362 'url-c.com',
378363 'urlcut.com',
379364 'urlcutter.com',
@@ -385,19 +370,17 @@ $blocklist['badhost'] = array(
385370 '*.vdirect.com', // by vdirect.com
386371 '*.vdirect.net', // by vdirect.com
387372 'vgo2.com',
388- 'www.vgo2.com',
389373 '*.veryweird.com', // by webalias.com
390374 '*.visit.ws', // by active.ws
391375 '*.vze.com', // by shorturl.com
392376 'w3t.org',
393377 'wapurl.co.uk',
394378 '*.way.to', // by webalias.com
395- 'www.wbkt.net',
379+ 'wbkt.net',
396380 '*.web-freebies.com', // by webalias.com
397381 '*.webalias.com',
398382 '*.webdare.com', // by webalias.com
399383 'webmasterwise.com',
400- '*.webmasterwise.com',
401384 '*.webrally.net', // by vdirect.com
402385 'wiz.sc', // tiny.cc related
403386 '*.xit.pl', // by Home.pl Sp. J. (info at home.pl)
@@ -459,9 +442,9 @@ $blocklist['badhost'] = array(
459442 '*.atfreeforum.com',
460443 '*.asphost4free.com',
461444 '*.beeplog.com',
445+ '*.blog.hr',
462446 '*.bloggingmylife.com',
463447 'bloggers.nl',
464- '*.bloggers.nl',
465448 '*.blogharbor.com',
466449 'myblogma.com',
467450 '*.blogspot.com', // by Google
@@ -473,7 +456,6 @@ $blocklist['badhost'] = array(
473456 '*.diaryland.com',
474457 '*.dox.hu',
475458 'dreipage.de', // by 2page.de
476- 'www.dreipage.de',
477459 '*.eblog.com.au',
478460 '*.ekiwi.de',
479461 '*.extra.hu',
@@ -483,55 +465,55 @@ $blocklist['badhost'] = array(
483465 '*.free-bb.com',
484466 '*.freeclans.de',
485467 '*.freelinuxhost.com', // by 100webspace.com
486- 'www.freeforum.at',
487- 'www.forumprofi.de',
488- 'www.forumprofi1.de', // by forumprofi.de
489- 'www.forumprofi2.de', // by forumprofi.de
490- 'www.forumprofi3.de', // by forumprofi.de
491- '*.forumup.at', // by forumup
492- '*.forumup.be', // by forumup
493- '*.forumup.ca', // by forumup
494- '*.forumup.ch', // by forumup
495- '*.forumup.co.nz', // by forumup
496- '*.forumup.co.uk', // by forumup
497- '*.forumup.co.za', // by forumup
498- '*.forumup.com', // by forumup
499- '*.forumup.com.au', // by forumup
500- '*.forumup.cn', // by forumup
501- '*.forumup.cz', // by forumup
502- '*.forumup.de', // by forumup
503- '*.forumup.dk', // by forumup
504- '*.forumup.es', // by forumup
505- '*.forumup.eu', // by forumup
506- '*.forumup.fr', // by forumup
507- '*.forumup.gr', // by forumup
508- '*.forumup.hu', // by forumup
509- '*.forumup.in', // by forumup
510- '*.forumup.info', // by forumup
511- '*.forumup.ir', // by forumup
512- '*.forumup.it', // by forumup
513- '*.forumup.jobs', // by forumup
514- '*.forumup.jp', // by forumup
515- '*.forumup.lt', // by forumup
516- '*.forumup.lv', // by forumup
517- '*.forumup.org', // by forumup
518- '*.forumup.pl', // by forumup
519- '*.forumup.name', // by forumup
520- '*.forumup.net', // by forumup
521- '*.forumup.nl', // by forumup
522- '*.forumup.ro', // by forumup
523- '*.forumup.ru', // by forumup
524- '*.forumup.se', // by forumup
525- '*.forumup.sk', // by forumup
526- '*.forumup.tv', // by forumup
527- '*.forumup.us', // by forumup
528- '*.forumup.web.tr', // by forumup
529- '*.freepowerboards.com',
468+ 'freeforum.at',
469+ 'forumprofi.de',
470+ 'forumprofi1.de', // by forumprofi.de
471+ 'forumprofi2.de', // by forumprofi.de
472+ 'forumprofi3.de', // by forumprofi.de
473+ 'forumup.at', // by forumup
474+ 'forumup.be', // by forumup
475+ 'forumup.ca', // by forumup
476+ 'forumup.ch', // by forumup
477+ 'forumup.co.nz', // by forumup
478+ 'forumup.co.uk', // by forumup
479+ 'forumup.co.za', // by forumup
480+ 'forumup.com', // by forumup
481+ 'forumup.com.au', // by forumup
482+ 'forumup.cn', // by forumup
483+ 'forumup.cz', // by forumup
484+ 'forumup.de', // by forumup
485+ 'forumup.dk', // by forumup
486+ 'forumup.es', // by forumup
487+ 'forumup.eu', // by forumup
488+ 'forumup.fr', // by forumup
489+ 'forumup.gr', // by forumup
490+ 'forumup.hu', // by forumup
491+ 'forumup.in', // by forumup
492+ 'forumup.info', // by forumup
493+ 'forumup.ir', // by forumup
494+ 'forumup.it', // by forumup
495+ 'forumup.jobs', // by forumup
496+ 'forumup.jp', // by forumup
497+ 'forumup.lt', // by forumup
498+ 'forumup.lv', // by forumup
499+ 'forumup.org', // by forumup
500+ 'forumup.pl', // by forumup
501+ 'forumup.name', // by forumup
502+ 'forumup.net', // by forumup
503+ 'forumup.nl', // by forumup
504+ 'forumup.ro', // by forumup
505+ 'forumup.ru', // by forumup
506+ 'forumup.se', // by forumup
507+ 'forumup.sk', // by forumup
508+ 'forumup.tv', // by forumup
509+ 'forumup.us', // by forumup
510+ 'forumup.web.tr', // by forumup
511+ 'freepowerboards.com',
530512 '*.hit.bg', // by forumup.com ??
531513 '*.goodboard.de',
532514 'docs.google.com', // by Google
533515 'groups-beta.google.com', // by Google
534- 'www.healthcaregroup.com',
516+ 'healthcaregroup.com',
535517 '*.hk.pl', // by info at home.pl
536518 '*.host-page.com',
537519 '*.home.pl', // by info at home.pl
@@ -547,7 +529,6 @@ $blocklist['badhost'] = array(
547529 '*.journalscape.com',
548530 '*.land.ru', // pochta.ru related
549531 'limmon.net',
550- 'www.limmon.net',
551532 'ltss.luton.ac.uk',
552533 '*.monforum.com',
553534 '*.monforum.fr', // by monforum.com
@@ -562,22 +543,19 @@ $blocklist['badhost'] = array(
562543 '*.phpbbx.de',
563544 '*.quickfreehost.com',
564545 'quizilla.com',
565- 'www.quizilla.com',
566546 '*.pochta.ru',
567547 '*.sayt.ws',
568548 '*.sbn.bz', // by rin.ru
569549 '*.spazioforum.it',
570550 '*.squarespace.com',
571551 'stickypond.com',
572- 'www.stickypond.com',
573552 '*.stormloader.com',
574553 '*.t35.com',
575554 '*.talkthis.com',
576555 'telasipforums.com',
577556 'thestudentunderground.org',
578- 'www.think.ubc.ca',
557+ 'think.ubc.ca',
579558 '*.welover.org',
580- '*.weblogmaniacs.com',
581559 'weblogmaniacs.com',
582560 '*.wikidot.com',
583561 '*.wmjblogs.ru',
@@ -590,7 +568,7 @@ $blocklist['badhost'] = array(
590568 // (e.g. some sort of blog comments, BBSes, forums, wikis)
591569 '*.aamad.org',
592570 'anewme.org',
593- 'www.blepharospasm.org',
571+ 'blepharospasm.org',
594572 '*.buzznet.com',
595573 '*.colourware.co.uk',
596574 'icu.edu.ua',
@@ -598,23 +576,23 @@ $blocklist['badhost'] = array(
598576 'board-z.de',
599577 '*.board-z.de',
600578 'deproduction.org',
601- 'www.deproduction.org',
579+ 'deproduction.org',
602580 'dc503.org',
603581 'fhmcsa.org.au',
604582 '*.fhmcsa.org.au',
605583 'forum.lixium.fr',
606584 'funkdoc.com',
607585 '*.goodboard.de',
608- 'www.homepage-dienste.com',
586+ 'homepage-dienste.com',
609587 '*.inventforum.com',
610- 'www.funnyclipcentral.com',
588+ 'funnyclipcentral.com',
611589 'huskerink.com',
612590 'internetincomeclub.com',
613591 'kevindmurray.com',
614- 'www.macfaq.net',
615- 'www.me4x4.com',
592+ 'macfaq.net',
593+ 'me4x4.com',
616594 'morallaw.org',
617- 'www.morerevealed.com',
595+ 'morerevealed.com',
618596 'mamiya.co.uk',
619597 'mountainjusticemedia.org',
620598 'users.nethit.pl',
@@ -622,21 +600,20 @@ $blocklist['badhost'] = array(
622600 'nlen.org',
623601 'omikudzi.ru',
624602 'pix4online.co.uk',
625- 'www.pix4online.co.uk',
626- 'www.privatforum.de',
603+ 'privatforum.de',
627604 '*.reallifelog.com',
628605 'rkphunt.com',
629- 'www.saskchamber.com',
606+ 'saskchamber.com',
630607 'selikoff.net',
631- 'www.setbb.com',
608+ 'setbb.com',
632609 'silver-tears.net',
633610 'dir.kzn.ru', // by Kazan State University
634611 'sys.kcn.ru', // by Kazan State University
635612 'theedgeblueisland.com',
636- 'www.tzaneen.co.za',
613+ 'tzaneen.co.za',
637614 'urgentclick.com',
638615 'wolvas.org.uk',
639- 'www.wvup.edu',
616+ 'wvup.edu',
640617
641618
642619 // C: Sample setting of:
@@ -771,6 +748,8 @@ $blocklist['badhost'] = array(
771748 //
772749 '1818u.org', // by Andrey (vdf at lovespb.com), redirect to activefreehost.com
773750 '*.1818u.org',
751+ '18ew.info', // by Andrey (vdf at lovespb.com), redirect to activefreehost.com
752+ '*.18ew.info',
774753 '43sexx.org', // by Andrey (vdf at lovespb.com), / was not found
775754 '*.43sexx.org',
776755 '56porn.org', // by Andrey (vdf at lovespb.com), / was not found
@@ -931,11 +910,21 @@ $blocklist['badhost'] = array(
931910 '*.pharmacif.info',
932911 'pornsexteen.biz', // by Lebedev Sergey (serega555serega555 at yandex.ru)
933912 '*.pornsexteen.biz',
913+ 'ugfds.info', // by Lebedev Sergey (serega555serega555 at yandex.ru)
914+ '*.ugfds.info',
934915 'vviagra.info', // by Lebedev Sergey (serega555serega555 at yandex.ru)
935916 '*.vviagra.info',
936917 //
937918 '*.cheapestviagraonline.info', // by Anatol (anatolsenator at gmail.com)
938919 '*.buyphentermineworld.info', // by Anatol (anatolsenator at gmail.com)
920+ //
921+ 'testviagra.org', // by Chong Li (chongli at mederotica.com)
922+ 'listsitepro.com', // by VO Entertainment Inc (webmaster at mederotica.com)
923+ //
924+ 'xer-vam.org', // by Dr. Portillo (aliacsandr85 at yahoo.com)
925+ '*.xer-vam.org',
926+ 'vvsa.org', // by Eva Sabina Lopez Castell (aliacsandr85 at yahoo.com)
927+ '*.vvsa.org',
939928
940929 // C-2: Lonely domains (buddies not found yet)
941930 '0nline-porno.info', // by Timyr (timyr at narod.ru)
@@ -944,6 +933,8 @@ $blocklist['badhost'] = array(
944933 '*.advancediet.com',// by Shonta Mojica (hostadmin at advancediet.com)
945934 '*.areaseo.com', // by Antony Carpito (xcentr at lycos.com)
946935 'bestdiscountpharmacy.biz', // by John Brown (john780321 at yahoo.com), 2007-01-27, 61.144.122.45
936+ 'd999.info', // by Peter Vayner (peter.vayner at inbox.ru)
937+ '*.d999.info',
947938 '*.dlekei.info', // by Maxima Bucaro (webmaster at tts2f.info)
948939 '*.discutbb.com', // by Perez Thomas (thomas.jsp at libertysurf.fr)
949940 'dreamteammoney.com', // dtmurl.com related
@@ -965,6 +956,8 @@ $blocklist['badhost'] = array(
965956 '*.ls.la', // by Milton McLellan (McLellanMilton at yahoo.com)
966957 'myfgj.info', // by Filus (softscript at gmail.com)
967958 '*.mujiki.com', // by Mila Contora (ebumsn at ngs.ru)
959+ 'ornit.info', // by Victoria C. Frey (Victoria.C.Frey at pookmail.com)
960+ '*.ornit.info',
968961 '*.pahuist.info', // by Yura (yuralg2005 at yandex.ru)
969962 '*.perevozka777.ru', // by witalik at gmail.com
970963 'portaldiscount.com', // by Mark Tven (bestsaveup at gmail.com)
@@ -978,8 +971,6 @@ $blocklist['badhost'] = array(
978971 '*.webnow.biz', // by Hsien I Fan (admin at servcomputing.com)
979972 'wellcams.biz', // by Sergey Sergiyenko (studioboss at gmail.com)
980973 '*.xpacificpoker.com',// by Hubert Hoffman (support at xpacificpoker.com)
981- 'xer-vam.org', // by Dr. Portillo (aliacsandr85 at yahoo.com)
982- '*.xer-vam.org',
983974 'zlocorp.com', // by tonibcrus at hotpop.com, spammed well with "http ://zlocorp.com/"
984975 '*.zlocorp.com',
985976