mirror of https://github.com/fail2ban/fail2ban
Updated Developing Regex in Fail2ban (markdown)
parent
0c51e3f1b7
commit
60f8dd3978
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue