View Single Post
  #2  
Old 11th January 2012, 22:21
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

Please post here:

From the working server:
1) a few log lines
2) working regex

From the not working server:
1) a few log lines
2) not working regex

In everycase, you can use fail2ban-regex command to test your regex and try to get a working one.

fail2ban-regex /path/to/logfile "regex to be evaluted by fail2ban"

It will show matches.. What I do, is just to paste a line in a file /test/test.log, and then run the check
Reply With Quote