{"description": "To set the runtime status of the <code>net.ipv4.conf.all.drop_gratuitous_arp</code> kernel parameter, run the following command: <pre>$ sudo sysctl -w net.ipv4.conf.all.drop_gratuitous_arp=1</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.ipv4.conf.all.drop_gratuitous_arp = 1</pre>", "rationale": "Drop Gratuitous ARP frames to prevent ARP poisoning.", "severity": "medium", "references": {"anssi": ["R12"]}, "control_references": {"anssi": ["R12"]}, "components": [], "identifiers": {}, "ocil_clause": "the correct value is not returned", "ocil": "The runtime status of the <code>net.ipv4.conf.all.drop_gratuitous_arp</code> kernel parameter can be queried\nby running the following command:\n<pre>$ sysctl net.ipv4.conf.all.drop_gratuitous_arp</pre>\n<code>1</code>.\n", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [{"functionality": "This can cause problems if ARP proxies are used in the network."}], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {"check-import": "stdout", "platform": ["multi_platform_all"], "environment": "any", "filename": "sysctl_net_ipv4_conf_all_drop_gratuitous_arp.sh", "relative_path": "ubuntu2204/checks/sce/sysctl_net_ipv4_conf_all_drop_gratuitous_arp.sh"}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Drop Gratuitous ARP frames on All IPv4 Interfaces", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/network/network-kernel/network_host_and_router_parameters/sysctl_net_ipv4_conf_all_drop_gratuitous_arp/rule.yml", "template": {"name": "sysctl", "vars": {"sysctlvar": "net.ipv4.conf.all.drop_gratuitous_arp", "sysctlval": "1", "datatype": "int"}, "backends": {}}}