Disable IPv6 Addressing on All IPv6 Interfaces
An XCCDF Rule
Description
To disable support for (ipv6
) addressing on all interface add the following line to
/etc/sysctl.d/ipv6.conf
(or another file in /etc/sysctl.d
):
net.ipv6.conf.all.disable_ipv6 = 1This disables IPv6 on all network interfaces as other services and system functionality require the IPv6 stack loaded to work.
Rationale
Any unnecessary network stacks - including IPv6 - should be disabled, to reduce the vulnerability to exploitation.
- ID
- xccdf_org.ssgproject.content_rule_sysctl_net_ipv6_conf_all_disable_ipv6
- Severity
- Medium
- References
- Updated