trip(1)
π¦ NAME π¦
Okay so bestie, welcome to trip(1) from the General Commands Manual β she's trip, and she's A network diagnostic tool. That's the whole NAME vibe: trip β A network diagnostic tool. π
β¨ SYNOPSIS β¨
trip [-c|--config-file] [-m|--mode] [-u|--unprivileged] [-p|--protocol]
[--udp] [--tcp] [--icmp] [-F|--addr-family] [-4|--ipv4] [-6|--ipv6]
[-P|--target-port] [-S|--source-port] [-A|--source-address]
[-I|--interface] [-i|--min-round-duration] [-T|--max-round-duration]
[-g|--grace-duration] [--initial-sequence] [-R|--multipath-strategy]
[-U|--max-inflight] [-f|--first-ttl] [-t|--max-ttl] [--packet-size]
[--payload-pattern] [-Q|--tos] [-e|--icmp-extensions] [--read-timeout]
[-r|--dns-resolve-method] [-y|--dns-resolve-all] [--dns-timeout]
[--dns-ttl] [-z|--dns-lookup-as-info] [-s|--max-samples] [--max-flows]
[-a|--tui-address-mode] [--tui-as-mode] [--tui-custom-columns]
[--tui-icmp-extension-mode] [--tui-geoip-mode] [-M|--tui-max-addrs]
[--tui-preserve-screen] [--tui-refresh-rate] [--tui-privacy-max-ttl]
[--tui-locale] [--tui-timezone] [--tui-theme-colors]
[--print-tui-theme-items] [--tui-key-bindings]
[--print-tui-binding-commands] [-C|--report-cycles]
[-G|--geoip-mmdb-file] [--generate] [--generate-man]
[--print-config-template] [--print-locales] [--log-format]
[--log-filter] [--log-span-events] [-v|--verbose] [-h|--help]
[-V|--version] [TARGETS]
π DESCRIPTION π
A network diagnostic tool. That's literally the DESCRIPTION, and honestly the confidence of it. No extra lore in the section β just pure network-diagnostic main character energy. π
π OPTIONS π
Okay bestie, here's the full option buffet. Every flag, every value, every default β no skips, no cap. πΈ
-c,--config-file=CONFIG_FILEβ Config file. π-m,--mode=MODEβ Output mode[default: tui]. Possible values:tui: Display interactive TUIstream: Display a continuous stream of tracing datapretty: Generate a pretty text table report for N cyclesmarkdown: Generate a Markdown text table report for N cyclescsv: Generate a CSV report for N cyclesjson: Generate a JSON report for N cyclesdot: Generate a Graphviz DOT file for N cyclesflows: Display all flows for N cyclessilent: Do not generate any tracing output for N cycles
-u,--unprivilegedβ Trace without requiring elevated privileges on supported platforms[default: false].-p,--protocol=PROTOCOLβ Tracing protocol[default: icmp]. Possible values:icmp: Internet Control Message Protocoludp: User Datagram Protocoltcp: Transmission Control Protocol
--udpβ Trace using the UDP protocol.--tcpβ Trace using the TCP protocol.--icmpβ Trace using the ICMP protocol.-F,--addr-family=ADDR_FAMILYβ The address family[default: ipv4-then-ipv6]. Possible values:ipv4: IPv4 onlyipv6: IPv6 onlyipv6-then-ipv4: IPv6 with a fallback to IPv4ipv4-then-ipv6: IPv4 with a fallback to IPv6system: If the OS resolver is being used then use the first IP address returned, otherwise lookup IPv6 with a fallback to IPv4
-4,--ipv4β Use IPv4 only.-6,--ipv6β Use IPv6 only.-P,--target-port=TARGET_PORTβ The target port (TCP & UDP only)[default: 80].-S,--source-port=SOURCE_PORTβ The source port (TCP & UDP only)[default: auto].-A,--source-address=SOURCE_ADDRESSβ The source IP address[default: auto].-I,--interface=INTERFACEβ The network interface[default: auto].-i,--min-round-duration=MIN_ROUND_DURATIONβ The minimum duration of every round[default: 1s].-T,--max-round-duration=MAX_ROUND_DURATIONβ The maximum duration of every round[default: 1s].-g,--grace-duration=GRACE_DURATIONβ The period of time to wait for additional ICMP responses after the target has responded[default: 100ms].--initial-sequence=INITIAL_SEQUENCEβ The initial sequence number[default: 33434].-R,--multipath-strategy=MULTIPATH_STRATEGYβ The Equal-cost Multi-Path routing strategy (UDP only)[default: classic]. Possible values:classic: The src or dest port is used to store the sequence numberparis: The UDPchecksumfield is used to store the sequence numberdublin: The IPidentifierfield is used to store the sequence number
-U,--max-inflight=MAX_INFLIGHTβ The maximum number of in-flight ICMP echo requests[default: 24].-f,--first-ttl=FIRST_TTLβ The TTL to start from[default: 1].-t,--max-ttl=MAX_TTLβ The maximum number of TTL hops[default: 64].--packet-size=PACKET_SIZEβ The size of IP packet to send (IP header + ICMP header + payload)[default: 84].--payload-pattern=PAYLOAD_PATTERNβ The repeating pattern in the payload of the ICMP packet[default: 0].-Q,--tos=TOSβ The TOS (i.e. DSCP+ECN) IP header value (IPv4 only)[default: 0].-e,--icmp-extensionsβ Parse ICMP extensions.--read-timeout=READ_TIMEOUTβ The socket read timeout[default: 10ms].-r,--dns-resolve-method=DNS_RESOLVE_METHODβ How to perform DNS queries[default: system]. Possible values:system: Resolve using the OS resolverresolv: Resolve using the/etc/resolv.confDNS configurationgoogle: Resolve using the Google8.8.8.8DNS servicecloudflare: Resolve using the Cloudflare1.1.1.1DNS service
-y,--dns-resolve-allβ Trace to all IPs resolved from DNS lookup[default: false].--dns-timeout=DNS_TIMEOUTβ The maximum time to wait to perform DNS queries[default: 5s].--dns-ttl=DNS_TTLβ The time-to-live (TTL) of DNS entries[default: 300s].-z,--dns-lookup-as-infoβ Lookup autonomous system (AS) information during DNS queries[default: false].-s,--max-samples=MAX_SAMPLESβ The maximum number of samples to record per hop[default: 256].--max-flows=MAX_FLOWSβ The maximum number of flows to record[default: 64].-a,--tui-address-mode=TUI_ADDRESS_MODEβ How to render addresses[default: host]. Possible values:ip: Show IP address onlyhost: Show reverse-lookup DNS hostname onlyboth: Show both IP address and reverse-lookup DNS hostname
--tui-as-mode=TUI_AS_MODEβ How to render autonomous system (AS) information[default: asn]. Possible values:asn: Show the ASNprefix: Display the AS prefixcountry-code: Display the country coderegistry: Display the registry nameallocated: Display the allocated datename: Display the AS name
--tui-custom-columns=TUI_CUSTOM_COLUMNSβ Custom columns to be displayed in the TUI hops table[default: holsravbwdt].--tui-icmp-extension-mode=TUI_ICMP_EXTENSION_MODEβ How to render ICMP extensions[default: off]. Possible values:off: Do not showicmpextensionsmpls: Show MPLS label(s) onlyfull: Show fullicmpextension data for all known extensionsall: Show fullicmpextension data for all classes
--tui-geoip-mode=TUI_GEOIP_MODEβ How to render GeoIp information[default: short]. Possible values:off: Do not display GeoIp datashort: Show short formatlong: Show long formatlocation: Show latitude and Longitude format
-M,--tui-max-addrs=TUI_MAX_ADDRSβ The maximum number of addresses to show per hop[default: auto].--tui-preserve-screenβ Preserve the screen on exit[default: false].--tui-refresh-rate=TUI_REFRESH_RATEβ The TUI refresh rate[default: 100ms].--tui-privacy-max-ttl=TUI_PRIVACY_MAX_TTLβ The maximum ttl of hops which will be masked for privacy[default: none]. If set, the source IP address and hostname will also be hidden.--tui-locale=TUI_LOCALEβ The locale to use for the TUI[default: auto].--tui-timezone=TUI_TIMEZONEβ The timezone to use for the TUI[default: auto]. The timezone must be a valid IANA timezone identifier.--tui-theme-colors=TUI_THEME_COLORSβ The TUI theme colors[item=color,item=color,..].--print-tui-theme-itemsβ Print all TUI theme items and exit.--tui-key-bindings=TUI_KEY_BINDINGSβ The TUI key bindings[command=key,command=key,..].--print-tui-binding-commandsβ Print all TUI commands that can be bound and exit.-C,--report-cycles=REPORT_CYCLESβ The number of report cycles to run[default: 10].-G,--geoip-mmdb-file=GEOIP_MMDB_FILEβ The supported MaxMind or IPinfo GeoIp mmdb file.--generate=GENERATEβ Generate shell completion.[possible values: bash, elvish, fish, powershell, zsh].--generate-manβ Generate ROFF man page.--print-config-templateβ Print a template toml config file and exit.--print-localesβ Print all available TUI locales and exit.--log-format=LOG_FORMATβ The debug log format[default: pretty]. Possible values:compact: Display log data in a compact formatpretty: Display log data in a pretty formatjson: Display log data in a json formatchrome: Display log data in Chrome trace format
--log-filter=LOG_FILTERβ The debug log filter[default: trippy=debug].--log-span-events=LOG_SPAN_EVENTSβ The debug log format[default: off]. Possible values:off: Do not display event spansactive: Display enter and exit event spansfull: Display all event spans
-v,--verboseβ Enable verbose debug logging.-h,--helpβ Print help (see a summary with '-h').-V,--versionβ Print version.[TARGETS]β A space delimited list of hostnames and IPs to trace.
π VERSION π
v0.13.0 β iconic version behavior. π
π AUTHORS π
FujiApple <fujiapple852@gmail.com> β the author, and we love that for them. π«Ά
β¨ cute sign-off: the footer vibe is trip 0.13.0, so that's the source/version energy, bestie. ππ
π¦ where this page comes from
- arch rolling: trippy 0.13.0-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms