trippy

Network diagnostic tool combining traceroute and ping

TLDR

Trace route to a host
$ trip [example.com]
Use TCP protocol for tracing
$ trip [example.com] -p tcp
Use UDP protocol on a specific port
$ trip [example.com] -p udp --target-port [53]
Set maximum number of hops (TTL)
$ trip [example.com] --max-ttl [30]
Trace multiple targets simultaneously
$ trip [example.com] [example.org]

SYNOPSIS

trip [options] target [target ...]

DESCRIPTION

trippy combines the functionality of traceroute and ping into a single tool with a real-time TUI interface for network path analysis. It supports multiple tracing protocols (ICMP, UDP, TCP), IPv6, GeoIP visualization, and advanced ECMP strategies. Runs on Linux, BSD, macOS, and Windows.

PARAMETERS

-p, --protocol PROTOCOL

Tracing protocol: icmp (default), udp, or tcp.
--target-port PORT
Target port for UDP/TCP tracing.
--source-port PORT
Source port for UDP/TCP tracing.
-i, --interface IFACE
Network interface to use.
--max-ttl N
Maximum number of hops.
--first-ttl N
Starting TTL value.
-a, --addr-family FAMILY
Address family: ipv4, ipv6, ipv4-then-ipv6, or ipv6-then-ipv4.
-r, --dns-resolve-method METHOD
DNS resolution method: system, resolv, google, or cloudflare.
--tui-preserve-screen
Preserve screen content on exit.

INSTALL

sudo pacman -S trippy
sudo zypper install trippy
brew install trippy
nix profile install nixpkgs#trippy

CAVEATS

Requires elevated privileges (root or CAPNETRAW capability) for ICMP tracing. Some firewalls may block probe packets.

HISTORY

trippy was created by fujiapple852 and is written in Rust.

SEE ALSO

mtr(1), traceroute(1), tracepath(1), ping(1)