Hi,
I tried to develop new authentication backend. It bans users IP address after defined false login attempt at defined time.
Simple idea is written here:
http://forum.dokuwiki.org/thread/5431
Instalation
1. unpack attached file
1. copy
ban.class.php to
inc\auth directory
2. login as admin
3. at settings section set
authtype to
ban.
Configuration
Open
inc\auth\ban.class.php and read instructions at the file. Default is 3 attempts at 15 minutes.
Additional info
Creates automatically
conf\ban.auth.php file with list of IP address and unixtimestamp of unsuccessful logins. Syntax is
IpAddress:unixTimeStampOfFalseAttempt
IpAddress:unixTimeStampOfFalseAttempt
IpAddress:unixTimeStampOfFalseAttempt
IpAddress:unixTimeStampOfFalseAttempt
IpAddress:unixTimeStampOfFalseAttempt
...
Changelog
Version 0.5
- updated for release 2012-10-13 "Adora Belle"
- constructor updated to OOP
- removed unsed parts of code
Version 0.4
- initial version
Try to test it. Any comments welcomed.
Vilda