Skip to main content

Module ports

Module ports 

Source
Expand description

Listening-port inventory for one host.

Strategy: prefer ss -tunlpH (Linux iproute2 — header-suppressed). Fall back to ss -tunlp and skip the header line if H isn’t supported by an old version. Final fallback: netstat -tunlp for BSDs / very old distros.

Structs§

ListeningPort

Functions§

listening_ports