|
BlackListPlugin 19 - 29 Mar 2007 - Users.PeterThoeny
|
| | Black List Plugin | | |
-
- Points for view raw
- Threshold to add to BANLIST
- Measured over time (in seconds)
| |
< < |
-
- Set BANLISTCONFIG = 10, 5, 1, 20, 120, 300
| > > |
-
- Set BANLISTCONFIG = 10, 5, 1, 5, 120, 300
| | |
-
- Your current score: %BLACKLISTPLUGIN{ action="user_score" }% for IP address 38.107.179.238
- Message for users on BLACKLIST and BANLIST:
| | |
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 |
| |
< < |
- 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
| |
> > |
- 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:
- Using above form, add the IP address of one of your workstations to the BANLIST
- Access TWiki from that workstation
| | | Plugin Info
| |
< < |
| Plugin Version: | 18 Mar 2007 (r13186) |
| > > |
| Plugin Version: | 29 Mar 2007 (r13238) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory | |
< < | -- TWiki:Main/PeterThoeny - 18 Mar 2007 | > > | -- TWiki:Main/PeterThoeny - 29 Mar 2007 | | | |
|
|
BlackListPlugin 18 - 18 Mar 2007 - Users.PeterThoeny
|
| | Black List Plugin | | |
- 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
| |
< < |
- Scan for script eval in attachments is currently hardcoded
| > > |
- Scan for script eval() and escape() is currently hardcoded
| | | Plugin Info
| |
< < |
| Plugin Version: | 28 Dec 2006 (r12348) |
| > > |
| Plugin Version: | 18 Mar 2007 (r13186) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory | |
< < | -- TWiki:Main/PeterThoeny - 28 Dec 2006 | > > | -- TWiki:Main/PeterThoeny - 18 Mar 2007 | | | |
|
|
BlackListPlugin 15 - 30 Jun 2006 - Users.TWikiContributor
|
| | Black List Plugin | | |
-
- Points for view raw
- Threshold to add to BANLIST
- Measured over time (in seconds)
| |
< < |
-
- Set BANLISTCONFIG = 20, 5, 1, 20, 120, 300
| > > |
-
- Set BANLISTCONFIG = 10, 5, 1, 20, 120, 300
| | |
-
- Your current score: %BLACKLISTPLUGIN{ action="user_score" }% for IP address 38.107.179.238
- Message for users on BLACKLIST and BANLIST:
| | |
-
- Current list: %BLACKLISTPLUGIN{ action="spam_show" }%
| |
> > |
| | |
- Public wiki-spam list: Big list of wiki-spam patterns, retrieved from external web site (thanks to MoinMoin's AntiSpamGlobalSolution wiki-spam list)
| | |
- 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
| |
> > |
- Scan for script eval in attachments is currently hardcoded
| | | Plugin Info
| |
< < |
| Plugin Version: | 02 Jun 2006 (r10442) |
| > > |
| Plugin Version: | 01 Jul 2006 (r10768) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory | |
< < | -- TWiki:Main/PeterThoeny - 02 Jun 2006 | > > | -- TWiki:Main/PeterThoeny - 01 Jul 2006 | | | |
|
|
BlackListPlugin 14 - 02 Jun 2006 - Users.PeterThoeny
|
| | Black List Plugin | | |
| |
< < | | > > | | | | WHITELIST, BLACKLIST and BANLIST settings
- WHITELIST: Comma delimited list of IP addresses; possible to use partial addresses ending in a dot
| | |
-
- Set BLACKLISTMESSAGE = Your IP address 38.107.179.238 is black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net if you got on the list by mistake.
Wiki-spam filtering settings | |
< < |
- 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)
| | | | |
< < |
- 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:
| | |
| | |
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 |
| |
< < |
- 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)
| |
< < |
- 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:
- Using above form, add the IP address of one of your workstations to the BANLIST
| | |
-
-
- else, you should get an 500 Internal Server Error for other scripts
- On a different workstation, remove the IP address of the test workstation from the BANLIST
| |
> > | 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 Version: | 29 Apr 2006 (r8745) |
| > > |
| Plugin Version: | 02 Jun 2006 (r10442) |
| | |
| |
> > |
| | |
| 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 |
| |
< < |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory | |
< < | -- TWiki:Main/PeterThoeny - 29 Apr 2006 | > > | -- TWiki:Main/PeterThoeny - 02 Jun 2006 | | | |
|
|
BlackListPlugin 13 - 29 Apr 2006 - Users.PeterThoeny
|
| | Black List Plugin | | | Plugin Info
| |
< < |
| Plugin Version: | 08 Feb 2006 (r8745) |
| > > |
| Plugin Version: | 29 Apr 2006 (r8745) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory | |
< < | -- TWiki:Main/PeterThoeny - 08 Feb 2006 | > > | -- TWiki:Main/PeterThoeny - 29 Apr 2006 | | | |
|
|
BlackListPlugin 12 - 07 Feb 2006 - Users.PeterThoeny
|
| | Black List Plugin | | |
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
| > > |
- 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:
- Using above form, add the IP address of one of your workstations to the BANLIST
- Access TWiki from that workstation
| | | Plugin Info
| |
< < |
| Plugin Version: | 03 Jan 2006 |
| > > |
| Plugin Version: | 08 Feb 2006 (r8745) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory | |
< < | -- TWiki:Main/PeterThoeny - 03 Jan 2006 | > > | -- TWiki:Main/PeterThoeny - 08 Feb 2006 | | | |
|
|
BlackListPlugin 10 - 08 Nov 2005 - Users.PeterThoeny
|
| | Black List Plugin | | |
- BANLIST configuration, comma delimited list of:
| |
< < |
-
- points for registration
| > > |
-
- Points for registration
| | |
-
- Points for each save and upload
| |
< < |
-
- Points for view raw
- Points for other actions like view
| > > |
-
- Points for view and other actions
- Points for view raw
| | |
-
- Threshold to add to BANLIST
- Measured over time (in seconds)
- Set BANLISTCONFIG = 20, 5, 1, 20, 120, 300
| | |
-
- Set WIKISPAMMESSAGE = Wiki-spam detected: "%WIKISPAMWORD%" is a banned word and cannot be saved. Your IP address 38.107.179.238 is black listed at the QBFreak.net web site due to suspicious activities. Please contact site administrator webmaster@qbfreak.net if you got on the list by mistake.
Registration protection settings | |
< < |
- 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" }%" />
| | | Plugin Info
| |
< < |
| Plugin Version: | 04 Nov 2005 |
| > > |
| Plugin Version: | 08 Nov 2005 |
| | |
| |
> > |
| 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 |
| | |
| |
< < | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | > > | Related Topics: TWikiPreferences, TWikiPlugins, Google wiki spam directory | | | | |
< < | -- TWiki:Main/PeterThoeny - 04 Nov 2005 | > > | -- TWiki:Main/PeterThoeny - 08 Nov 2005 | | | |
|
|
BlackListPlugin 9 - 04 Nov 2005 - Users.PeterThoeny
|
|
< < | Black List Plugin | > > | Black List Plugin
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. | | | Users on the BLACKLIST and BANLIST will have every page access delayed by one minute and will get an error message. | |
> > | 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% | |
< < | 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
| | | | |
< < | 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
| | |
- Message for users on BLACKLIST and BANLIST:
- Set BLACKLISTMESSAGE = Your IP address 38.107.179.238 is black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net if you got on the list by mistake.
| |
< < | Wiki-spam filtering settings: | > > | Wiki-spam filtering settings | | |
- Filter wiki-spam on topic save based on SPAMLIST: (0 or 1)
| | |
- 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 38.107.179.238 is black listed at the QBFreak.net web site due to suspicious activities. Please contact site administrator webmaster@qbfreak.net if you got on the list by mistake.
| |
< < | 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)
| | | Plugin Info
| |
< < |
| Plugin Version: | 30 Oct 2005 |
| > > |
| Plugin Version: | 04 Nov 2005 |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 30 Oct 2005 | > > | -- TWiki:Main/PeterThoeny - 04 Nov 2005 | | | |
|
|
BlackListPlugin 8 - 29 Oct 2005 - Users.PeterThoeny
|
| | 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. | | |
| |
< < | | > > | | | |
- BANLIST configuration, comma delimited list of:
| | |
-
- 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 38.107.179.238
| > > |
-
- Your current score: %BLACKLISTPLUGIN{ action="user_score" }% for IP address 38.107.179.238
| | |
- Message for users on BLACKLIST and BANLIST:
- Set BLACKLISTMESSAGE = Your IP address 38.107.179.238 is black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net if you got on the list by mistake.
| | |
| |
< < | | > > | | | |
- Public wiki-spam list: Big list of wiki-spam patterns, retrieved from external web site (thanks to MoinMoin's AntiSpamGlobalSolution wiki-spam list)
| | |
-
- 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 38.107.179.238 is black listed at the QBFreak.net web site due to suspicious activities. Please contact site administrator webmaster@qbfreak.net 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 38.107.179.238 is black listed at the QBFreak.net web site due to suspicious activities. Please contact site administrator webmaster@qbfreak.net 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)
| | | Plugin Info
| |
< < |
| Plugin Version: | 29 Oct 2005 |
| > > |
| Plugin Version: | 30 Oct 2005 |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 29 Oct 2005 | > > | -- TWiki:Main/PeterThoeny - 30 Oct 2005 | | | |
|
|
BlackListPlugin 7 - 29 Oct 2005 - Users.PeterThoeny
|
| | 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. | > > | 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
| |
> > | 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. | | | Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION% | |
> > | 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)
| |
> > |
- Log access of blacklist and spam list activities: (0 or 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
| | |
- Message for users on BLACKLIST and BANLIST:
- Set BLACKLISTMESSAGE = Your IP address 38.107.179.238 is black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net 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)
| > > | Wiki-spam filtering settings:
- Filter wiki-spam on topic save based on SPAMLIST: (0 or 1)
- Comma separated list of Web.Topics to exclude from wiki-spam filtering:
| | | | |
< < |
- Log access of users on BLACKLIST and BANLIST: (1 or 0)
| > > |
- Public wiki-spam list: Big list of wiki-spam patterns, retrieved from external web site (thanks to MoinMoin's AntiSpamGlobalSolution wiki-spam list)
| | | | |
< < | | > > |
- Cache refresh time (in minutes) for public wiki-merge pattern list:
- 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 38.107.179.238 is black listed at the QBFreak.net web site due to suspicious activities. Please contact site administrator webmaster@qbfreak.net 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)
| | | Plugin Installation Instructions | | |
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 |
| |
> > |
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
| | | Plugin Info
| |
< < |
| Plugin Version: | 27 Oct 2005 (V1.005) |
| > > |
| Plugin Version: | 29 Oct 2005 |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 27 Oct 2005 | > > | -- TWiki:Main/PeterThoeny - 29 Oct 2005 | | | |
|
|
BlackListPlugin 6 - 27 Oct 2005 - Users.PeterThoeny
|
| | 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. | | |
- 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.
| |
< < | | > > |
| | |
- BANLIST: Automatically updated list of IP addresses based on BANLIST configuration
| |
< < | | > > | | | |
-
- 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 view raw, points for other actions like view, threshold to add to BANLIST, measured over time (in seconds)
| > > |
- 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 38.107.179.238
- Message for users on BLACKLIST and BANLIST:
| |
< < |
-
- Set BLACKLISTMESSAGE = You are black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net if you got on the list by mistake. Black listed IP addresses will be submitted to major blacklist databases.
| > > |
-
- Set BLACKLISTMESSAGE = Your IP address 38.107.179.238 is black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net 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)
| | |
| |
< < | | > > | | | | Plugin Installation Instructions | | |
data/TWiki/BlackListPlugin.txt | Plugin topic |
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 |
- 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:
- Using above form, add the IP address of one of your workstations to the BANLIST
- Access TWiki from that workstation
| | |
-
-
- else, you should get an 500 Internal Server Error for other scripts
- 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 Version: | 22 Jan 2005 (V1.004) |
| > > |
| Plugin Version: | 27 Oct 2005 (V1.005) |
| | |
| |
> > |
| | |
| 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 |
| | |
| CPAN Dependencies: | none |
| Other Dependencies: | none |
| Perl Version: | 5.005 |
| |
> > |
| | |
| |
> > |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 22 Jan 2005 | > > | -- TWiki:Main/PeterThoeny - 27 Oct 2005 | | | |
|
|
BlackListPlugin 5 - 22 Jan 2005 - Users.PeterThoeny
|
| | 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. | > > | 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
| | | 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
Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION% | | |
- Message for users on BLACKLIST and BANLIST:
- Set BLACKLISTMESSAGE = You are black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net 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)
| | |
- Log access of users on BLACKLIST and BANLIST: (1 or 0)
| | | Plugin Info
| |
< < |
| Plugin Version: | 19 Jan 2005 (V1.003) |
| > > |
| Plugin Version: | 22 Jan 2005 (V1.004) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 19 Jan 2005 | > > | -- TWiki:Main/PeterThoeny - 22 Jan 2005 | | | |
|
|
BlackListPlugin 4 - 18 Jan 2005 - Users.PeterThoeny
|
| | 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. | | |
-
- 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
| > > |
- 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 38.107.179.238
- Message for users on BLACKLIST and BANLIST:
| | | Plugin Info
| |
< < |
| Plugin Version: | 05 Apr 2004 (V1.001) |
| > > |
| Plugin Version: | 19 Jan 2005 (V1.003) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 05 Apr 2004 | > > | -- TWiki:Main/PeterThoeny - 19 Jan 2005 | | | |
|
|
BlackListPlugin 3 - 05 Apr 2004 - Users.PeterThoeny
|
| | Black List Plugin | |
< < | 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
| | |
-
- 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.
| > > |
-
- Set BLACKLIST = 203.88.152., 203.88.155., 219.65.75.
| | | | | |
-
- Your current score: 203.88.152., 203.88.155., 219.65.75. for IP address 38.107.179.238
- Message for users on BLACKLIST and BANLIST:
| |
< < |
-
- Set BLACKLISTMESSAGE = You are black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact webmaster@qbfreak.net 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 QBFreak.net web site due to excessive access or suspicious activities. Please contact site administrator webmaster@qbfreak.net 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)
| | |
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 QBFreak.net" if accessing the view script; or an 500 Internal Server Error for other scripts.
| > > |
-
- Using above form, add the IP address of one of your workstations to the BANLIST
- 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
- 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 Version: | 04 Apr 2004 (V1.001) |
| > > |
| Plugin Version: | 05 Apr 2004 (V1.001) |
| | |
| |
> > |
| 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 |
| | | Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 04 Apr 2004 | > > | -- TWiki:Main/PeterThoeny - 05 Apr 2004 | | | |
|
|
BlackListPlugin 2 - 03 Apr 2004 - Users.PeterThoeny
|
| | 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. | > > | 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 | | |
- Debug plugin: (See output in
data/debug.txt)
| |
< < |
- 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 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 38.107.179.238
- Message for users on BLACKLIST and BANLIST:
- Set BLACKLISTMESSAGE = You are black listed at the QBFreak.net web site due to excessive access or suspicious activities. Please contact webmaster@qbfreak.net 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 to
data/debug.txt: (1 or 0)
| > > |
- Log access of users on BLACKLIST and BANLIST: (1 or 0)
| | |
| | | Plugin Info
| |
< < |
| Plugin Version: | 21 Mar 2004 (V1.000) |
| > > |
| Plugin Version: | 04 Apr 2004 (V1.001) |
| | |
| |
> > |
| 04 Apr 2004: | Added WHITELIST and BANLIST |
| | |
| 21 Mar 2004: | Initial version |
| CPAN Dependencies: | none |
| Other Dependencies: | none |
| Perl Version: | 5.005 |
| |
< < |
| > > |
| | |
Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory | |
< < | -- TWiki:Main/PeterThoeny - 21 Mar 2004 | > > | -- TWiki:Main/PeterThoeny - 04 Apr 2004 | | | |
|
|
BlackListPlugin 1 - 20 Mar 2004 - Users.PeterThoeny
|
|
> > | 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)
- 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)
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 QBFreak.net" if accessing the view script; or an 500 Internal Server Error for other scripts.
Plugin Info
Related Topics: TWikiPreferences, TWikiPlugins, Google blacklist directory
-- TWiki:Main/PeterThoeny - 21 Mar 2004 |
|
| Revision 19 | r19 - 29 Mar 2007 - 17:55 - PeterThoeny? |
| Revision 18 | r18 - 18 Mar 2007 - 18:08 - PeterThoeny? |
| Revision 17 | r17 - 27 Dec 2006 - 16:53 - PeterThoeny? |
| Revision 16 | r16 - 27 Dec 2006 - 00:16 - PeterThoeny? |
| Revision 15 | r15 - 30 Jun 2006 - 22:22 - TWikiContributor |
| Revision 14 | r14 - 02 Jun 2006 - 16:12 - PeterThoeny? |
| Revision 13 | r13 - 29 Apr 2006 - 22:21 - PeterThoeny? |
| Revision 12 | r12 - 07 Feb 2006 - 14:01 - PeterThoeny? |
| Revision 11 | r11 - 03 Jan 2006 - 14:28 - PeterThoeny? |
| Revision 10 | r10 - 08 Nov 2005 - 10:59 - PeterThoeny? |
| Revision 9 | r9 - 04 Nov 2005 - 18:10 - PeterThoeny? |
| Revision 8 | r8 - 29 Oct 2005 - 22:26 - PeterThoeny? |
| Revision 7 | r7 - 29 Oct 2005 - 00:58 - PeterThoeny? |
| Revision 6 | r6 - 27 Oct 2005 - 19:01 - PeterThoeny? |
| Revision 5 | r5 - 22 Jan 2005 - 00:32 - PeterThoeny? |
| Revision 4 | r4 - 18 Jan 2005 - 23:31 - PeterThoeny? |
| Revision 3 | r3 - 05 Apr 2004 - 20:33 - PeterThoeny? |
| Revision 2 | r2 - 03 Apr 2004 - 13:51 - PeterThoeny? |
| Revision 1 | r1 - 20 Mar 2004 - 17:08 - PeterThoeny? |
|
|
|
 Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding QBFreak.net? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.BlackListPlugin
|
|