diff --git a/Developing-Regex-in-Fail2ban.md b/Developing-Regex-in-Fail2ban.md index a962194..ce219e2 100644 --- a/Developing-Regex-in-Fail2ban.md +++ b/Developing-Regex-in-Fail2ban.md @@ -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.