}
},
:tcp_syncookies => {
- :comment => "Turn off syncookies as they interact badly with the firewall",
+ :comment => "Turn on syncookies to protect against SYN floods",
:parameters => {
- "net.ipv4.tcp_syncookies" => "0"
+ "net.ipv4.tcp_syncookies" => "1"
}
}
},
:comment => "Tune the ondemand CPU frequency governor",
:parameters => {
"devices/system/cpu/cpufreq/ondemand/up_threshold" => "25",
- "devices/system/cpu/cpufreq/ondemand/sampling_down_factor" => "10"
+ "devices/system/cpu/cpufreq/ondemand/sampling_down_factor" => "100"
}
}
}
"recipe[openssh]",
"recipe[sysctl]",
"recipe[sysfs]",
- "recipe[tools]"
+ "recipe[tools]",
+ "recipe[fail2ban]"
)