Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tools

Cygwin packages a large set of open source Unix tools for Windows. These are the ones I reach for when a network problem needs diagnosing, plus a few that only run on Linux.

The table shows where each tool comes from on each platform: a Cygwin package on Windows, and a dnf or apt package on Fedora and Ubuntu. N/A in the Cygwin column means the tool is not packaged for Cygwin. Several of those have native Windows builds instead; each tool’s own page has the details.

Open Source Tools

Command Line ToolCygwin PackageFedora (dnf)Ubuntu (apt)Usage
curlcurlcurlcurlcommand line tool for sending/receiving web requests
digbind-utilsbind-utilsbind9-dnsutilsDNS lookup tool, like nslookup but more useful
delvbind-utilsbind-utilsbind9-dnsutilsDNS lookup with full DNSSEC validation and tracing
drillN/Aldns-utilsldnsutilsdig-like DNS tool with DNSSEC signature chasing
gitgitgitgitversion control; useful for debugging SSH/TLS transport issues
ipcalcipcalcipcalcipcalcIP addressing calculator for subnet in CIDR notation
iperf3N/Aiperf3iperf3measure throughput between two machines
mtrN/Amtrmtr-tinytraceroute that keeps running and tracks per-hop loss
netcatnc, nc6nmap-ncatnetcat-openbsdswiss army knife for testing network connectivity
netstatWindows netstat.exenet-tools (or ss)net-tools (or ss)show listening ports and open connections
ntttcpN/Abuild from sourcebuild from sourceMicrosoft’s network throughput benchmark
opensslopensslopensslopenssltoolkit for testing SSL/TLS connections and certificates
opensshopensshopenssh-clientsopenssh-clientssh, sftp, and scp
rsyncrsyncrsyncrsyncresumable, bandwidth-limited file synchronization over SSH
straceN/Astracestracetrace the system calls a process makes (Linux)
tcpdumpN/Atcpdumptcpdumpcapture packets for reading in Wireshark
testsslruns in Cygwin bashtestssltestssl.shscan a webserver’s TLS protocols, ciphers, and certificates
trippyN/Acopr or cargoPPA or cargomtr with a nicer live terminal UI
unfrl/dugN/AGitHub .rpmGitHub .debquery DNS servers worldwide to check propagation
watchprocpsprocps-ngprocpsre-run a command on an interval and watch its output
whoiswhoiswhoiswhoislook up who owns a domain, IP, or AS number