Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r17  >  r16  >  r15  >  r14  >  r13  ...
BlackListPlugin 17 - 2009-12-06 - Main.TWikiAdminUser
Line: 1 to 1
 

Black List Plugin

Line: 179 to 179
 -- TWiki:Main/PeterThoeny - 29 Mar 2007
Changed:
<
<
META FILEATTACHMENT attachment=".htaccess" attr="" comment="Saved by install script" date="1229077511" name=".htaccess" size="41" stream="GLOB(0x525ea38)" tmpFilename="/tmp/PcrEv9ZYBc" user="BaseUserMapping_333" version="1"
>
>
META FILEATTACHMENT attachment=".htaccess" attr="" comment="Saved by install script" date="1229077511" name=".htaccess" size="41" stream="GLOB(0x5559138)" tmpFilename="/tmp/VfJ2PIzj00" user="BaseUserMapping_333" version="1"

BlackListPlugin 16 - 2009-12-06 - Main.TWikiAdminUser
Line: 1 to 1
 

Black List Plugin

Line: 61 to 61
 
    1. Points for view raw
    2. Threshold to add to BANLIST
    3. Measured over time (in seconds)
Changed:
<
<
    • Set BANLISTCONFIG = 10, 5, 1, 20, 120, 300
>
>
    • Set BANLISTCONFIG = 10, 5, 1, 5, 120, 300
 
    • Your current score: N/A for IP address 127.0.0.1

  • Message for users on BLACKLIST and BANLIST:
Line: 124 to 124
 
lib/TWiki/Plugins/BlackListPlugin.pm Plugin Perl module
pub/TWiki/BlackListPlugin/.htaccess Apache access control to protect pub dir
templates/oopsblacklist.tmpl Generic oops message
Deleted:
<
<
  • Write protect this Plugin topic (if not already done)
 
  • Make sure pub/TWiki/BlackListPlugin/ is writable by the CGI user (typically nobody)
  • Add the hidden form field to the registration form as described in the "Registration protection settings" section (this is already in TWiki 4.0)
  • From TWiki 4.0 release on: Run the configure utility in your browser to enable the Plugin
Added:
>
>
  • Make sure that non-administrators cannot edit this plugin topic. By default, this topic is write protected with an ALLOWTOPICCHANGE = TWikiAdminGroup setting.
 
  • 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
Line: 138 to 138
 

Known Issues and Limitations

  • Wiki-spam filtering for HTML attachments works in TWiki 01-Sep-2004 and later.
Changed:
<
<
  • With TWiki 4.0.2 on some platforms, notably Solaris, attached files are uploaded with a zero file size. This is because there is a bug in how TWiki 4.0.2 handles the beforeAttachmentSaveHandler. If affected, upgrade TWiki or apply bug fix Item2390
  • Scan for script eval in attachments is currently hardcoded
>
>
  • With TWiki 4.0.2 on some platforms, notably Solaris, attached files are uploaded with a zero file size. This is because there is a bug in how TWiki 4.0.2 handles the beforeAttachmentSaveHandler. If affected, upgrade TWiki or apply bug fix Item2390
  • Scan for script eval() and escape() is currently hardcoded
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 01 Jul 2006 (r10768)
>
>
Plugin Version: 29 Mar 2007 (r13238)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
29 Mar 2007: Doc fixes; change view=raw penalty from 20 to 5
18 Mar 2007: Scan for evil script eval() and escape() in topic text and attachments; support for TWiki 4.2 (using new TWiki::Func::getExternalResource)
28 Dec 2006: Fixed bug where EXCLUDELIST pattern was removing only part of a wiki-spam pattern
27 Dec 2006: Support for TWiki 4.1
 
01 Jul 2006: Added EXCLUDELIST; scan for evil script eval in attachments; scan also .js and .css attachments; fixed writeLog error on Cairo
02 Jun 2006: Added wiki-spam filtering for HTML attachments to combat TWiki:Codev.HtmlAttachmentSpam
29 Apr 2006: Added %BLACKLISTPLUGIN{ action="spam_show_n" }% that shows the local spam list in a shareable format with newline separator
Line: 172 to 176
  Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 01 Jul 2006
>
>
-- TWiki:Main/PeterThoeny - 29 Mar 2007
 
Added:
>
>
META FILEATTACHMENT attachment=".htaccess" attr="" comment="Saved by install script" date="1229077511" name=".htaccess" size="41" stream="GLOB(0x525ea38)" tmpFilename="/tmp/PcrEv9ZYBc" user="BaseUserMapping_333" version="1"

BlackListPlugin 15 - 2006-07-01 - Main.TWikiContributor
Line: 1 to 1
 

Black List Plugin

Line: 61 to 61
 
    1. Points for view raw
    2. Threshold to add to BANLIST
    3. Measured over time (in seconds)
Changed:
<
<
    • Set BANLISTCONFIG = 20, 5, 1, 20, 120, 300
>
>
    • Set BANLISTCONFIG = 10, 5, 1, 20, 120, 300
 
    • Your current score: N/A for IP address 127.0.0.1

  • Message for users on BLACKLIST and BANLIST:
Line: 81 to 81
 
    • Current list:
Added:
>
>
  • EXCLUDELIST: Manually maintained list of exceptions to public wiki-spam patterns, useful to exclude patterns listed incorrectly as spam (NOTE: Must be RegularExpression patterns)
    • Action: exclude spam regex pattern(s) http://.*?
    • Current list:
 
