Updated Developing Regex in Fail2ban (markdown)

master
Alex Garel 2025-02-12 18:55:58 +01:00
parent 6fb1f125eb
commit dbeb2f950f
1 changed files with 2 additions and 0 deletions

@ -40,6 +40,8 @@ Date template hits:
``` ```
Note the '`[6]`' output which matches my examples given in the next top-level section below. Note the '`[6]`' output which matches my examples given in the next top-level section below.
Important note: if your date pattern use %b or %B beware of checking you are in the right locale ! (your terminal might set a different locale than the server default). (use `locale -a` and `export LANG=xxx` to fix this).
Pre-Filtering Pre-Filtering
------------- -------------
After clearing/setting the `prefregex`, test it again and watch for `Pre-filter matched` in your output: After clearing/setting the `prefregex`, test it again and watch for `Pre-filter matched` in your output: