Quantcast
Channel: User Brian - Server Fault
Viewing all articles
Browse latest Browse all 41

Answer by Brian for CentOS7: Run Fail2Ban on existing log with new regex

$
0
0

Older versions reprocessed the log on restart. Newer versions store the last log-file position to a sqlite db. When the check sum of up to the first line not modified matches what was stored it won't process those lines again.

You can modify some part of the log before that point so the checksum fails and it will all get processed again.


Viewing all articles
Browse latest Browse all 41

Trending Articles