{"description": "To set the runtime status of the <code>net.ipv6.conf.default.forwarding</code> kernel parameter, run the following command: <pre>$ sudo sysctl -w net.ipv6.conf.default.forwarding=0</pre>\nTo make sure that the setting is persistent, add the following line to a file in the directory <tt>/etc/sysctl.d</tt>: <pre>net.ipv6.conf.default.forwarding = 0</pre>", "rationale": "IP forwarding permits the kernel to forward packets from one network\ninterface to another. The ability to forward packets between two networks is\nonly appropriate for systems acting as routers.", "severity": "medium", "references": {"nist": ["CM-6(b)", "CM-6.1(iv)"], "srg": ["SRG-OS-000480-GPOS-00227"]}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "IPv6 Forwarding is not disabled", "ocil": "The runtime status of the <code>net.ipv6.conf.default.forwarding</code> kernel parameter can be queried\nby running the following command:\n<pre>$ sysctl net.ipv6.conf.default.forwarding</pre>\n<code>0</code>.\nThe ability to forward packets is only appropriate for routers.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "system_with_kernel", "platforms": ["system_with_kernel"], "sce_metadata": {"check-import": "stdout", "check-export": ["sysctl_net_ipv6_conf_default_forwarding_value=xccdf_org.ssgproject.content_value_sysctl_net_ipv6_conf_default_forwarding_value"], "platform": ["multi_platform_all"], "environment": "any", "filename": "sysctl_net_ipv6_conf_default_forwarding.sh", "relative_path": "ubuntu2204/checks/sce/sysctl_net_ipv6_conf_default_forwarding.sh"}, "inherited_platforms": ["ipv6[enabled]"], "cpe_platform_names": ["system_with_kernel"], "inherited_cpe_platform_names": ["ipv6_enabled"], "bash_conditional": null, "fixes": {}, "title": "Disable Kernel Parameter for IPv6 Forwarding by default", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/network/network-ipv6/configuring_ipv6/sysctl_net_ipv6_conf_default_forwarding/rule.yml", "template": {"name": "sysctl", "vars": {"sysctlvar": "net.ipv6.conf.default.forwarding", "datatype": "int"}, "backends": {}}}