{"description": "Any ports that have been opened on non-loopback addresses\nneed firewall rules to govern traffic.", "rationale": "Without a firewall rule configured for open ports default\nfirewall policy will drop all packets to these ports.", "severity": "medium", "references": {"cis": ["4.3.3.4"]}, "control_references": {"cis": ["4.3.3.4"]}, "components": [], "identifiers": {}, "ocil_clause": "open ports are denied connection", "ocil": "Run the following command to determine open ports:\n<pre># ss -6tuln</pre>\nRun the following command to determine firewall rules:\n<pre># ip6tables -L INPUT -v -n</pre>\nFor each port identified in the audit which does not have a firewall\nrule, add rule for accepting or denying inbound connections\n<pre># ip6tables -A INPUT -p \\<protocol\\> --dport \\<port\\> -m state --state NEW -j ACCEPT</pre>", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [{"general": "Changing firewall settings while connected over network can\nresult in being locked out of the system."}], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": "not package[nftables] and not package[ufw]", "platforms": ["not package[nftables] and not package[ufw]"], "sce_metadata": {"platform": ["multi_platform_rhel", "multi_platform_ubuntu"], "check-import": "stdout", "environment": "any", "filename": "ip6tables_rules_for_open_ports.sh", "relative_path": "ubuntu2204/checks/sce/ip6tables_rules_for_open_ports.sh"}, "inherited_platforms": ["package[iptables]"], "cpe_platform_names": ["not_package_nftables_and_not_package_ufw"], "inherited_cpe_platform_names": ["package_iptables"], "bash_conditional": null, "fixes": {}, "title": "Ensure ip6tables Firewall Rules Exist for All Open Ports", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/network/network-iptables/iptables_ruleset_modifications/ip6tables_rules_for_open_ports/rule.yml", "template": null}