mirror of https://github.com/fail2ban/fail2ban
Updated Developing Regex in Fail2ban (markdown)
parent
150e8794da
commit
f789ca56d6
|
@ -73,6 +73,8 @@ Secondary benefit of `prefregex` is to ensure that `failregex` is left with the
|
|||
3-Jan-2020 myscript: Dynamic error message part
|
||||
```
|
||||
|
||||
Furthermore, the really good reason to support `prefregex`, single pattern or not, is to accommodate whichever daemon/script is writing into that log file as each user of your filter may have different configuration settings to include or exclude certain things into that log file. If the daemon/script of that log file doesn't have any logging parameters that would affect the log, then `prefregex` may not be for you to use.
|
||||
|
||||
To Pre-Filter or Not To Pre-Filter
|
||||
-----------------------------------
|
||||
This section only applies if you have (or will have) multiple patterns within this same filter file that you are creating or modifying.
|
||||
|
|
Loading…
Reference in New Issue