osidiag: a Swiss Army knife for network troubleshooting

Introducing osidiag v0.4.1: an open-source Go CLI for OSI-layer network troubleshooting across Windows and Linux, including TLS and SNI checks.

· Go · CLI · OSI · TLS · Networking

A successful ping does not mean an HTTPS application works. A certificate might depend on SNI; a reverse proxy might be listening while its upstream is unreachable. I wanted these boundaries visible in one terminal session.

I built osidiag, a Go CLI for Windows 11, Linux and WSL2. It pulls together interface/link state, neighbor caches, routes, ping/traceroute, local TCP states, TLS certificate checks and HTTP/DNS observations using the seven-layer OSI model.

osidiag check example.com --output table
osidiag tls app.example.com --connect-ip 203.0.113.10 --compare-sni -v
osidiag http example.com -v

The tool helps narrow where the evidence points, without treating a listening TCP port as proof that the upstream is healthy. A TLS handshake to Cloudflare’s edge does not independently verify the origin.

osidiag v0.4.1 is now public under the Apache License 2.0 license. The Networknet project page covers commands and limitations, and the official v0.4.1 release has Linux AMD64/ARM64 packages and a portable Windows AMD64 build. The Windows download, osidiag-windows-amd64-unsigned.zip, is unsigned (not Authenticode-signed). Verify the published checksums and GitHub provenance; neither replaces Windows publisher trust.

The Code signing policy documents the planned SignPath Foundation process. Approval and trusted Windows signing have not happened yet.