X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/953568ac810971babd2c310ca6b8e1a0a30793a5..eb15b15aae4c6f83fcc917214d33458052ae248a:/cookbooks/apache/attributes/default.rb?ds=inline diff --git a/cookbooks/apache/attributes/default.rb b/cookbooks/apache/attributes/default.rb index 793881ea5..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] = 250 -default[:apache][:evasive][:dos_site_count] = 500 -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