Line: 132 to 139
 
  • Wiki-spam filtering for HTML attachments works in TWiki 01-Sep-2004 and later.
  • With TWiki 4.0.2 on some platforms, notably Solaris, attached files are uploaded with a zero file size. This is because there is a bug in how TWiki 4.0.2 handles the beforeAttachmentSaveHandler. If affected, upgrade TWiki or apply bug fix Item2390
Added:
>
>
  • Scan for script eval in attachments is currently hardcoded
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 02 Jun 2006 (r10442)
>
>
Plugin Version: 01 Jul 2006 (r10768)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
01 Jul 2006: Added EXCLUDELIST; scan for evil script eval in attachments; scan also .js and .css attachments; fixed writeLog error on Cairo
 
02 Jun 2006: Added wiki-spam filtering for HTML attachments to combat TWiki:Codev.HtmlAttachmentSpam
29 Apr 2006: Added %BLACKLISTPLUGIN{ action="spam_show_n" }% that shows the local spam list in a shareable format with newline separator
07 Feb 2006: TWiki Release 4.0 fix to allow registration with e-mail verification, reset password and approve
Line: 163 to 172
  Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 02 Jun 2006
>
>
-- TWiki:Main/PeterThoeny - 01 Jul 2006
 

BlackListPlugin 14 - 2006-06-02 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Line: 37 to 37
 
    • Set LOGACCESS = 1

  • Access restriction:
Changed:
<
<
>
>
 

WHITELIST, BLACKLIST and BANLIST settings

  • WHITELIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
Line: 67 to 68
 
    • Set BLACKLISTMESSAGE = Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId0 if you got on the list by mistake.

Wiki-spam filtering settings

Changed:
<
<
  • Filter wiki-spam on topic save based on SPAMLIST: (0 or 1)
>
>
  • Filter wiki-spam on topic save and HTML file uploads based on SPAMLIST: (0 or 1)
 
    • Set FILTERWIKISPAM = 1
Changed:
<
<
  • Comma separated list of Web.Topics to exclude from wiki-spam filtering:
>
>
  • Comma separated list of Web.Topics to exclude from wiki-spam filtering on topic save:
 
    • Set SPAMEXCLUDETOPICS =

Line: 116 to 117
 
lib/TWiki/Plugins/BlackListPlugin.pm Plugin Perl module
pub/TWiki/BlackListPlugin/.htaccess Apache access control to protect pub dir
templates/oopsblacklist.tmpl Generic oops message
Changed:
<
<
  • Write protect this Plugin topics by removing the # hash sign from the ALLOWTOPICCHANGE setting
>
>
  • Write protect this Plugin topic (if not already done)
 
  • Make sure pub/TWiki/BlackListPlugin/ is writable by the CGI user (typically nobody)
Changed:
<
<
  • Add the hidden form field to the registration form as described in the "Registration protection settings" section
>
>
  • Add the hidden form field to the registration form as described in the "Registration protection settings" section (this is already in TWiki 4.0)
 
  • From TWiki 4.0 release on: Run the configure utility in your browser to enable the Plugin
  • Test if the installation was successful:
    1. Using above form, add the IP address of one of your workstations to the BANLIST
Line: 127 to 128
 
      • else, you should get an 500 Internal Server Error for other scripts
    1. On a different workstation, remove the IP address of the test workstation from the BANLIST
Added:
>
>

Known Issues and Limitations

  • Wiki-spam filtering for HTML attachments works in TWiki 01-Sep-2004 and later.
  • With TWiki 4.0.2 on some platforms, notably Solaris, attached files are uploaded with a zero file size. This is because there is a bug in how TWiki 4.0.2 handles the beforeAttachmentSaveHandler. If affected, upgrade TWiki or apply bug fix Item2390
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 29 Apr 2006 (r8745)
>
>
Plugin Version: 02 Jun 2006 (r10442)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
02 Jun 2006: Added wiki-spam filtering for HTML attachments to combat TWiki:Codev.HtmlAttachmentSpam
 
29 Apr 2006: Added %BLACKLISTPLUGIN{ action="spam_show_n" }% that shows the local spam list in a shareable format with newline separator
07 Feb 2006: TWiki Release 4.0 fix to allow registration with e-mail verification, reset password and approve
03 Jan 2006: Filter lines with space from spam list; fixed bug that inproperly filtered HTML from spam list; Dakar Release fix (end/postRenderingHandler issue)
08 Nov 2005: Doc fixes; code warning fixes; allow empty local SPAMLIST and public spam list
04 Nov 2005: Added registration protection with magic number
30 Oct 2005: Dakar Release compatibility: Work around Dakar preferencs bug
Changed:
<
<
29 Oct 2005: Added wiki-spam handling to prevent topic save with wiki-spam
>
>
29 Oct 2005: Added wiki-spam filtering to prevent topic save with wiki-spam
 
27 Oct 2005: For BANLIST, add/remove multiple IP addresses at once, contributed by TWiki:Main.MichaelDaum
22 Jan 2005: Added NOFOLLOWAGE handling
19 Jan 2005: Added score for "view raw" to address e-mail harvester issue
Line: 156 to 163
  Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 29 Apr 2006
>
>
-- TWiki:Main/PeterThoeny - 02 Jun 2006
 

BlackListPlugin 13 - 2006-04-30 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Line: 130 to 130
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 08 Feb 2006 (r8745)
>
>
Plugin Version: 29 Apr 2006 (r8745)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
29 Apr 2006: Added %BLACKLISTPLUGIN{ action="spam_show_n" }% that shows the local spam list in a shareable format with newline separator
 
07 Feb 2006: TWiki Release 4.0 fix to allow registration with e-mail verification, reset password and approve
03 Jan 2006: Filter lines with space from spam list; fixed bug that inproperly filtered HTML from spam list; Dakar Release fix (end/postRenderingHandler issue)
08 Nov 2005: Doc fixes; code warning fixes; allow empty local SPAMLIST and public spam list
Line: 155 to 156
  Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 08 Feb 2006
