AlmaLinux OS 9 must not accept router advertisements on all IPv6 interfaces.
An XCCDF Rule
Description
An illicit router advertisement message could result in a man-in-the-middle attack.
- ID
- SV-269243r1050125_rule
- Version
- ALMA-09-018500
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure AlmaLinux OS 9 to not accept router advertisements on all IPv6 interfaces unless the system is a router.
Create a numbered *.conf file in /etc/sysctl.d/ with the following content:
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.default.accept_ra = 0