mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Add Filter IP Black list
This commit is contained in:
parent
7bac839603
commit
5cf23c7b7d
1 changed files with 15 additions and 0 deletions
15
config/filter.d/filter-ip-blacklist.conf
Normal file
15
config/filter.d/filter-ip-blacklist.conf
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[Definition]
|
||||
|
||||
# Option: failregex
|
||||
# Notes : Detection of blocked ip addresses.
|
||||
# Values: TEXT
|
||||
#
|
||||
|
||||
failregex = ^(?P<ip4>\d{1,3}(?:\.\d{1,3}){3}/\d{1,2})\s+
|
||||
|
||||
# Option: ignoreregex
|
||||
# Notes : Regex to ignore.
|
||||
# Values: TEXT
|
||||
#
|
||||
|
||||
ignoreregex =
|
||||
Loading…
Reference in a new issue