mirror of https://github.com/fail2ban/fail2ban
Updated Developing Regex in Fail2ban (markdown)
parent
d3af3ffa07
commit
8edab352eb
|
@ -114,7 +114,9 @@ Sadly, latest Bind9 daemon has no configurable field to suppress these false DNS
|
||||||
|
|
||||||
FIRST PATTERN, FIRST
|
FIRST PATTERN, FIRST
|
||||||
====================
|
====================
|
||||||
Hopefully you got that ‘date’ hit. `fail2ban` already provided MANY `datepattern` found in many log files. Execute something like `fail2ban-regex -v` (please note the important '`-v`' command line option):
|
Hopefully you got that ‘date’ hit. `fail2ban` already provided for MANY `datepattern` found in many log files.
|
||||||
|
|
||||||
|
Execute something like `fail2ban-regex -v` (please note the important '`-v`' command line option):
|
||||||
```bash
|
```bash
|
||||||
fail2ban-regex -v /tmp/captured.log /etc/fail2ban/filter.d/named-refused.conf
|
fail2ban-regex -v /tmp/captured.log /etc/fail2ban/filter.d/named-refused.conf
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue