检查是否是内核参数的影响
Sat Apr 23 2022 11:37:31 GMT+0000 (Coordinated Universal Time)
Saved by
@xiaomian
The status of the "net.ipv4.icmp_echo_ignore_broadcasts" kernel parameter can be queried by running the following command:
$ sysctl net.ipv4.icmp_echo_ignore_broadcasts
The output of the command should indicate a value of "1". If this value is not the default value, investigate how it could have been adjusted at runtime, and verify it is not set improperly in "/etc/sysctl.conf".
If the correct value is not returned, this is a finding.
Fix Text (F-43483r1_fix)
To set the runtime status of the "net.ipv4.icmp_echo_ignore_broadcasts" kernel parameter, run the following command:
# sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1
If this is not the system's default value, add the following line to "/etc/sysctl.conf":
net.ipv4.icmp_echo_ignore_broadcasts = 1
content_copyCOPY
https://www.stigviewer.com/stig/red_hat_enterprise_linux_6/2014-06-11/finding/V-38535
Comments