fail2ban/config/filter.d/apache-overflows.conf

16 lines
386 B
Plaintext

# Fail2Ban filter to block web requests on a long or suspicious nature
#
[INCLUDES]
# overwrite with apache-common.local if _apache_error_client is incorrect.
before = apache-common.conf
[Definition]
failregex = ^%(_apache_error_client)s (Invalid (method|URI) in request|request failed: URI too long|erroneous characters after protocol string)
ignoreregex =
# Author: Tim Connors