Your network,
rendered — not just measured.
xping turns ping, traceroute, DNS, TLS and port scans into live, colour-coded terminal output — pure Python stdlib, no third-party packages, one binary to reach for.
Five ways to look at a network
Every command shares the same rendering language — the same colours mean the same thing whether you're watching one ping or sweeping a /24.
Watch it happen
- Ping with animated latency bars, spinner & sparkline
--watchmode, redraws in place- Traceroute with per-hop RTT colour
- MTR — live trace + per-hop ping combined
Find what's out there
- IP scan across CIDR blocks or ranges
- IP sweep for open TCP services
- Concurrent port scanner with service names
Ask a host about itself
- DNS lookup — A / AAAA / MX / NS / TXT
- Reverse DNS with resolver fallback
- TLS certificate, expiry & cipher inspector
- HTTP status, headers, TTFB & redirects
- WHOIS via port 43, RDAP fallback
Get a verdict
- Network Health Score, 0–100
- Path MTU discovery via binary search
- TCP connect timing & success rate
- Saved profiles & JSON / CSV / Markdown export
Same tool, six different questions
A sample of what each command prints. Every diagnostic also takes --json, --csv or --markdown for scripts and reports.
$ xping ping 1.1.1.1 -c 5
$ xping trace example.com --max-hops 8
$ xping health google.com -c 16
$ xping portscan 10.0.0.5 --ports 1-1024
$ xping whois cloudflare.com
$ xping tls github.com
Pick your platform
No compiled extensions, no lockfile — xping runs on the Python standard library alone.
Supported: Ubuntu 22.04 / 24.04 LTS, Linux Mint 21+, Pop!_OS 22.04+
Works on any platform with Python 3.10+. pip install xping also works if you prefer.
Published straight from CI via release-snap.yml on every tagged release, so the Snap Store build always tracks the latest version.
- Clone the repository —
git clone https://github.com/mehaskari/xping - Enter the directory —
cd xping - Install —
pip install . - Optional: install the man page —
sudo cp man/xping.1 /usr/share/man/man1/
TCP, port scan, sweep and DNS fallback work out of the box. xping deps shows install hints for ICMP tools via winget or chocolatey.
Raw sockets, without root
ICMP needs elevated privileges. Grant the capability once instead of running as root: