Project: netcheck Toolkit
Project: netcheck Toolkit
Overview
Build netcheck: combine TCP dial, TLS cert days, DNS lookup, and HTTP probe into one ops binary (sibling to CLI netkit/netsec).
Commands
| Cmd | Behavior |
|---|---|
dial host:port |
TCP connect RTT |
dns name |
print IPs |
tls host |
days left + version |
http url |
status + RTT |
all host |
dns + dial :443 + tls + https probe |
Requirements
- Context + 5s default timeout
- JSON optional (
-json)
- Exit 1 if any check fails in
all
- Stdlib +
crypto/tlsonly
Acceptance
go run ./cmd/netcheck all example.com
go run ./cmd/netcheck http -expect 200 https://example.com