fail2ban and production.log format

Added by jerome l about 8 years ago

hello,

I am trying to configure fail2ban for my redmine 2.3 running on debian sqeeze.
i have followed the wiki here:[[http://www.redmine.org/projects/redmine/wiki/HowTo_Configure_Fail2ban_For_Redmine]]

According to this manual : [[http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Debian]]

The problem that there is a known bug in fail2ban on Debian (no luck for me), when i run the command:

fail2ban-regex "Failed login for 'admin' from 192.168.1.12 at 2013-08-19 17:39:25 UTC" "failregex"

I have the output "Sorry, no match" > it confirms that fail2ban doesn't recognize the format of the production.log's .

Does someone has got the same problem? and found a solution?

Hope to read your answers soon.

Best regards