Skip to main content

Module network

Module network 

Source

Functions§

configure_firewall
Configure a firewalld rule and reload so it takes effect.
configure_wifi
get_firewall_backend_state
Report nftables and frontend observations, preserving unknown probe results.
get_firewall_state
get_listening_ports
List listening TCP/UDP sockets and, where the daemon has permission, the owning process (ss -tulpnH). Read-only; answers “what is listening on port X?”. Run without sudo (like GetNetworkStatus’s ip); the socket/port list is complete regardless of privilege, process attribution is best-effort.
get_network_status
get_nftables_ruleset
Inspect nftables without modifying rules or accepting caller-controlled argv.
set_dns_servers
specs