]> git.openstreetmap.org Git - chef.git/commitdiff
Fix fail2ban evasive filter
authorTom Hughes <tom@compton.nu>
Tue, 19 Mar 2024 21:20:03 +0000 (21:20 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 19 Mar 2024 21:20:14 +0000 (21:20 +0000)
cookbooks/apache/recipes/default.rb

index 090fc770c26a140a5e7a98a987610476a9355023..d1a0aac1dd45c70e56a30b071c64ebcfde31b864 100644 (file)
@@ -113,7 +113,7 @@ fail2ban_jail "apache-forbidden" do
 end
 
 fail2ban_filter "apache-evasive" do
-  failregex "^Blacklisting address <ADDR>: possible DoS attack\.$"
+  failregex "Blacklisting address <ADDR>: possible DoS attack\.$"
 end
 
 fail2ban_jail "apache-evasive" do