I was planning to use fail2ban to block attacker IP addresses, however I could not. Here is a temporary solution posted by one of the forum members..
http://www.zoneminder.com/forums/viewto ... t=fail2ban
This basically adds a line
Code: Select all
error_log( "Unable to authenticate ZM web user with username '$username' and password '$password'" );
Code: Select all
"function userLogin( $username, $password="", $passwordHashed=false )".
The better solution will be to log the details and IP address of attacker in a zoneminder error log file.