>
>
-- TWiki:Main/PeterThoeny - 29 Apr 2006
 

BlackListPlugin 12 - 2006-02-07 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Line: 118 to 118
 
templates/oopsblacklist.tmpl Generic oops message
  • Write protect this Plugin topics by removing the # hash sign from the ALLOWTOPICCHANGE setting
  • Make sure pub/TWiki/BlackListPlugin/ is writable by the CGI user (typically nobody)
Changed:
<
<
  • Dakar release only: Run the configure utility in your browser to enable the Plugin
>
>
  • Add the hidden form field to the registration form as described in the "Registration protection settings" section
  • From TWiki 4.0 release on: Run the configure utility in your browser to enable the Plugin
 
  • 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
Line: 129 to 130
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 03 Jan 2006
>
>
Plugin Version: 08 Feb 2006 (r8745)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
07 Feb 2006: TWiki Release 4.0 fix to allow registration with e-mail verification, reset password and approve
 
03 Jan 2006: Filter lines with space from spam list; fixed bug that inproperly filtered HTML from spam list; Dakar Release fix (end/postRenderingHandler issue)
08 Nov 2005: Doc fixes; code warning fixes; allow empty local SPAMLIST and public spam list
04 Nov 2005: Added registration protection with magic number
Line: 153 to 155
  Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 03 Jan 2006
>
>
-- TWiki:Main/PeterThoeny - 08 Feb 2006
 

BlackListPlugin 11 - 2006-01-03 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Line: 129 to 129
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 08 Nov 2005
>
>
Plugin Version: 03 Jan 2006
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
03 Jan 2006: Filter lines with space from spam list; fixed bug that inproperly filtered HTML from spam list; Dakar Release fix (end/postRenderingHandler issue)
 
08 Nov 2005: Doc fixes; code warning fixes; allow empty local SPAMLIST and public spam list
04 Nov 2005: Added registration protection with magic number
30 Oct 2005: Dakar Release compatibility: Work around Dakar preferencs bug
Line: 152 to 153
  Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 08 Nov 2005
>
>
-- TWiki:Main/PeterThoeny - 03 Jan 2006
 

BlackListPlugin 10 - 2005-11-08 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Line: 54 to 54
 

  • BANLIST configuration, comma delimited list of:
Changed:
<
<
    1. points for registration
>
>
    1. Points for registration
 
    1. Points for each save and upload
Changed:
<
<
    1. Points for view raw
    2. Points for other actions like view
>
>
    1. Points for view and other actions
    2. Points for view raw
 
    1. Threshold to add to BANLIST
    2. Measured over time (in seconds)
    • Set BANLISTCONFIG = 20, 5, 1, 20, 120, 300
Line: 93 to 93
 
    • Set WIKISPAMMESSAGE = Wiki-spam detected: "%WIKISPAMWORD%" is a banned word and cannot be saved. Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to suspicious activities. Please contact site administrator _wremoId1 if you got on the list by mistake.

Registration protection settings

Changed:
<
<
  • Protect registration: (0 to disable, or number of minutes to expire)
>
>
  • Protect registration: (number of minutes to expire, 15 minutes is recommended, 0 to disable)
 
    • Set REGEXPIRE = 0
    • If enabled, a magic number is protecting the registration process. TWiki expects a form field with a magic number. An error message is shown if not valid or if expired. This makes it harder to register a user by a script. A hidden field needs to be added to the registration form:
      <input type="hidden" name="rx" value="%BLACKLISTPLUGIN{ action="magic" }%" />
Line: 129 to 129
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 04 Nov 2005
>
>
Plugin Version: 08 Nov 2005
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
08 Nov 2005: Doc fixes; code warning fixes; allow empty local SPAMLIST and public spam list
 
04 Nov 2005: Added registration protection with magic number
30 Oct 2005: Dakar Release compatibility: Work around Dakar preferencs bug
29 Oct 2005: Added wiki-spam handling to prevent topic save with wiki-spam
Line: 149 to 150
 
Feedback: http://TWiki.org/cgi-bin/view/Plugins/BlackListPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/BlackListPluginAppraisal
Changed:
<
<
Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
>
>
Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory
 
Changed:
<
<
-- TWiki:Main/PeterThoeny - 04 Nov 2005
>
>
-- TWiki:Main/PeterThoeny - 08 Nov 2005
 

BlackListPlugin 9 - 2005-11-05 - PeterThoeny
Line: 1 to 1
Changed:
<
<

Black List Plugin

>
>

Black List Plugin

On this page:

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), suspicious activities of users, such as multiple registrations or rapid topic updates indicating Wiki:WikiSpam, or saving text with wiki-spam.
Line: 14 to 18
  Users on the BLACKLIST and BANLIST will have every page access delayed by one minute and will get an error message.
Added:
>
>
The registration form can also be protected from improper use.
 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

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

Changed:
<
<
General settings:
>
>

General settings

 
  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Utility to keep malicious users away from a public TWiki site
Line: 33 to 39
 
Changed:
<
<
WHITELIST, BLACKLIST and BANLIST settings:
>
>

WHITELIST, BLACKLIST and BANLIST settings

 
  • WHITELIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
    • Set WHITELIST = 127.0.0.1
Line: 60 to 66
 
  • Message for users on BLACKLIST and BANLIST:
    • Set BLACKLISTMESSAGE = Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId2 if you got on the list by mistake.
Changed:
<
<
Wiki-spam filtering settings:
>
>

