]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/attributes/default.rb
Merge remote-tracking branch 'github/pull/697'
[chef.git] / cookbooks / apache / attributes / default.rb
index 557085b56b1f64c8923a1df367bc2cd901bf8a91..075e4c86f2d443e3f18aa86ecac03cec38f39437 100644 (file)
@@ -31,9 +31,10 @@ default[:apache][:listen_address] = "*"
 default[:apache][:buffered_logs] = true
 
 default[:apache][:evasive][:enable] = true
-default[:apache][:evasive][:dos_hash_table_size] =  65536
-default[:apache][:evasive][:dos_page_count]      =  50
-default[:apache][:evasive][:dos_site_count]      =  250
-default[:apache][:evasive][:dos_page_interval]   =  1
-default[:apache][:evasive][:dos_site_interval]   =  1
-default[:apache][:evasive][:dos_blocking_period] =  60
+default[:apache][:evasive][:hash_table_size] = 65536
+# page_count is misnomer as it can match backends in some cases
+default[:apache][:evasive][:page_count] = 150
+default[:apache][:evasive][:site_count] = 250
+default[:apache][:evasive][:page_interval] = 1
+default[:apache][:evasive][:site_interval] = 1
+default[:apache][:evasive][:blocking_period] = 60