plugin:tokenbucketauth
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:tokenbucketauth [2012-07-25 10:39] – Klap-in | plugin:tokenbucketauth [2024-03-11 16:23] (current) – comptatible with jack jackrum (deprecation warnings in logs) asheenlevrai | ||
---|---|---|---|
Line 3: | Line 3: | ||
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
- | author | + | author |
- | email : Aorimn@giboulees.net | + | email : Aorimn@giboulees.net |
type : action | type : action | ||
- | lastupdate : 2012-07-02 | + | lastupdate : 2014-09-25 |
- | compatible : angua, Rincewind | + | compatible : Binky, Angua, Rincewind, Weatherwax, Greebo, Hogfather, Jack Jackrum |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : bruteforce, tokenbucket, | + | tags : bruteforce, tokenbucket, |
downloadurl: | downloadurl: | ||
Line 20: | Line 20: | ||
This plugin delays bruteforce attacks by banning an IP address when this IP tries to log in and fails too much time within a defined period. | This plugin delays bruteforce attacks by banning an IP address when this IP tries to log in and fails too much time within a defined period. | ||
- | |||
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | Search and install |
- | + | ||
- | If you choose to install it manually, beware of the directory name. All files should be within lib/ | + | |
- | + | ||
- | See '' | + | |
+ | See Configuration and Settings below to understand how the plugin works. | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
Here is a list of main settings which explain how the plugin works: | Here is a list of main settings which explain how the plugin works: | ||
- | * **pbf_block_time:** block a user 10 minutes | + | * **tba_block_time:** how long to block a user, in seconds |
- | * **pbf_nb_attempt:** if s/he failed | + | * **tba_nb_attempt:** if s/he failed |
- | * **pbf_mean_time:** within | + | * **tba_mean_time:** within |
- | * **pbf_whitelist:** and is not on the whitelist (127.0.0.1 | + | * **tba_whitelist:** and is not on the whitelist (default=127.0.0.1). |
Here are additional options: | Here are additional options: | ||
- | * **pbf_send_mail:** send email to admins when a user has been banned, leave blank if to noone or don't care ; | + | * **tba_send_mail:** send email to admins when a user has been banned, leave blank if to noone or don't care; |
- | * **pbf_iptime_file:** log users attempts into this file ; | + | * **tba_iptime_file:** log users attempts into this file; |
- | * **pbf_block_file:** log blocked users into this one ; | + | * **tba_block_file:** log blocked users into this one; |
- | * **pbf_lockfile:** lock file to know when we can put content into the two others. | + | * **tba_lockfile:** lock file to know when we can put content into the two others. |
You should be able to change these default values using the [[config: | You should be able to change these default values using the [[config: | ||
- | |||
=== Change Log === | === Change Log === | ||
Line 63: | Line 58: | ||
//Feel free to add what you think here!// | //Feel free to add what you think here!// | ||
- | |||
- | |||
plugin/tokenbucketauth.1343205542.txt.gz · Last modified: 2012-07-25 10:39 by Klap-in