mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-09-09 21:19:29 +00:00
18 lines
402 B
Text
18 lines
402 B
Text
# Fail2Ban apache-modsec filter
|
|
#
|
|
|
|
[INCLUDES]
|
|
|
|
# Read common prefixes. If any customizations available -- read them from
|
|
# apache-common.local
|
|
before = apache-common.conf
|
|
|
|
[Definition]
|
|
|
|
|
|
failregex = ^%(_apache_error_client)s ModSecurity: (\[.*?\] )*Access denied with code [45]\d\d.*$
|
|
|
|
ignoreregex =
|
|
|
|
# https://github.com/SpiderLabs/ModSecurity/wiki/ModSecurity-2-Data-Formats
|
|
# Author: Daniel Black
|