An XCCDF Group - A logical subset of the XCCDF Benchmark
ipv6.disable=1
# grub2-editenv - set "$(grub2-editenv - list | grep kernelopts) ipv6.disable=1"
ipv6
/etc/modprobe.d/disabled.conf
/etc/modprobe.d
options ipv6 disable=1
udp6
tcp6
rpc.mountd
/etc/netconfig
udp6 tpi_clts v inet6 udp - - tcp6 tpi_cots_ord v inet6 tcp - -
/etc/sysctl.d/ipv6.conf
/etc/sysctl.d
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
/etc/sysconfig/network-scripts/ifcfg-interface
IPV6_PRIVACY=rfc3041
net.ipv6.conf.all.accept_ra
$ sudo sysctl -w net.ipv6.conf.all.accept_ra=0
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.all.accept_redirects
$ sudo sysctl -w net.ipv6.conf.all.accept_redirects=0
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.all.accept_source_route
$ sudo sysctl -w net.ipv6.conf.all.accept_source_route=0
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.all.forwarding
$ sudo sysctl -w net.ipv6.conf.all.forwarding=0
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.default.accept_ra
$ sudo sysctl -w net.ipv6.conf.default.accept_ra=0
net.ipv6.conf.default.accept_ra = 0
net.ipv6.conf.default.accept_redirects
$ sudo sysctl -w net.ipv6.conf.default.accept_redirects=0
net.ipv6.conf.default.accept_redirects = 0
net.ipv6.conf.default.accept_source_route
$ sudo sysctl -w net.ipv6.conf.default.accept_source_route=0
net.ipv6.conf.default.accept_source_route = 0