Pantrace converts between traceroute formats, in the same way as Pandoc converts between document formats.
Each format needs to implement only two conversions: to and from the internal format.
atlas
: RIPE Atlas JSONL (read/write)flat
: JSONL with one document per reply (write-only)internal
: Pantrace internal format (read/write)iris
: Iris JSONL format (read/write)scamper-trace-warts
: Scamper traceroute in warts format (read/write)bash
cargo install pantrace && pantrace --help
bash
docker run ghcr.io/dioptra-io/pantrace:main --help
bash
nix run github:dioptra-io/pantrace -- --help
```bash
curl -L -o example.ndjson \ "https://atlas.ripe.net/api/v2/measurements/23119199/results/?start=1625097600&stop=1625788799&format=txt&probe_ids=6479"
cat example.ndjson | pantrace --standalone --from atlas --to scamper-trace-warts > example.warts
pantrace --standalone --from atlas --to scamper-trace-warts --input example.ndjson --output example.warts ```