Net Probe

Network diagnostics with only the stdlib socket/ssl modules — port checks (connect-based, not SYN-scan), DNS resolution, TLS certificate expiry with day budget, and HTTP latency sampling. The "is it up, is it reachable, is the cert about to die" triage without nmap, dig, or openssl.

trac3r00 d76a765 2 files · 5.5 KB Updated

File contents

Net Probe

Is it up, is it reachable, is the cert about to die — no nmap, no dig, no openssl.

Commands

python3 scripts/net_probe.py --port-check db.internal:5432 --port-check api:443
python3 scripts/net_probe.py --dns example.com
python3 scripts/net_probe.py --tls example.com:443 --tls-warn-days 30
python3 scripts/net_probe.py --latency https://api.example.com --count 5

Checks

Check Gate
--port-check host:port exit 1 when any port closed
--dns name exit 1 on resolution failure
--tls host:port exit 1 when cert expires within --tls-warn-days (default 14)
--latency url min/avg latency samples

Pairs with

api-tester (the HTTP-level check above the socket level), sec-headers (header audit on the same URL), sys-health (the local-machine side of the same triage).

trac3r00/agent-skills/tree/main/skills/net-probe commit d76a765777

Frequently asked questions

npx skillmds@latest add trac3r00/net-probe