This commit is contained in:
Pierre Dubouilh
2025-02-01 12:15:20 +02:00
parent e0bea7e7a8
commit 1dca57a191
4 changed files with 77 additions and 12 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ Example:
# block invalid sshd attempts & invalid http statuses from caddy
./blockfast -s=/var/log/auth.log -j=/caddy/logs
# generic log parser example with a positive text, and a regex to parse the offending IP.
# generic log parser example with a log text to flag, and a regex to parse the offending IP.
./blockfast --generic-logpath=/tmp/generictest --generic-positive='Failed password' --generic-ip='from ([0-9a-fA-F:.]+) port'",
verbatim_doc_comment,
)]