Usage Examples
Basic usage with default parameters:
trip example.comTrace without requiring elevated privileges (supported platforms only, see privileges):
trip example.com --unprivilegedTrace using the udp (or tcp or icmp) protocol (also aliases --icmp, --udp & --tcp):
trip example.com -p udpTrace to multiple targets simultaneously (icmp protocol only,
see #72):
trip example.com google.com crates.ioTrace with a minimum round time of 250ms and a grace period of 50ms:
trip example.com -i 250ms -g 50msTrace with a custom first and maximum time-to-live:
trip example.com --first-ttl 2 --max-ttl 10Use custom destination port 443 for tcp tracing:
trip example.com -p tcp -P 443Use custom source port 5000 for udp tracing:
trip example.com -p udp -S 5000Use the dublin (or paris) ECMP routing strategy for udp with fixed source and destination ports:
trip example.com -p udp -R dublin -S 5000 -P 3500Trace with a custom source address:
trip example.com -p tcp -A 127.0.0.1Trace with a source address determined by the IPv4 address for interface en0:
trip example.com -p tcp -I en0Trace using IPv6:
trip example.com -6Trace using ipv4-then-ipv6 fallback (or ipv6-then-ipv4 or ipv4 or ipv6):
trip example.com --addr-family ipv4-then-ipv6Generate a json (or csv, pretty, markdown) tracing report with 5 rounds of data:
trip example.com -m json -C 5Generate a Graphviz DOT file report of all tracing flows for a TCP trace after 5 rounds:
trip example.com --tcp -m dot -C 5Generate a textual report of all tracing flows for a UDP trace after 5 rounds:
trip example.com --udp -m flows -C 5Perform DNS queries using the google DNS resolver (or cloudflare, system, resolv):
trip example.com -r googleLookup [AS][autonomous_system] information for all discovered IP addresses (not yet available for the system resolver,
see #66):
trip example.com -r google -zSet the reverse DNS lookup cache time-to-live to be 60 seconds:
trip example.com --dns-ttl 60secLookup and display short (or long or location or off) GeoIp information from a mmdb file:
trip example.com --geoip-mmdb-file GeoLite2-City.mmdb --tui-geoip-mode shortParse icmp extensions:
trip example.com -eHide the IP address, hostname and GeoIp for the first two hops:
trip example.com --tui-privacy-max-ttl 2Customize Tui columns (see Column Reference):
trip example.com --tui-custom-columns holsravbwdtCustomize the color theme:
trip example.com --tui-theme-colors bg-color=blue,text-color=ffff00List all Tui items that can have a custom color theme:
trip --print-tui-theme-itemsCustomize the key bindings:
trip example.com --tui-key-bindings previous-hop=k,next-hop=j,quit=shift-qList all Tui commands that can have a custom key binding:
trip --print-tui-binding-commandsSpecify the location of the Trippy config file:
trip example.com --config-file /path/to/trippy.tomlGenerate a template configuration file:
trip --print-config-template > trippy.tomlGenerate bash shell completions (or fish, powershell, zsh, elvish):
trip --generate bashGenerate ROFF man page:
trip --generate-manUse the de Tui locale:
trip example.com --tui-locale deList supported Tui locales:
trip --print-localesSet the Tui timezone to UTC:
trip example.com --tui-timezone UTCRun in silent tracing mode and output compact trace logging with full span events:
trip example.com -m silent -v --log-format compact --log-span-events full