X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/976235eeb788f112ffda275b1372aa3ddd146ab5..e93e0d3fc5b48738c68e8b6a075c0e53f68e37c0:/cookbooks/apache/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/apache/attributes/default.rb b/cookbooks/apache/attributes/default.rb index 557085b56..075e4c86f 100644 --- a/cookbooks/apache/attributes/default.rb +++ b/cookbooks/apache/attributes/default.rb @@ -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