Black List Plugin

Your current Score for IP address 18.191.88.249: %BLACKLIST{ action="user_score" }%
BANLIST: list of IP addresses based on BANLIST configuration
IP address:   Action:  

Current list: %BLACKLIST{ action="ban_show" }%

%BLACKLIST{action="" value="" }%

hide changelog

ChangeLog

No such template def TMPL:DEF{PROMPT:anonchangelog}
24 Jan 2006 - 15:30:16
removed the google bots from 66.249.66.

30 Nov 2005 - 09:36:08
added guestbook spammer from 67.48.108.97, 206.74.20.15, 81.226.27.252, 66.143.179.188, 69.146.18.226, 65.190.46.161, 68.53.50.140 (great site...disney.com)

28 Nov 2005 - 11:15:38
added guestbook spammer from 221.212.177.97 ("The danger of our culture").

31 Oct 2005 - 10:03:55
added spamer from 82.159.24.83 (MaxSel)

28 Sep 2005 - 11:21:30
removed the google bots again and put them on the whitelist

14 Jun 2005 - 10:03:48
added 218.19.108.211, created AustraliaRealEstate user account; another well-known twiki spamer: try googling him; added @21.cn to the disallowed email addresses during registration

20 May 2005 - 14:03:47
added 80.77.86.148, created AllanMacShane user account; this one is well-known: try googling him

29 Apr 2005 - 17:59:50
More power crawlers from 57.78.136.5. No proper DNS entries for them.

28 Apr 2005 - 12:27:47
Wow, 195.200.34.17 was bumping up CPU in a sudden burst .... blacklisted ... what else does he expect. Power crawler.

22 Apr 2005 - 18:38:57
added 218.212.212.161 due to a server attack

15 Apr 2005 - 09:20:32
added 69.50.170.210 due to WikiSpam on MichasGuestBook
04 Apr 2005 - 13:36:36
Added more wiki-spammers taken from the list at TWiki:Codev/WikiSpammersOnTWikiSites.
01 Apr 2005 - 10:25:35
Added more wiki-spamers. See also the TWiki:TWiki/BlackListLog at twiki.org.
31 Mar 2005 - 15:51:35:
fixed content-cache not to cache black-sheep messages
31 Mar 2005, 10:24:38:
added uni-duesseldorf.de (134.99.24., 134.99.106.) to the white-list
31 Mar 2005, 09:57:14:
added wiki-spamer from 222.183.118.187
31 Mar 2005, 09:31:38:
The following domains have been blacklisted due to wiki-spam: www.cqcxj.com, www.cqunitop.com, www.meihengjd.com, www.cqlisong.com, www.evst.cn
30 Mar 2005, 09:56:58:
Enabled this plugin again. Please mail wikinats.informatik.uni-hamburg.de if there are any problems.
27 Mar 2005, 10:39:52:
This plugin black-lists me sporadically. So it is disabled now.
26 Mar 2005, 15:23:06:
oops, some wwwtgi script has been blacklisted automatically
24 Mar 2005, 10:20:06:
added wiki spam from 126.com domain

Description

This is a simple utility to keep black sheep away from a public TWiki site. The site can be protected against excessive page access (e.g. by bad robots) and suspicious activities of users, such as multiple registrations or rapid topic updates indicating Wiki:WikiSpam.

The Plugin monitors activities by IP address and uses three IP address lists to protect the TWiki site:
  • WHITELIST: Manually maintained list of users who should never get on the BANLIST
  • BLACKLIST: Manually maintained list of malicious users
  • BANLIST: Automatically updated list of users with suspicious activities

Users on the BLACKLIST and BANLIST will have every page access delayed by one minute and will get an error message.

To fight Wiki-spam, the Plugin can also add a rel="nofollow" parameter to external URLs. Search engines will not follow links that have this parameter, taking away the incentive to add spam to TWiki.

Plugin Settings

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Utility to keep malicious users away from a public TWiki site

  • WHITELIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
    • Set DEFAULT_WHITELIST = 127.0.0.1, 134.100.10.112, 134.100.10.119, 134.100.9.77, 66.249.65., 66.249.66., 66.249.72.

  • BLACKLIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
    • Set DEFAULT_BLACKLIST = 203.88.152., 203.88.155., 219.65.75.

  • BANLIST configuration, comma delimited list of:
    1. points for registration
    2. points for each save and upload
    3. points for view raw
    4. points for other actions like view
    5. threshold to add to BANLIST
    6. measured over time (in seconds)
    • Set BANLISTCONFIG = 20, 5, 2, 1, 300, 300
    • Your current score: %BLACKLIST{ action="user_score" }% for IP address 18.191.88.249

  • Message for users on BLACKLIST and BANLIST:
    • Set BLACKLISTMESSAGE = You are black listed at the Foswiki web site due to excessive access or suspicious activities. Please contact site administrator wolfgang.menzel@uni-hamburg.de if you got on the list by mistake. Black listed IP addresses will be submitted to major blacklist databases.

  • Add a rel="nofollow" parameter to external URLs. Use this is to fight Wiki-spam. Search engines will not follow the link if a URL has a nofollow parameter, such as <a href="http://spammer.com/" rel="nofollow">. Specify topic age in hours for which the nofollow parameter should appear (set it to a value that gives you enough time to remove spam); set it to -1 to add the nofollow parameter unconditionally to external URLs; or 0 to disable: (-1, 0, 1...N)
    • Set NOFOLLOWAGE = 0

  • Log access of users on BLACKLIST and BANLIST: (1 or 0)
    • Set LOGACCESS = 1

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip BlackListPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/BlackListPlugin.txt Plugin topic
    data/TWiki/BlackListPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/BlackListPlugin.pm Plugin Perl module
  • Test if the installation was successful:
    1. Using above form, add the IP address of one of your workstations to the BANLIST
    2. Access TWiki from that workstation
      • if you look at a TWiki topic (with the view script) you should see the BLACKLISTMESSAGE (defined above) after a one minute timeout
      • else, you should get an 500 Internal Server Error for other scripts
    3. On a different workstation, remove the IP address of the test workstation from the BANLIST

Known Issues

  • The BANLIST does not work until you add and remove an IP address using above form

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Plugin Version: 22 Jan 2005 (V1.004)
Change History:  
22 Jan 2005: Added NOFOLLOWAGE handling
19 Jan 2005: Added score for "view raw" to address e-mail harvester issue
05 Apr 2004: Fixed bug in event log (requiring update of earlier Plugin versions); doc updates
04 Apr 2004: Added WHITELIST and BANLIST
21 Mar 2004: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
TWiki:Plugins/Benchmark: GoodStyle 99%, FormattedSearch 99%, BlackListPlugin 97%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/BlackListPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/BlackListPluginDev

Related Topics: TWikiPreferences, Plugins, Google blacklist directory

-- TWiki:Main/PeterThoeny - 22 Jan 2005

Navigation

%IFSKINSTATETHEN{searchbox="pos2"}%

%FISKINSTATE%
%MYSIDEBAR%

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback