2013-02-20 17:07:46 +04:00
|
|
|
Roundcube Defense
|
|
|
|
===================
|
|
|
|
Protects the Roundcube login page from bruteforce login attempts.
|
|
|
|
|
|
|
|
Original concept from the roundcube "security" plugin by Lazlo Westerhof.
|
|
|
|
Wanting to fix the shortfalls of that plugin led me to a rewrite.
|
|
|
|
|
|
|
|
FEATURES
|
|
|
|
-------------------
|
|
|
|
- Bruteforce protection
|
|
|
|
- Ban based on X failed-logins per Y seconds (default: 5 fails / 60m)
|
|
|
|
- Ban for X seconds. (default: 120)
|
|
|
|
- Increasing ban duration by power of 4 for repeated offenders (2m, 8m, 32m, 8h32m, etc)
|
|
|
|
- Whitelist
|
|
|
|
- Blacklist
|
2013-02-21 23:03:30 +04:00
|
|
|
- Failed logins log [TODO: Logs are in DB, but no interface yet]
|
2013-02-20 17:07:46 +04:00
|
|
|
- Only accessible by administrator
|
|
|
|
|
2013-02-21 23:11:51 +04:00
|
|
|
![Example](http://i.imgur.com/caJQC3I.png)
|
|
|
|
|
2013-02-20 17:07:46 +04:00
|
|
|
INSTALLATION
|
|
|
|
--------------------
|
|
|
|
1. Change to plugins/ directory
|
2013-02-20 18:17:30 +04:00
|
|
|
2. Clone git repository with: git clone https://github.com/stalks/roundcube-defense.git defense
|
2013-02-21 22:38:21 +04:00
|
|
|
3. Add 'defense' table to SQL structure by using schema in sql/
|
2013-02-20 17:07:46 +04:00
|
|
|
4. Edit config file 'config.inc.php.dist' and save as 'config.inc.php'
|
2013-02-20 18:17:30 +04:00
|
|
|
4. Add 'defense' to plugins array at config/main.inc.php
|
2013-02-20 17:07:46 +04:00
|
|
|
|
|
|
|
ISSUES
|
|
|
|
--------------------
|
|
|
|
Create an issue ticket at https://github.com/stalks/roundcube-defense/issues
|
|
|
|
|
2013-02-21 22:38:21 +04:00
|
|
|
HISTORY
|
|
|
|
--------------------
|
|
|
|
21.02.2013 -- Version 0.1
|
|
|
|
- initial release, functional, still bug checking
|
|
|
|
|
2013-02-20 17:07:46 +04:00
|
|
|
===================
|
|
|
|
Created by Steve Allison - https://www.nooblet.org/
|