]> git.openstreetmap.org Git - chef.git/commitdiff
Reduce look back for forbidden request jail
authorTom Hughes <tom@compton.nu>
Mon, 11 Mar 2024 19:12:03 +0000 (19:12 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 11 Mar 2024 19:12:03 +0000 (19:12 +0000)
cookbooks/apache/recipes/default.rb

index b440dc38886e501552ec29a876761624b9e39f3d..f3a62fe4380c9a3b13d115db6080188d09e0ae39 100644 (file)
@@ -112,6 +112,7 @@ fail2ban_jail "apache-forbidden" do
   filter "apache-forbidden"
   logpath "/var/log/apache2/access.log"
   ports [80, 443]
   filter "apache-forbidden"
   logpath "/var/log/apache2/access.log"
   ports [80, 443]
+  findtime "1m"
   maxretry 50
 end
 
   maxretry 50
 end