SV-239183r675357_rule
V-239183
SRG-OS-000480-GPOS-00227
PHTN-67-000112
CAT II
10
At the command line, execute the following commands:
# sed -i -e "/^net.ipv4.ip_forward/d" /etc/sysctl.conf
# echo net.ipv4.ip_forward=0>>/etc/sysctl.conf
At the command line, execute the following command:
# /sbin/sysctl -a --pattern "net.ipv4.ip_forward$"
Expected result:
net.ipv4.ip_forward = 0
If the system is intended to operate as a router, this is N/A.
If the output does not match the expected result, this is a finding.
V-239183
False
PHTN-67-000112
At the command line, execute the following command:
# /sbin/sysctl -a --pattern "net.ipv4.ip_forward$"
Expected result:
net.ipv4.ip_forward = 0
If the system is intended to operate as a router, this is N/A.
If the output does not match the expected result, this is a finding.
M
5323