Documentation ¶
Overview ¶
Package netlisten compares code shared by security.NetworkListeners tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPorts ¶
CheckPorts compares processes listening for TCP connections against an expected set. The keys in expected take the form "<addr>:<port>", with "*" used to indicate "any address" for both IPv4 and IPv6 (e.g. "*:22" or "127.0.0.1:80"). The values are absolute paths to the executables that should be listening on the ports (e.g. "/usr/sbin/sshd"). Testing-related processes are automatically excluded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.