mirror of https://github.com/fail2ban/fail2ban
19 lines
496 B
Plaintext
19 lines
496 B
Plaintext
# Fail2Ban filter to block web requests for scripts (on non scripted websites)
|
|
#
|
|
#
|
|
|
|
[INCLUDES]
|
|
|
|
# overwrite with apache-common.local if _apache_error_client is incorrect.
|
|
before = apache-common.conf
|
|
|
|
[Definition]
|
|
|
|
failregex = ^%(_apache_error_client)s (File does not exist|script not found or unable to stat): /\S*(\.php|\.asp|\.exe|\.pl)\s*$
|
|
^%(_apache_error_client)s script '/\S*(\.php|\.asp|\.exe|\.pl)\S*' not found or unable to stat\s*$
|
|
|
|
ignoreregex =
|
|
|
|
|
|
# Author: Cyril Jaquier
|