disable fail2ban for nominatim again
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 12 Jul 2018 19:06:43 +0000 (21:06 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 12 Jul 2018 19:06:43 +0000 (21:06 +0200)
cookbooks/nominatim/recipes/default.rb

index de01551650c312eb49b818ca93f55b4615de1e54..128bb34cf99b92d73e0ecd61173f7ab62a032397 100644 (file)
@@ -372,17 +372,6 @@ end
 
 include_recipe "fail2ban"
 
 
 include_recipe "fail2ban"
 
-fail2ban_filter "nominatim" do
-  failregex "Warning ignored: <HOST>"
-end
-
-fail2ban_jail "nominatim" do
-  filter "nominatim"
-  logpath "#{node[:nominatim][:logdir]}/restricted_ips.log"
-  ports [80, 443]
-  maxretry 3
-end
-
 munin_plugin_conf "nominatim" do
   template "munin.erb"
   variables :db => node[:nominatim][:dbname],
 munin_plugin_conf "nominatim" do
   template "munin.erb"
   variables :db => node[:nominatim][:dbname],