about: |
Network diagnostics: listening sockets, interfaces and routes, DNS lookups,
and quick connectivity. Privileged operations (iptables, packet capture) are
separate; many tools need `sudo` or capabilities.
commands:
ports:
about: Listening TCP/UDP sockets with owning processes (`ss -tulpn`).
os: [linux]
exec:
argv: ["ss", "-tulpn"]
ss:
about: Socket statistics (Linux ss) — forwarded filters (`-t`, `-u`, `-p`, …).
os: [linux]
exec:
argv: ["ss"]
passthrough: true
ip:
about: iproute2 ip — addresses, routes, links (`addr`, `route`, `link`, …).
exec:
argv: ["ip"]
passthrough: true
ping:
about: ICMP ping — forwarded host and flags.
exec:
argv: ["ping"]
passthrough: true
curl:
about: HTTP(S) client — forwarded URL and flags.
exec:
argv: ["curl"]
passthrough: true
dig:
about: DNS lookup (dig) — forwarded name and server args.
exec:
argv: ["dig"]
passthrough: true
nmcli:
about: NetworkManager CLI — status, devices, connections (forwarded).
os: [linux]
exec:
argv: ["nmcli"]
passthrough: true
traceroute:
about: traceroute / tracepath — path to host (forwarded).
exec:
argv: ["traceroute"]
passthrough: true
nc:
about: netcat — open TCP/UDP connections or listen (forwarded).
exec:
argv: ["nc"]
passthrough: true
ipt:
about: iptables — forwarded rules (often needs root).
os: [linux]
exec:
argv: ["iptables"]
passthrough: true
nstat:
about: Kernel SNMP network stats (Linux `nstat`) — forwarded options.
os: [linux]
exec:
argv: ["nstat"]
passthrough: true
netstat:
about: Legacy netstat — routes, sockets (`-rn`, `-an`, …).
exec:
argv: ["netstat"]
passthrough: true