From 1d1f22afe24f2656cd8ca5717482ebebaebffb02 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 19 Mar 2024 21:20:03 +0000 Subject: [PATCH] Fix fail2ban evasive filter --- cookbooks/apache/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/apache/recipes/default.rb b/cookbooks/apache/recipes/default.rb index 090fc770c..d1a0aac1d 100644 --- a/cookbooks/apache/recipes/default.rb +++ b/cookbooks/apache/recipes/default.rb @@ -113,7 +113,7 @@ fail2ban_jail "apache-forbidden" do end fail2ban_filter "apache-evasive" do - failregex "^Blacklisting address : possible DoS attack\.$" + failregex ": Blacklisting address : possible DoS attack\.$" end fail2ban_jail "apache-evasive" do -- 2.45.1