mirror of https://github.com/fail2ban/fail2ban
Updated Developing Regex in Fail2ban (markdown)
parent
6fb1f125eb
commit
dbeb2f950f
|
@ -40,6 +40,8 @@ Date template hits:
|
|||
```
|
||||
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
|
||||
-------------
|
||||
After clearing/setting the `prefregex`, test it again and watch for `Pre-filter matched` in your output:
|
||||
|
|
Loading…
Reference in New Issue