Trippy (trip)
Modern Rust network diagnostics TUI combining traceroute, ping, BGP ASN, and jitter analysis
WHAT IS IT?
Trippy (`trip`) is an open-source network diagnostic tool written in Rust that combines the capabilities of `mtr`, `traceroute`, and `ping` with ECMP multipath tracing and autonomous system (ASN) attribution.
WHY USE IT? // PRACTICAL USE CASES
Classic `traceroute` and `mtr` often misattribute packet loss on modern Equal-Cost Multi-Path (ECMP) cloud networks because probe checksums/ports vary across hops. Trippy implements Dublin traceroute strategies to keep flow hashes constant and visualize each parallel network path.
- [1] Diagnosing asymmetric routing, ECMP load-balancing drops, and BGP ASN path changes in real time
- [2] Probing TCP/UDP perimeter firewall reachability when ICMP echo is filtered
- [3] Generating automated JSON/CSV network path reports during infrastructure triage
HOW DO I GET IT? // SAFE INSTALLATION GUIDANCE
Install via system package managers (`pacman -S trippy`, `apt install trippy`, `brew install trippy`) or Cargo (`cargo install trippy --locked`). Grant `CAP_NET_RAW` (`sudo setcap cap_net_raw+p $(which trip)`) to run without root.
HOW DOES IT WORK? // INTERNAL ARCHITECTURE OVERVIEW
Trippy crafts ICMP, UDP, or TCP packets with incrementing IPv4/IPv6 TTL values, correlates returning ICMP Time Exceeded messages with flow identifiers, queries DNS/Whois for BGP ASN records, and renders real-time latency histograms in a terminal UI.