Wiki-spam filtering settings

 
  • Filter wiki-spam on topic save based on SPAMLIST: (0 or 1)
    • Set FILTERWIKISPAM = 1
Line: 86 to 92
 
  • Message for users trying to save text with wiki-spam:
    • Set WIKISPAMMESSAGE = Wiki-spam detected: "%WIKISPAMWORD%" is a banned word and cannot be saved. Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to suspicious activities. Please contact site administrator _wremoId3 if you got on the list by mistake.
Changed:
<
<
Nofollow link setting:
>
>

Registration protection settings

  • Protect registration: (0 to disable, or number of minutes to expire)
    • Set REGEXPIRE = 0
    • If enabled, a magic number is protecting the registration process. TWiki expects a form field with a magic number. An error message is shown if not valid or if expired. This makes it harder to register a user by a script. A hidden field needs to be added to the registration form:
      <input type="hidden" name="rx" value="%BLACKLISTPLUGIN{ action="magic" }%" />

  • Message shown when using registration form incorrectly: (this message is deliberately vague)
    • Set REGMESSAGE = Registration failed, please try again.

Nofollow link setting

 
  • 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 = -1
Line: 115 to 129
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 30 Oct 2005
>
>
Plugin Version: 04 Nov 2005
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
04 Nov 2005: Added registration protection with magic number
 
30 Oct 2005: Dakar Release compatibility: Work around Dakar preferencs bug
29 Oct 2005: Added wiki-spam handling to prevent topic save with wiki-spam
27 Oct 2005: For BANLIST, add/remove multiple IP addresses at once, contributed by TWiki:Main.MichaelDaum
Line: 136 to 151
  Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 30 Oct 2005
>
>
-- TWiki:Main/PeterThoeny - 04 Nov 2005
 

BlackListPlugin 8 - 2005-10-30 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

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), suspicious activities of users, such as multiple registrations or rapid topic updates indicating Wiki:WikiSpam, or saving text with wiki-spam.

Line: 43 to 43
 
  • BANLIST: Automatically updated list of IP addresses based on BANLIST configuration
Changed:
<
<
    • Action: IP address 203.88.152., 203.88.155., 219.65.75.
    • Current list: 203.88.152., 203.88.155., 219.65.75.
>
>
    • Action: IP address(es)
    • Current list: 89.122.210.112, 62.85.85.27, 81.2.58.107, 85.17.143.37, 202.106.184.179, 65.55.213.98, 61.230.104.8, 65.55.213.99, 60.28.164.123, 62.133.184.150, 194.186.55.206, 147.91.173.31, 77.181.154.148, 65.94.167.56, 75.125.52.98, 194.158.43.38, 85.25.130.157, 88.203.248.232, 72.232.109.138, 195.42.71.30, 83.176.143.219, 65.55.213.100, 90.189.173.98, 59.125.157.99, 87.126.92.71, 87.126.91.202, 87.126.154.88, 59.91.245.1, 118.24.213.204, 74.86.249.98, 81.166.119.154, 82.56.74.146, 88.198.21.111, 84.131.111.4, 82.159.47.6, 83.43.95.96, 85.61.22.181, 82.254.24.90, 91.124.89.68, 91.124.71.38, 156.17.42.83, 67.68.196.200, 203.197.133.72, 67.228.115.170, 208.101.38.50, 70.109.223.73, 194.187.49.40, 218.164.101.46, 222.137.107.88, 87.171.25.250, 85.140.24.137, 85.140.242.183, 82.80.249.145, 58.22.101.123, 207.178.0.196, 72.29.233.185, 62.85.45.84, 78.129.196.177, 24.186.215.209, 212.26.231.6, 212.26.231.23, 77.35.147.171, 81.2.63.11, 81.2.57.110, 208.96.54.71, 218.28.88.99, 67.228.201.58, 88.66.129.45, 123.12.252.63, 81.80.126.145, 89.149.242.226, 59.91.254.170, 117.196.128.221, 213.244.236.3, 91.122.103.188, 60.240.249.206, 123.10.180.203, 222.137.107.108, 208.31.123.3, 123.12.252.49, 86.110.161.65, 82.80.249.208, 203.162.2.133, 99.130.214.108, 90.60.182.104, 87.118.100.177, 195.239.211.234, 85.73.234.91, 81.88.208.216, 88.203.248.227, 84.139.223.52, 78.157.143.216, 77.101.62.103, 203.158.221.227, 91.153.241.176, 193.140.79.125, 89.149.253.219, 82.75.214.132, 218.94.70.45, 62.101.126.228, 62.16.155.79, 97.116.36.137, 68.192.9.221, 87.118.108.229, 91.178.2.136, 85.109.46.183, 83.166.120.147, 69.147.242.42, 195.225.178.39, 66.249.66.145, 62.117.85.84, 62.117.85.103, 62.117.85.106, 77.176.160.214, 74.52.89.10, 64.191.75.219, 85.225.20.144, 203.73.176.40, 203.73.176.37, 203.73.176.36, 82.80.249.149, 84.25.149.140, 200.76.250.44, 77.137.25.117, 24.6.200.52, 87.4.137.205, 87.4.129.14, 66.249.66.178, 116.116.7.27, 66.159.18.9, 210.52.15.210, 202.106.121.134, 192.114.71.13, 89.55.48.10, 89.55.29.128, 141.18.151.122, 87.181.93.98, 87.181.68.142, 201.229.208.2, 89.173.1.15, 85.25.124.167, 77.35.155.105, 80.152.106.110, 92.194.86.214, 85.10.242.138, 72.29.233.188, 66.90.104.20, 84.173.118.171, 94.75.253.69, 94.100.181.240, 210.66.69.179, 210.66.69.165, 78.46.102.197, 188.192.94.18, 83.132.83.213, 66.249.68.247, 88.217.57.81, 93.104.36.219, 93.104.18.21, 82.103.143.84, 66.249.68.238, 86.111.72.90, 95.37.69.225, 88.217.51.6, 66.249.71.216, 66.249.65.186, 95.182.0.21, 93.84.1.187, 195.222.127.9, 93.85.115.40, 88.217.54.80, 94.100.181.85, 88.217.61.153, 92.49.206.221, 98.247.53.241, 85.25.124.132, 82.135.6.166, 93.104.50.37, 67.195.112.95, 84.165.182.222, 84.165.187.171, 84.165.187.139, 84.165.187.169, 84.165.185.230, 84.165.133.137, 65.55.3.194, 84.165.187.165, 84.165.187.133, 84.165.159.188, 84.165.185.11, 84.165.174.111, 84.165.186.223, 84.165.186.76, 88.217.53.110, 93.104.102.213, 93.104.48.9, 88.217.53.167, 88.217.53.116, 93.104.126.236, 119.111.124.194, 122.49.210.50, 93.104.35.161, 93.104.111.70, 88.217.63.211, 92.52.43.92, 93.104.99.240, 188.174.68.196, 88.217.50.196, 93.104.97.169, 88.217.53.69, 82.135.7.67, 67.195.115.221, 67.195.112.215, 58.68.228.107, 58.68.228.122, 93.104.117.220, 85.176.162.140, 93.104.109.105, 82.135.5.0, 93.104.57.155, 117.198.102.127, 91.8.35.201, 91.8.5.95, 109.104.178.223, 91.8.24.72, 118.96.32.50, 173.193.219.168, 66.249.65.124, 66.249.65.102, 173.192.34.95, 91.8.32.63, 70.35.196.129, 66.249.65.69, 91.8.41.94, 66.249.65.114, 91.8.38.189, 91.8.41.140, 91.8.8.184, 91.8.34.102, 91.8.13.71, 91.8.39.67, 91.8.35.152, 67.228.150.159, 91.8.20.166, 203.82.80.30, 91.8.39.174, 89.28.14.35, 91.8.25.32, 91.8.18.204, 125.25.0.14, 218.147.31.3, 188.165.228.157, 95.32.214.190, 213.135.188.223, 189.82.132.156, 217.69.134.172, 213.186.120.196, 114.111.55.86, 222.77.14.54, 58.119.6.195, 58.42.232.80, 109.168.138.98, 67.195.115.44, 212.113.37.105, 91.8.27.249, 184.154.7.186, 91.8.42.236, 91.8.23.227, 91.8.11.182, 91.8.0.206, 91.8.37.157, 91.8.20.8, 94.178.166.107, 178.137.172.191, 188.165.242.211, 212.227.136.205, 178.239.58.144, 67.195.37.114, 188.163.66.141, 67.195.115.183, 95.134.34.39, 79.143.182.232, 208.75.10.242, 176.9.0.120, 202.151.194.206, 46.4.122.77, 66.249.71.111, 84.197.152.252, 122.3.171.14, 94.183.168.175, 180.190.169.139, 94.183.170.165, 93.174.93.148, 216.172.135.159, 92.112.172.115, 69.22.174.107
 

  • BANLIST configuration, comma delimited list of:
