Skip to content

Commit 976235e

Browse files
committed
apache: set our correct defaults for mod_evasive
1 parent 953568a commit 976235e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

cookbooks/apache/attributes/default.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
default[:apache][:evasive][:enable] = true
3434
default[:apache][:evasive][:dos_hash_table_size] = 65536
35-
default[:apache][:evasive][:dos_page_count] = 250
36-
default[:apache][:evasive][:dos_site_count] = 500
35+
default[:apache][:evasive][:dos_page_count] = 50
36+
default[:apache][:evasive][:dos_site_count] = 250
3737
default[:apache][:evasive][:dos_page_interval] = 1
3838
default[:apache][:evasive][:dos_site_interval] = 1
3939
default[:apache][:evasive][:dos_blocking_period] = 60

roles/wiki.rb

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
:max_request_workers => 800,
1616
:threads_per_child => 50,
1717
:max_connections_per_child => 10000
18+
},
19+
:evasive => {
20+
:dos_page_count => 250,
21+
:dos_site_count => 500
1822
}
1923
},
2024
:elasticsearch => {

0 commit comments

Comments
 (0)