SV-100461r1_rule
V-89811
SRG-OS-000420-GPOS-00186
VRAU-SL-001305
CAT I
10
Configure the system to use TCP syncookies when experiencing a TCP SYN flood.
Check for the presence of "net.ipv4.tcp_syncookies" in the /etc/sysctl.conf file:
# grep "net.ipv4.tcp_syncookies" /etc/sysctl.conf
If it exists, change the value to "1". If it does not exist, add a setting for tcp_syncookies:
# echo "net.ipv4.tcp_syncookies=1" >> /etc/sysctl.conf
Reload sysctl to verify the new change:
# sysctl -p
Check that the system configured to use TCP syncookies when experiencing a TCP SYN flood.
# cat /proc/sys/net/ipv4/tcp_syncookies
If the result is not "1", this is a finding.
V-89811
False
VRAU-SL-001305
Check that the system configured to use TCP syncookies when experiencing a TCP SYN flood.
# cat /proc/sys/net/ipv4/tcp_syncookies
If the result is not "1", this is a finding.
M
3459