Line: 55 to 55
 
    1. Threshold to add to BANLIST
    2. Measured over time (in seconds)
    • Set BANLISTCONFIG = 20, 5, 1, 20, 120, 300
Changed:
<
<
    • Your current score: 203.88.152., 203.88.155., 219.65.75. for IP address 127.0.0.1
>
>
    • Your current score: N/A for IP address 127.0.0.1
 
  • Message for users on BLACKLIST and BANLIST:
    • Set BLACKLISTMESSAGE = Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId4 if you got on the list by mistake.
Line: 70 to 70
 
  • Local SPAMLIST: Manually maintained list of spam patterns (NOTE: Must be RegularExpression patterns)
Changed:
<
<
    • Action: wiki-spam regex pattern http://.*? 203.88.152., 203.88.155., 219.65.75.
    • Current list: 203.88.152., 203.88.155., 219.65.75.
>
>
    • Action: wiki-spam regex pattern(s) http://.*?
    • Current list:
 

  • Public wiki-spam list: Big list of wiki-spam patterns, retrieved from external web site (thanks to MoinMoin's AntiSpamGlobalSolution wiki-spam list)
Line: 84 to 84
 
    • Set SPAMREGEXREFRESH = 10

  • Message for users trying to save text with wiki-spam:
Changed:
<
<
    • Set WIKISPAMMESSAGE = Wiki-spam detected, "%WIKISPAMWORD%" is a banned word and cannot be saved. Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to suspicious activities. Please contact site administrator _wremoId5 if you got on the list by mistake.
>
>
    • Set WIKISPAMMESSAGE = Wiki-spam detected: "%WIKISPAMWORD%" is a banned word and cannot be saved. Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to suspicious activities. Please contact site administrator _wremoId6 if you got on the list by mistake.
  Nofollow link setting:
  • 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)
Line: 115 to 115
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 29 Oct 2005
>
>
Plugin Version: 30 Oct 2005
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
30 Oct 2005: Dakar Release compatibility: Work around Dakar preferencs bug
 
29 Oct 2005: Added wiki-spam handling to prevent topic save with wiki-spam
27 Oct 2005: For BANLIST, add/remove multiple IP addresses at once, contributed by TWiki:Main.MichaelDaum
22 Jan 2005: Added NOFOLLOWAGE handling
Line: 135 to 136
  Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 29 Oct 2005
