SV-281340r1167170_rule
V-281340
SRG-OS-000420-GPOS-00186
RHEL-10-800080
CAT II
10
Configure RHEL 10 to use TCP syncookies.
Create a configuration file if it does not already exist:
$ sudo vi /etc/sysctl.d/99-ipv4_tcp_syncookies.conf
Add the following line to the file:
net.ipv4.tcp_syncookies = 1
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 10 is configured to use Internet Protocol version 4 (IPv4) TCP syncookies.
Check the value of all "net.ipv4.tcp_syncookies" variables with the following command:
$ sudo sysctl net.ipv4.tcp_syncookies
net.ipv4.tcp_syncookies = 1
If the network parameter "ipv4.tcp_syncookies" is not equal to "1", or nothing is returned, this is a finding.
V-281340
False
RHEL-10-800080
Verify RHEL 10 is configured to use Internet Protocol version 4 (IPv4) TCP syncookies.
Check the value of all "net.ipv4.tcp_syncookies" variables with the following command:
$ sudo sysctl net.ipv4.tcp_syncookies
net.ipv4.tcp_syncookies = 1
If the network parameter "ipv4.tcp_syncookies" is not equal to "1", or nothing is returned, this is a finding.
M
5733