From: Tom Hughes Date: Tue, 19 Mar 2024 21:20:03 +0000 (+0000) Subject: Fix fail2ban evasive filter X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/1d1f22afe24f2656cd8ca5717482ebebaebffb02 Fix fail2ban evasive filter --- 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