>
>
-- TWiki:Main/PeterThoeny - 30 Oct 2005
 

BlackListPlugin 7 - 2005-10-29 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Changed:
<
<
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.
>
>
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), suspicious activities of users, such as multiple registrations or rapid topic updates indicating Wiki:WikiSpam, or saving text with wiki-spam.
  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
Added:
>
>
On topic save, text is compared to a known list of spam patterns. If wiki-spam is identified, topic save is cancelled, an error message is shown, and the IP address is put on the BANLIST. Two wiki-spam lists are used:
  • Local SPAMLIST: Manually maintained list of spam patterns
  • Public wiki-spam list: Big list of wiki-spam patterns, retrieved from external web site
 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.

Line: 16 to 20
  Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
Added:
>
>
General settings:
 
  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = Utility to keep malicious users away from a public TWiki site

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0
Added:
>
>
  • Log access of blacklist and spam list activities: (0 or 1)
    • Set LOGACCESS = 1

WHITELIST, BLACKLIST and BANLIST settings:

 
  • WHITELIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
    • Set WHITELIST = 127.0.0.1
Line: 49 to 60
 
  • Message for users on BLACKLIST and BANLIST:
    • Set BLACKLISTMESSAGE = Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId7 if you got on the list by mistake.
Changed:
<
<
  • 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 = -1
>
>
Wiki-spam filtering settings:
  • Filter wiki-spam on topic save based on SPAMLIST: (0 or 1)
    • Set FILTERWIKISPAM = 1

  • Comma separated list of Web.Topics to exclude from wiki-spam filtering:
    • Set SPAMEXCLUDETOPICS =

  • Local SPAMLIST: Manually maintained list of spam patterns (NOTE: Must be RegularExpression patterns)
    • Action: wiki-spam regex pattern http://.*? 203.88.152., 203.88.155., 219.65.75.
    • Current list: 203.88.152., 203.88.155., 219.65.75.
 
Changed:
<
<
  • Log access of users on BLACKLIST and BANLIST: (1 or 0)
    • Set LOGACCESS = 1
>
>
 
Changed:
<
<
>
>
  • Cache refresh time (in minutes) for public wiki-merge pattern list:
    • Set SPAMLISTREFRESH = 60

  • Cache refresh time (in minutes) for internal wiki-spam regular expression cache:
    • Set SPAMREGEXREFRESH = 10

  • Message for users trying to save text with wiki-spam:
    • Set WIKISPAMMESSAGE = Wiki-spam detected, "%WIKISPAMWORD%" is a banned word and cannot be saved. Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to suspicious activities. Please contact site administrator _wremoId8 if you got on the list by mistake.

Nofollow link setting:

  • 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 = -1
 

Plugin Installation Instructions

Line: 69 to 101
 
data/TWiki/BlackListPlugin.txt,v Plugin topic repository
lib/TWiki/Plugins/BlackListPlugin.pm Plugin Perl module
pub/TWiki/BlackListPlugin/.htaccess Apache access control to protect pub dir
Added:
>
>
templates/oopsblacklist.tmpl Generic oops message
 
  • Write protect this Plugin topics by removing the # hash sign from the ALLOWTOPICCHANGE setting
  • Make sure pub/TWiki/BlackListPlugin/ is writable by the CGI user (typically nobody)
  • Dakar release only: Run the configure utility in your browser to enable the Plugin
Line: 82 to 115
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 27 Oct 2005 (V1.005)
>
>
Plugin Version: 29 Oct 2005
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
29 Oct 2005: Added wiki-spam handling to prevent topic save with wiki-spam
 
27 Oct 2005: For BANLIST, add/remove multiple IP addresses at once, contributed by TWiki:Main.MichaelDaum
22 Jan 2005: Added NOFOLLOWAGE handling
19 Jan 2005: Added score for "view raw" to address e-mail harvester issue
Line: 101 to 135
  Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 27 Oct 2005
>
>
-- TWiki:Main/PeterThoeny - 29 Oct 2005
 

BlackListPlugin 6 - 2005-10-28 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

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.

Line: 28 to 28
 
  • BLACKLIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
    • Set BLACKLIST = 203.88.152., 203.88.155., 219.65.75.
Changed:
<
<
>
>
 
  • BANLIST: Automatically updated list of IP addresses based on BANLIST configuration
Changed:
<
<
    • IP address 203.88.152., 203.88.155., 219.65.75.
>
>
    • Action: IP address 203.88.152., 203.88.155., 219.65.75.
 
    • Current list: 203.88.152., 203.88.155., 219.65.75.
Changed:
<
<
  • BANLIST configuration, comma delimited list of: Points for registration, points for each save and upload, points for view raw, points for other actions like view, threshold to add to BANLIST, measured over time (in seconds)
>
>
  • 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, 1, 20, 120, 300
    • Your current score: 203.88.152., 203.88.155., 219.65.75. for IP address 127.0.0.1

  • Message for users on BLACKLIST and BANLIST:
Changed:
<
<
    • Set BLACKLISTMESSAGE = You are black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId9 if you got on the list by mistake. Black listed IP addresses will be submitted to major blacklist databases.
>
>
    • Set BLACKLISTMESSAGE = Your IP address 127.0.0.1 is black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId10 if you got on the list by mistake.
 
  • 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 = -1
Line: 48 to 56
 
    • Set LOGACCESS = 1

  • Access restriction
Changed:
<
<
>
>
 

Plugin Installation Instructions

Line: 60 to 68
 
