On 5/7/2021 11:17 PM, Iosif Fettich wrote:
Hi Dan,Okay, I'm ready to scream here. No matter what pattern I try, if it's in a file for fail2ban, the regex is missed. BUT if I take the EXACT SAME REGEX and use it on the command line, it matches every time!! What's the deal?Are sure that, when running from file, you're testing the proper time frame?Best regards, Iosif Fettich
What time frame? I don't understand what you mean. fail2ban-regex doesn't care about what time a record was entered, as far as I know. It simply reports whether a particular regex would match anything in the file or in the test string.
-- Dan Egli From my Test Server
OpenPGP_0x11B7451DF2015959.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
