-------- Original Message --------
*Subject: *  Re: [Fail2ban-users] fail2ban-regex maches, but fail2ban does not
*From: *     James Moe Via Fail2ban-users <fail2ban-users@lists.sourceforge.net>
*To: *         Fail2ban-users <fail2ban-users@lists.sourceforge.net>
*CC: *
*Date: *      2023-4-21  02:29 PM
On 2023-04-21 06:25, Wayne Sallee via Fail2ban-users wrote:

I ran regular fail2ban, and fail2ban-regex at the same time. If you look, at my 
test, you can see what I did. Fail2ban
did nothing, but fail2ban-regex matched 8.

   What is "regular fail2ban"? Do you mean fail2ban-server?
   fail2ban records the last position in the log file that it read. This way f2b
does not need to scan to whole file every time it opens the log, it just moves
to the last read position. If the log file does appear to be new or changed, f2b
will find nothing new to test.


Yes . . . fail2ban-server.

Looking at my test, you can see that I copied logs into the testing log file, 
so that fail2ban would see the new entries.

Wayne Sallee
wa...@waynesallee.com
http://www.WayneSallee.com


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

Reply via email to