data/TWiki/BlackListPlugin.txt Plugin topic
data/TWiki/BlackListPlugin.txt,v Plugin topic repository
lib/TWiki/Plugins/BlackListPlugin.pm Plugin Perl module
Added:
>
>
pub/TWiki/BlackListPlugin/.htaccess Apache access control to protect pub dir
  • Write protect this Plugin topics by removing the # hash sign from the ALLOWTOPICCHANGE setting
  • Make sure pub/TWiki/BlackListPlugin/ is writable by the CGI user (typically nobody)
  • Dakar release only: Run the configure utility in your browser to enable the Plugin
 
  • 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
Line: 67 to 79
 
      • else, you should get an 500 Internal Server Error for other scripts
    1. On a different workstation, remove the IP address of the test workstation from the BANLIST
Deleted:
<
<

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
Changed:
<
<
Plugin Version: 22 Jan 2005 (V1.004)
>
>
Plugin Version: 27 Oct 2005 (V1.005)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
27 Oct 2005: For BANLIST, add/remove multiple IP addresses at once, contributed by TWiki:Main.MichaelDaum
 
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
Line: 85 to 93
 
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Added:
>
>
License: GPL (GNU General Public License)
 
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
Added:
>
>
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/BlackListPluginAppraisal
  Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 22 Jan 2005
>
>
-- TWiki:Main/PeterThoeny - 27 Oct 2005
 

BlackListPlugin 5 - 2005-01-22 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Changed:
<
<
This is a simple utility to keep black sheeps 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, like multiple registrations or rapid topic updates indicating Wiki-spam.
>
>
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
Line: 10 to 10
  Users on the BLACKLIST and BANLIST will have every page access delayed by one minute and will get an error message.
Added:
>
>
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

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

Line: 39 to 41
 
  • Message for users on BLACKLIST and BANLIST:
    • Set BLACKLISTMESSAGE = You are black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId11 if you got on the list by mistake. Black listed IP addresses will be submitted to major blacklist databases.
Added:
>
>
  • 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 = -1
 
  • Log access of users on BLACKLIST and BANLIST: (1 or 0)
    • Set LOGACCESS = 1
Line: 70 to 75
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 19 Jan 2005 (V1.003)
>
>
Plugin Version: 22 Jan 2005 (V1.004)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
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
Line: 85 to 91
  Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 19 Jan 2005
>
>
-- TWiki:Main/PeterThoeny - 22 Jan 2005
 

BlackListPlugin 4 - 2005-01-19 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

This is a simple utility to keep black sheeps 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, like multiple registrations or rapid topic updates indicating Wiki-spam.

Line: 32 to 32
 
    • Current list: 203.88.152., 203.88.155., 219.65.75.
Changed:
<
<
  • BANLIST configuration, comma delimited list of: Points for registration, points for each save and upload, points for other actions like view, threshold to add to BANLIST, measured over time (in seconds)
    • Set BANLISTCONFIG = 30, 5, 1, 150, 300
>
>
  • BANLIST configuration, comma delimited list of: Points for registration, points for each save and upload, points for view raw, points for other actions like view, threshold to add to BANLIST, measured over time (in seconds)
    • Set BANLISTCONFIG = 20, 5, 1, 20, 120, 300
 
    • Your current score: 203.88.152., 203.88.155., 219.65.75. for IP address 127.0.0.1

  • Message for users on BLACKLIST and BANLIST:
Line: 70 to 70
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 05 Apr 2004 (V1.001)
>
>
Plugin Version: 19 Jan 2005 (V1.003)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
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
Line: 84 to 85
  Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 05 Apr 2004
>
>
-- TWiki:Main/PeterThoeny - 19 Jan 2005
 

BlackListPlugin 3 - 2004-04-06 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Changed:
<
<
This is a simple utility to keep black sheeps away from a public TWiki site. There are three lists of IP addresses:
>
>
This is a simple utility to keep black sheeps 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, like multiple registrations or rapid topic updates indicating Wiki-spam.

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
Line: 22 to 24
 
    • Set WHITELIST = 127.0.0.1

  • BLACKLIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
Changed:
<
<
    • Set BLACKLIST = 203.88.152., 219.65.75.
>
>
    • Set BLACKLIST = 203.88.152., 203.88.155., 219.65.75.
 
  • BANLIST: Automatically updated list of IP addresses based on BANLIST configuration
Line: 35 to 37
 
    • Your current score: 203.88.152., 203.88.155., 219.65.75. for IP address 127.0.0.1

  • Message for users on BLACKLIST and BANLIST:
Changed:
<
<
    • Set BLACKLISTMESSAGE = You are black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact _wremoId12 if you got on the list by mistake. Black listed IP addresses will be submitted to major blacklist databases.
>
>
    • Set BLACKLISTMESSAGE = You are black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact site administrator _wremoId13 if you got on the list by mistake. Black listed IP addresses will be submitted to major blacklist databases.
 
  • Log access of users on BLACKLIST and BANLIST: (1 or 0)
    • Set LOGACCESS = 1
Line: 54 to 56
 
data/TWiki/BlackListPlugin.txt,v Plugin topic repository
lib/TWiki/Plugins/BlackListPlugin.pm Plugin Perl module
  • Test if the installation was successful:
Changed:
<
<
    • Add the IP address of a PC to BLACKLIST and access TWiki from that PC. After a one minute timeout, you should see the message "You are black listed at AVR32 Linux" if accessing the view script; or an 500 Internal Server Error for other scripts.
>
>
    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
Changed:
<
<
Plugin Version: 04 Apr 2004 (V1.001)
>
>
Plugin Version: 05 Apr 2004 (V1.001)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
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
Line: 72 to 84
  Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
