I am trying to stop SYN Flooding Attack
but when I set net.ipv4.tcp_syncookies = 1
in sysctl.conf
I get this error
/proc/sys/net/ipv4/tcp_syncookies: No such file or directory
I am trying to stop SYN Flooding Attack
but when I set net.ipv4.tcp_syncookies = 1
in sysctl.conf
I get this error
/proc/sys/net/ipv4/tcp_syncookies: No such file or directory
Unfortunately, there's no good news.
Your kernel was not compiled with the option
CONFIG_SYN_COOKIES
, because the default value oftcp_syncookies
is1
.You can TRY to use
sysctl
directly.If that fails, there is a larger issue. Your kernel needs to be recompiled (good luck) or your operating system choice needs to be adjusted, whichever you are more comfortable with.