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_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
set_dns_servers
specs