Hi Friends,
Today i did a little plugin for security reasons on server,and I will like contribute with this source for other users.
This plugin use 3 hooks to check, block and report excessive connections attempts.
- The first hook is on login_failed for keep a database of time and ips source of connections.
- The second hook is on startup to clear current attemps of logins, this will check the logs for failed logins to make decision of block.
- and the Last hook is on template_object_loginform, to show a message for user of the current block condition.
Well:
- Resuming, if not use right user and password in 3 attempts, the user will be blocked for 10 minutes.
thanks for all
Detachments -The following attachments have been detached and are available for viewing.
Only click these links if you trust the sender, as well as this message.