From d8177ae1e7215a3af82202625d05733901e2ec46 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 17 Jan 2005 18:58:44 +0000 Subject: add syncookies (#145201) --- sysctl.conf | 3 +++ sysctl.conf.s390 | 3 +++ sysctl.conf.sparc | 3 +++ 3 files changed, 9 insertions(+) diff --git a/sysctl.conf b/sysctl.conf index db98922f..49234a10 100644 --- a/sysctl.conf +++ b/sysctl.conf @@ -18,3 +18,6 @@ kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 + +# Controls the use of TCP syncookies +net.ipv4.tcp_syncookies = 1 diff --git a/sysctl.conf.s390 b/sysctl.conf.s390 index 0ddc1d55..2391d334 100644 --- a/sysctl.conf.s390 +++ b/sysctl.conf.s390 @@ -15,3 +15,6 @@ net.ipv4.conf.default.accept_source_route = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 + +# Controls the use of TCP syncookies +net.ipv4.tcp_syncookies = 1 diff --git a/sysctl.conf.sparc b/sysctl.conf.sparc index 3fc5c31b..8891892b 100644 --- a/sysctl.conf.sparc +++ b/sysctl.conf.sparc @@ -21,3 +21,6 @@ kernel.core_uses_pid = 1 # Controls stop-a on the sparc kernel.stop-a = 0 + +# Controls the use of TCP syncookies +net.ipv4.tcp_syncookies = 1 -- cgit v1.2.1