User Tools

Site Tools


Sidebar

Translations of this page:

Info of Pages

Recent 10 Changes

Recently Created 5 pages

Online Measurements

5 people started to see my website in the last 10 minutes.

Accesses to this page
Today: 1 Yesterday: 2
Total: 62

Wiki Status

  • 55 pages in total
en:dokuwiki:stopforumspam2

StopForumSpam Plugin 2

Summary

By using this plugin, you can refer mass database of stopforumspam.org to prevent nuisances by unknown spammers.

I know there is a plugin plugin:stopforumspam, but I wanted to improve mobility of the plugin, so I newly made a plugin.
This plugin has a helper plugin section, so you can use it from 3rd party plugins.

Installation

Search and install the plugin using the Extension Manager. Refer to :Plugins on how to install plugins manually.

Usage

Installed this plugin? Then the followings are already protected:

  • user registration form
  • edit form

By enabling from the Configuration and Settings, you can deny access of those who are regarded as spammers.

Helper Plugin Support

Configuration and Settings

You can change following settings by using the Configuration Manager.

OptionDescriptionValue TypeDefault Value
freqBorderThe borderline between an ordinary user and a spammer when checking the frequency score
If the score is the number set here or more, the plugin regards the visitor as a spammer. If the set number is 0 then the plugin won't check the frequency score.
It will be a standard borderline, but some functions using this plugin may use the more severe or laxer standards.
numeric (0 +)3
confidenceBorderThe borderline between an ordinary user and a spammer when checking the confidence score
If the score is the number set here or more, the plugin regards the visitor as a spammer. If the set number is 0 then the plugin won't check the confidence score.
It will be a standard borderline, but some functions using this plugin may use the more severe or laxer standards.
numeric (0 - 100)10
protectRegFreqCheck the frequency score of the visitor's IP address, and the given real name and e-mail address to protect the registration form?
If the given number is "0" then the plugin won't do that, otherwise it'll do. You can define the borderline special to this function. If "-1" then the plugin will use the conf "freqBorder" above, if more than 0 then the number will be the borderline.
numeric (-1 +)-1
protectRegConfCheck the confidence score of the visitor's IP address, and the given real name and e-mail address to protect the registration form?
If the given number is "0" then the plugin won't do that, otherwise it'll do. You can define the borderline special to this function. If "-1" then the plugin will use the conf "confidenceBorder" above, if more than 0 (and 100 or less) then the number will be the borderline.
numeric (-1 - 100)-1
preventNuisanceRegProtection duration of the registration form after a spammy request (minutes, set to 0 to disable)
This option prevents multiplex spammy requests from the same IP address. If there is a spammy request of user registration, the plugin makes a temporary file where holds the IP address from which the spammy request is sent. If a registration request is being sent from the same IP address, and the elapsed time is not enough, the system prevents the request.
numeric (0 +)5
protectEditFreqCheck the frequency score of the visitor's IP address to protect the edit form?
If the given number is "0" then the plugin won't do that, otherwise it'll do. You can define the borderline special to this function. If "-1" then the plugin will use the conf "freqBorder" above, if more than 0 then the number will be the borderline.
numeric (-1 +)-1
protectEditConfCheck the confidence score of the visitor's IP address to protect the edit form?
If the given number is "0" then the plugin won't do that, otherwise it'll do. You can define the borderline special to this function. If "-1" then the plugin will use the conf "confidenceBorder" above, if more than 0 (and 100 or less) then the number will be the borderline.
numeric (-1 - 100)-1
accessRefusalFreqCheck the frequency score of the visitor's IP address and refuse him if he is a spammer? (access denial)
If the given number is "0" then the plugin won't do that, otherwise it'll do. You can define the borderline special to this function. If "-1" then the plugin will use the conf "freqBorder" above, if more than 0 then the number will be the borderline.
numeric (-1 +)0
accessRefusalConfCheck the confidence score of the visitor's IP address and refuse him if he is a spammer? (access denial)
If the given number is "0" then the plugin won't do that, otherwise it'll do. You can define the borderline special to this function. If "-1" then the plugin will use the conf "confidenceBorder" above, if more than 0 (and 100 or less) then the number will be the borderline.
numeric (-1 - 100)0
skipMgAndSpDon't check logged-in users, managers and superusers? (see config:manager and config:superuser)multichoicesp
ipWhitelistWhitelist of IP addresses
The plugin won't check the accesses/posts with these IPs.
Enter one IP per line.
Wildcards available:
? = one character
* = one or more characters

e.g.: "123.456.???.123" → 123.456.789.123, etc. (123.456.78.123 won't be excluded)
e.g.: "123.*.789.123" → 123.456.789.123, 123.9.789.123, etc.
textarea1)
emailWhitelistWhitelist of e-mail addresses
The plugin won't check the accesses/posts with these e-mail addresses.
Enter one address per line. Internationalized Domain Name (IDN) is acceptable.
Wildcards available:
? = one character (any type of characters)
* = one or more characters (any type of characters)
! = one character (a numeral)
~ = one or more characters (numerals)

e.g.: "???@example.com" → 123@example.com, etc. (4567@example.com won't be excluded)
e.g.: "*@example.com" → hogehoge@example.com, blahblah1234@example.com, etc.
textarea2)
nameWhitelistWhitelist of user names (not user IDs)
The plugin won't check the accesses/posts with these names.
Enter one name per line.
Wildcards available:
? = one character (any type of characters)
* = one or more characters (any type of characters)
! = one character (a numeral)
~ = one or more characters (numerals)

e.g.: "???Spammer" → FunSpammer, etc. (IntelligentSpammer won't be excluded)
e.g.: "*Socks" → RedSocks, BlackSocks, etc.
textarea3)
userWhitelistWhitelist of users and user groups (not users' real name)
The plugin won't check the accesses/posts from these users and the users in these groups.
Enter users and user groups separated by comma.
string4)
logPlaceWhere to save the log when a spammer is detected
Enter the file path (directory and file name) to save the log file. If empty, the plugin doesn't save the log.
Pick up and delete the log file if necessary.
e.g.: /yourserver/log/sfslogfile.txt
string5)
reportAPIAn API key used when reporting through addToDatabase function (Keep it a secret!)
If empty, the addToDatabase function won't work.
string6)

Development

Change Log

  • 2018-02-06
    • Initial Release

Known Bugs and Issues

No issues now

Contact Me

If you find some problems in this plugin, you can make issue topics on the GitHub page, or if you wanna contact me for other things, you can contact me by:



BACK

1) , 2) , 3) , 4) , 5) , 6)
empty
en/dokuwiki/stopforumspam2.txt · Last modified: 2019/02/06 18:07 by 管理人/Admin