X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a7d96c8358a00088b485fadb5966eb4b231d2ff1..94d361b83b4d5cf2b5807684d1bb50f82fbb6b7b:/roles/base.rb diff --git a/roles/base.rb b/roles/base.rb index 15c913d3d..2e2805142 100644 --- a/roles/base.rb +++ b/roles/base.rb @@ -49,9 +49,9 @@ default_attributes( } }, :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" } } },