From 406f991be3a74bd4375f66427e912ec85586fe8e Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Mon, 27 Jun 2016 09:30:01 -0400 Subject: [PATCH] fixed error in my script copying nginx-badbots --- conf/fail2ban/nginx-badbots.conf | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/conf/fail2ban/nginx-badbots.conf b/conf/fail2ban/nginx-badbots.conf index c32b9f2a..b2ac9626 100644 --- a/conf/fail2ban/nginx-badbots.conf +++ b/conf/fail2ban/nginx-badbots.conf @@ -1,20 +1,3 @@ -# fail2ban filter configuration for nginx - - -[Definition] - - -failregex = ^ \[error\] \d+#\d+: \*\d+ user "\S+":? (password mismatch|was not found in ".*"), client: , server: \S+, request: "\S+ \S+ HTTP/\d+\.\d+", host: "\S+"\s*$ - ^ \[error\] \d+#\d+: \*\d+ no user/password was provided for basic authentication, client: , server: \S+, request: "\S+ \S+ HTTP/\d+\.\d+", host: "\S+"\s*$ - -ignoreregex = - -# DEV NOTES: -# Based on samples in https://github.com/fail2ban/fail2ban/pull/43/files -# Extensive search of all nginx auth failures not done yet. -# -# Author: Daniel Black -alon@box:/etc/fail2ban$ cat filter.d/nginx-badbots.conf # Fail2Ban configuration file # # Regexp to catch known spambots and software alike. Please verify