From 60f8dd3978c37f8d8ce3c8e8e23ac8861d02cc91 Mon Sep 17 00:00:00 2001 From: Egbert <10352354+egberts@users.noreply.github.com> Date: Wed, 30 Sep 2020 16:22:08 -0400 Subject: [PATCH] Updated Developing Regex in Fail2ban (markdown) --- Developing-Regex-in-Fail2ban.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Developing-Regex-in-Fail2ban.md b/Developing-Regex-in-Fail2ban.md index 31ae57a..ca31710 100644 --- a/Developing-Regex-in-Fail2ban.md +++ b/Developing-Regex-in-Fail2ban.md @@ -80,6 +80,8 @@ and note the value of `'content:'`. This content comes after the `datepattern`; Note: Please note in 'content': value that there is an extra space at the beginning of that value so be careful with the ‘`^`‘ and make sure it starts with ‘`^ `‘ (note a space after caret symbol.) +In this example, I've opted to use the optional `prefregex` because I know that there is going to be more than one fail-matched pattern. And don't want to deal with it again later on. + NEW CONFIG FILE =============== From there on, we will be creating a local-variant of `named-refused.conf` file; all new and modified