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. 1. The first hook is on login_failed for keep a database of time and ips source of connections. 2. 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. 3. 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 -- ___________________ Anderson J. de Souza - Networking and Security - [ - Professional Consulting - The best firewall - ] http://anderjs.blogspot.com/ - [email protected] Phone: +55 (54) 9115.13.15 - Sip: 1-747-013-2032 - --- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/rt/6dKymCRa/antiBruteForce.php Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
_______________________________________________ List info: http://lists.roundcube.net/dev/
