G27 · Spec 007 · Class: read-only
Host firewall diagnostics and port reachability: detects active firewall backends
(firewalld, nftables, iptables, ufw), inspects rules matching specified
ports, checks default chain and zone policies, and tests TCP reachability to target
endpoints via nc or bash /dev/tcp.
The script never loads, flushes, or modifies any rule set. All checks are strictly