An XCCDF Group - A logical subset of the XCCDF Benchmark
ipv6
/etc/modprobe.d/disabled.conf
/etc/modprobe.d
options ipv6 disable=1
/etc/sysctl.d/ipv6.conf
/etc/sysctl.d
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
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