On 5/7/21 6:44 PM, Dan Egli wrote:

> Okay. So now let's throw it into an EXTREMELY SIMPLE config file:
> [Definition]
> failrexex =     ".*<HOST>#.*"
> ignoreregex =
> 
> Result: # fail2ban-regex test.log $PWD/test.conf
>
  I had a similar problem with test files.
  I discovered (quite accidentally) that the test files *must* reside in
/etc/fail2ban/filter.d/ directory. The regex would not match when a "foreign"
file was indicated.

-- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.


_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to