}
},
: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"
}
}
},
"recipe[openssh]",
"recipe[sysctl]",
"recipe[sysfs]",
- "recipe[tools]"
+ "recipe[tools]",
+ "recipe[fail2ban]"
)