Changed:
<
<
-- TWiki:Main/PeterThoeny - 04 Apr 2004
>
>
-- TWiki:Main/PeterThoeny - 05 Apr 2004
 

BlackListPlugin 2 - 2004-04-03 - PeterThoeny
Line: 1 to 1
 

Black List Plugin

Changed:
<
<
This is a simple utility to keep black sheeps away from a public TWiki site. Add the IP address of a malicious user to the BLACKLIST setting. Users on that list will have every page access delayed by one minute and will get an error message.
>
>
This is a simple utility to keep black sheeps away from a public TWiki site. There are three lists of IP addresses:
  • 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.

 

Plugin Settings

Line: 13 to 18
 
  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0
Changed:
<
<
  • Blacklist: (Comma delimited list of IP addresses, partial addresses OK)
    • Set BLACKLIST = 203.88.152, 219.65.75
>
>
  • WHITELIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
    • Set WHITELIST = 127.0.0.1

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

  • BANLIST: Automatically updated list of IP addresses based on BANLIST configuration
    • IP address 203.88.152., 203.88.155., 219.65.75.
    • Current list: 203.88.152., 203.88.155., 219.65.75.

  • BANLIST configuration, comma delimited list of: Points for registration, points for each save and upload, points for other actions like view, threshold to add to BANLIST, measured over time (in seconds)
    • Set BANLISTCONFIG = 30, 5, 1, 150, 300
    • Your current score: 203.88.152., 203.88.155., 219.65.75. for IP address 127.0.0.1

  • Message for users on BLACKLIST and BANLIST:
    • Set BLACKLISTMESSAGE = You are black listed at the AVR32 Linux web site due to excessive access or suspicious activities. Please contact _wremoId14 if you got on the list by mistake. Black listed IP addresses will be submitted to major blacklist databases.
 
Changed:
<
<
  • Log access of users on blacklist to data/debug.txt: (1 or 0)
>
>
  • Log access of users on BLACKLIST and BANLIST: (1 or 0)
 
    • Set LOGACCESS = 1

  • Access restriction
Line: 38 to 59
 

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Changed:
<
<
Plugin Version: 21 Mar 2004 (V1.000)
>
>
Plugin Version: 04 Apr 2004 (V1.001)
 
Change History:
<-- versions below in reverse order -->
 
Added:
>
>
04 Apr 2004: Added WHITELIST and BANLIST
 
21 Mar 2004: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
Changed:
<
<
TWiki:Plugins/Benchmark: GoodStyle 99%, FormattedSearch 99%, BlackListPlugin 99%
>
>
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, TWikiPlugins, Google blacklist directory

Changed:
<
<
-- TWiki:Main/PeterThoeny - 21 Mar 2004
>
>
-- TWiki:Main/PeterThoeny - 04 Apr 2004
 

BlackListPlugin 1 - 2004-03-21 - PeterThoeny
Line: 1 to 1
Added:
>
>

Black List Plugin

This is a simple utility to keep black sheeps away from a public TWiki site. Add the IP address of a malicious user to the BLACKLIST setting. Users on that list will have every page access delayed by one minute and will get an error message.

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

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

  • Debug plugin: (See output in data/debug.txt)
    • Set DEBUG = 0

  • Blacklist: (Comma delimited list of IP addresses, partial addresses OK)
    • Set BLACKLIST = 203.88.152, 219.65.75

  • Log access of users on blacklist to data/debug.txt: (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:
    • Add the IP address of a PC to BLACKLIST and access TWiki from that PC. After a one minute timeout, you should see the message "You are black listed at AVR32 Linux" if accessing the view script; or an 500 Internal Server Error for other scripts.

Plugin Info

Plugin Author: TWiki:Main/PeterThoeny
Plugin Version: 21 Mar 2004 (V1.000)
Change History:
<-- versions below in reverse order -->
 
21 Mar 2004: Initial version
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
TWiki:Plugins/Benchmark: GoodStyle 99%, FormattedSearch 99%, BlackListPlugin 99%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/BlackListPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/BlackListPluginDev

Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory

-- TWiki:Main/PeterThoeny - 21 Mar 2004


Revision 17r17 - 2009-12-06 - 19:48:17 - TWikiAdminUser
Revision 16r16 - 2009-12-06 - 19:47:36 - TWikiAdminUser
Revision 15r15 - 2006-07-01 - 05:22:26 - TWikiContributor
Revision 14r14 - 2006-06-02 - 23:12:30 - PeterThoeny
Revision 13r13 - 2006-04-30 - 05:21:15 - PeterThoeny
Revision 12r12 - 2006-02-07 - 22:01:03 - PeterThoeny
Revision 11r11 - 2006-01-03 - 22:28:39 - PeterThoeny
Revision 10r10 - 2005-11-08 - 18:59:33 - PeterThoeny
Revision 9r9 - 2005-11-05 - 02:10:58 - PeterThoeny
Revision 8r8 - 2005-10-30 - 05:26:05 - PeterThoeny
Revision 7r7 - 2005-10-29 - 07:58:49 - PeterThoeny
Revision 6r6 - 2005-10-28 - 02:01:41 - PeterThoeny
Revision 5r5 - 2005-01-22 - 08:32:55 - PeterThoeny
Revision 4r4 - 2005-01-19 - 07:31:26 - PeterThoeny
Revision 3r3 - 2004-04-06 - 03:33:48 - PeterThoeny
Revision 2r2 - 2004-04-03 - 21:51:26 - PeterThoeny
Revision 1r1 - 2004-03-21 - 01:08:16 - PeterThoeny
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding AVR32 Linux? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.BlackListPlugin
Syndicate this site RSSATOM