[Bug 57091] Re: proc/sys/net/ipv4/tcp_syncookies=1 should be seriously considered to permit SYN flood defense...
antisa
ante.maretic at protonmail.com
Wed May 18 08:16:59 UTC 2016
Here is the entry from ...10-network-security.conf from 16.04 (although
from Desktop edition)
"
# Turn on SYN-flood protections. Starting with 2.6.26, there is no loss
# of TCP functionality/features under normal conditions. When flood
# protections kick in under high unanswered-SYN load, the system
# should remain more stable, with a trade off of some loss of TCP
# functionality/features (e.g. TCP Window scaling).
net.ipv4.tcp_syncookies=1
"
Guess it hasn't been removed.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/57091
Title:
proc/sys/net/ipv4/tcp_syncookies=1 should be seriously considered to
permit SYN flood defense...
Status in procps package in Ubuntu:
Fix Released
Bug description:
This is intended to be a 'wishlist' wulnerability -- w.r.t. procps and
Edgy.
In my opinion,the /etc/sysctl.conf should have
'proc/sys/net/ipv4/tcp_syncookies=1' in order to permit the linux
SYNcookies syn-flood trivial DoS attack to be mitigated as-necessary,
by default.
Note that the disadvantages of connections initiated w/ SYNcookies
enabled only apply when the system is under attack (SYN queue getting
rather full), as the syncookies reply-with-only-one-SYN+ACK behaviour
only 'kicks in' when the system has a SYN_RECVD backlog problem. (If
SYNcookies were not permitted incoming TCP connections have a very low
chance of succeeding at all while under SYN-flood attack).
Without this setting enabled, any TCP services on the machine can be
DoSed from a dial-up line sending a stream of SYN packets from weird
source addresses to open TCP ports like Samba/VNC/http/whatever....
Does anybody have any legitimate reason tcp_syncookies should be disabled?
Some people claimed that SYNcookies break some RFCs once but I have
not seen any evidence to this effect, only notes from djb saying that
this is not true.
Comments wanted please ;-)
Thankyou in advance,
-- enyc
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/57091/+subscriptions
More information about the foundations-bugs
mailing list