Trippy

Table of the nine hops on a trace to 8.8.8.8, with loss, latency and a status dot for each, above two small bar charts.

Per-hop loss and latency that keep updating

Trippy is a Rust terminal tool that does the job of traceroute and ping at once. trip example.com finds the routers between your machine and the target, then keeps probing them round after round and updates loss, latency (last, average, best, worst), standard deviation and jitter for every hop. Loss and latency spikes can be read hop by hop, not just at the destination.

ICMP, UDP and TCP probes with per-flow ECMP tracing

  • Probes go out over ICMP, UDP or TCP, on IPv4 or IPv6. Ports, packet size and payload pattern, TTL and TOS are set from flags or a TOML config file.
  • With UDP and the dublin ECMP strategy, pinning both ports usually keeps every probe in a round on one path. Letting the source port change between rounds exposes the parallel paths instead, and the f key steps through them one flow at a time.
  • A hop can show its AS number and name, MPLS labels carried in RFC 4884 ICMP extensions, a detected NAT, and separate estimates of forward and backward loss.
  • One instance traces several targets. A privacy setting hides the address, hostname and location of the first hops before you take a screenshot.
  • Outside the TUI, Trippy writes a timestamped JSON report, CSV, a plain or Markdown table, or a Graphviz dot graph of the flows after a set number of rounds.
  • The tracing engine, packet parsing and DNS code also ship as separate Rust crates (trippy-core, trippy-packet, trippy-dns).

Raw sockets, misleading ICMP loss, no release since May 2025

Raw sockets mean elevated privileges. On Unix that is sudo, a setuid binary owned by root or, on Linux, the CAP_NET_RAW capability, which Trippy drops once its sockets are open. Windows needs Administrator rights plus a Windows Defender rule that lets inbound ICMP through. --unprivileged mode works on macOS only, and not with paris or dublin.

Loss at an intermediate hop is not necessarily a fault. The docs point out that many routers rate-limit ICMP. The status column paints an intermediate hop that drops probes blue and a target that drops them yellow, and only the target case is described as a likely problem. In the screenshot at the top of this page, hop 6 loses 24.1% of its probes while the target loses none.

The path you see depends on the protocol. ICMP usually escapes ECMP load balancing, so it may not follow the route your UDP or TCP traffic takes. paris breaks behind NAT, because it stores the sequence number in the UDP checksum and NAT devices usually rewrite that field. TCP supports neither paris nor dublin. No strategy controls the return path, which is why the docs suggest tracing from both ends.

AS lookups need a different DNS resolver. Trippy gets them from Team Cymru's DNS service, a lookup the default system resolver cannot make yet: switch to -r google, cloudflare or resolv. The GeoIP map reads a MaxMind or IPinfo mmdb file that you provide.

Trippy draws heavily on mtr, the README says, and borrows ideas from libparistraceroute and Dublin Traceroute.

The latest release is 0.13.0, from May 5, 2025. Commits still land on master, most recently on October 25, 2026, and most of them bump dependencies. The changelog flags a breaking change for the next release: the default address family becomes system, which leaves the choice between IPv4 and IPv6 to the OS resolver.