From 3615c8ec8194d9f44bfcd78fcfe881c521abe61d Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Tue, 12 Aug 2008 19:20:02 +0000 Subject: [PATCH] - Improved pattern. Thanks to Yaroslav Halchenko. git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_8@707 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- config/filter.d/apache-noscript.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/filter.d/apache-noscript.conf b/config/filter.d/apache-noscript.conf index 636dcd53..25dd62d3 100644 --- a/config/filter.d/apache-noscript.conf +++ b/config/filter.d/apache-noscript.conf @@ -14,7 +14,8 @@ # (?:::f{4,6}:)?(?P\S+) # Values: TEXT # -failregex = [[]client []] (File does not exist|script not found or unable to stat): .*(\.php|\.asp|\.exe|\.pl) +failregex = [[]client []] (File does not exist|script not found or unable to stat): /\S*(\.php|\.asp|\.exe|\.pl) + [[]client []] script '/\S*(\.php|\.asp|\.exe|\.pl)\S*' not found or unable to stat *$ # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored.