{"description": "To set the runtime status of the <code>net.ipv4.tcp_rfc1337</code> kernel parameter, run the following command: <pre>$ sudo sysctl -w net.ipv4.tcp_rfc1337=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.tcp_rfc1337 = 1</pre>", "rationale": "Enable TCP behavior conformant with RFC 1337. When disabled, if a RST is\nreceived in TIME_WAIT state, we close the socket immediately without waiting\nfor the end of the TIME_WAIT period.", "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.tcp_rfc1337</code> kernel parameter can be queried\nby running the following command:\n<pre>$ sysctl net.ipv4.tcp_rfc1337</pre>\n<code>1</code>.\n", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {"check-import": "stdout", "check-export": ["sysctl_net_ipv4_tcp_rfc1337_value=xccdf_org.ssgproject.content_value_sysctl_net_ipv4_tcp_rfc1337_value"], "platform": ["multi_platform_all"], "environment": "any", "filename": "sysctl_net_ipv4_tcp_rfc1337.sh", "relative_path": "ubuntu2204/checks/sce/sysctl_net_ipv4_tcp_rfc1337.sh"}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Enable Kernel Parameter to Use TCP RFC 1337 on IPv4 Interfaces", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/network/network-kernel/network_host_and_router_parameters/sysctl_net_ipv4_tcp_rfc1337/rule.yml", "template": {"name": "sysctl", "vars": {"sysctlvar": "net.ipv4.tcp_rfc1337", "datatype": "int"}, "backends": {}}}