# lance0/ttl

Fast, modern traceroute with real-time TUI, per-hop stats, ASN/geo lookup, ECMP detection, and MPLS label parsing. A better mtr.

Repository: https://github.com/lance0/ttl
Canonical: https://ross.abutalabs.com/products/ttl
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: asn-lookup, cli, geolocation, icmp, latency, latency-test, mtr, network-visualization, networking, ratatui, rust, terminal, traceroute, tui
Last push: 2026-08-24T16:32:18+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 16
- inputs: {"age_days": 233, "days_push": 9, "days_rel": 9, "gap_med": 0.0, "n_releases_24m": 41}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1446, forks 91 (observed 2026-08-28T04:04:45.151651+00:00)

## What it is
ttl is a fast, modern traceroute and network diagnostic tool written in Rust with a real-time TUI, per-hop latency/loss/jitter statistics, and ASN/GeoIP/reverse-DNS enrichment. It extends classic traceroute/mtr with ECMP path enumeration, path MTU discovery, NAT detection, MPLS label parsing, and a Prometheus-exporting daemon mode.

## Use cases
- trace network paths with per-hop latency and packet loss stats
- diagnose why my connection is slow or dropping packets
- detect ECMP load balancing and enumerate parallel routes
- find the path MTU between two hosts
- look up which ASNs and IXs my traffic traverses
- continuously monitor route stability with alerts on path changes
- export traceroute metrics to Prometheus

## When to choose
- you want a modern, faster alternative to mtr with a rich TUI
- you need ECMP detection, MTU discovery, or NAT detection in one tool
- you want scriptable JSON/CSV output or headless Prometheus monitoring
- you need ASN, GeoIP, and PeeringDB IX enrichment during traces

## When to avoid
- you only need a one-shot simple traceroute with no stats
- you need a GUI-based network diagnostic tool
- you cannot grant raw socket / setcap privileges on the host

## Facets
- artifact type: cli-tool
- maturity: active
- function: networking, monitoring, terminal-ui, cli, analytics
- domain: networking, developer-tools, monitoring
- platform: windows, bsd, cli, rust
- tags: traceroute, mtr, icmp, asn-lookup, geolocation, ecmp, mpls, network-diagnostics, prometheus, tui, command-line, linux, macos, docker

## Member repositories
- lance0/ttl (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.151651+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:10.403779+00:00, confidence not recorded.
  - readme: https://github.com/lance0/ttl (fetched 2026-08-28T04:04:45.151651+00:00, sha 4bbe3a1eeb57)
  - registry_crates: https://crates.io/api/v1/crates/ttl (fetched 2026-08-29T11:45:56.169033+00:00, sha 93c99b1fbc02)
- Data as of 2026-08-30T08:39:29.467469+00:00.
