From 8dd0d530c008e40e4320621f34d6137b9757cf3c Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 19 Mar 2024 23:41:02 +0000 Subject: [PATCH 1/1] apache: increase mod_evasive page_count to reduce iD false positives --- cookbooks/apache/attributes/default.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cookbooks/apache/attributes/default.rb b/cookbooks/apache/attributes/default.rb index a9cde038c..075e4c86f 100644 --- a/cookbooks/apache/attributes/default.rb +++ b/cookbooks/apache/attributes/default.rb @@ -32,7 +32,8 @@ default[:apache][:buffered_logs] = true default[:apache][:evasive][:enable] = true default[:apache][:evasive][:hash_table_size] = 65536 -default[:apache][:evasive][:page_count] = 50 +# 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 -- 2.39.5