2013-10-30 13:02:59 +00:00
# Fail2Ban filter to block web requests for scripts (on non scripted websites)
2006-10-17 19:05:27 +00:00
#
#
2013-06-11 18:56:25 +00:00
[INCLUDES]
2013-10-30 13:02:59 +00:00
# overwrite with apache-common.local if _apache_error_client is incorrect.
2013-06-11 18:56:25 +00:00
before = apache-common.conf
2006-10-17 19:05:27 +00:00
[Definition]
2013-11-10 23:49:11 +00:00
failregex = ^%(_apache_error_client)s ((AH001(28|30): )?File does not exist|(AH01264: )?script not found or unable to stat): /\S*(\.php|\.asp|\.exe|\.pl)\s*$
2013-06-11 18:56:25 +00:00
^%(_apache_error_client)s script '/\S*(\.php|\.asp|\.exe|\.pl)\S*' not found or unable to stat\s*$
2006-11-12 14:52:36 +00:00
2006-11-15 18:44:28 +00:00
ignoreregex =
2013-10-30 13:02:59 +00:00
2013-11-10 23:49:11 +00:00
# DEV Notes:
#
# https://wiki.apache.org/httpd/ListOfErrors for apache error IDs
#
# Second regex, script '/\S*(\.php|\.asp|\.exe|\.pl)\S*' not found or unable to stat\s*$ is Before http-2.2
#
2013-10-30 13:02:59 +00:00
# Author: Cyril Jaquier