]> git.openstreetmap.org Git - chef.git/commitdiff
apache: increase mod_evasive page_count to reduce iD false positives
authorGrant Slater <github@firefishy.com>
Tue, 19 Mar 2024 23:41:02 +0000 (23:41 +0000)
committerGrant <github@firefishy.com>
Wed, 20 Mar 2024 10:22:03 +0000 (10:22 +0000)
cookbooks/apache/attributes/default.rb

index a9cde038c5f0bdc212981a9dd609331ed09e535d..075e4c86f2d443e3f18aa86ecac03cec38f39437 100644 (file)
@@ -32,7 +32,8 @@ default[:apache][:buffered_logs] = true
 
 default[:apache][:evasive][:enable] = true
 default[:apache][:evasive][:hash_table_size] = 65536
 
 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
 default[:apache][:evasive][:site_count] = 250
 default[:apache][:evasive][:page_interval] = 1
 default[:apache][:evasive][:site_interval] = 1