LinuxCommandLibrary

scamper

Internet measurement tool for traceroute and probing

TLDR

Traceroute
$ scamper -c "trace" -i [target]
copy
Ping
$ scamper -c "ping" -i [target]
copy
Multiple targets from file
$ scamper -c "trace" -f [targets.txt]
copy
Output to file
$ scamper -c "trace" -o [output.warts] -i [target]
copy
Set probing rate
$ scamper -c "trace" -p [100] -i [target]
copy
DNS lookup
$ scamper -c "host" -i [example.com]
copy
Dealias (alias resolution)
$ scamper -c "dealias" -i [ip1],[ip2]
copy

SYNOPSIS

scamper [-c command] [-i target] [-f file] [-o output] [options]

DESCRIPTION

scamper is a network measurement tool designed for large-scale Internet research. It supports multiple probing techniques including traceroute, ping, DNS lookups, alias resolution, and load-balanced path detection, running them efficiently against many targets with configurable parallelism and rate limiting.
Results are stored in the warts binary format, which captures rich metadata including precise timing, ICMP responses, and measurement parameters. Companion tools (scwarts2json, scwarts2csv, etc.) convert warts data into common formats for analysis. Rate limiting controls prevent overwhelming target networks while maintaining measurement throughput.

PARAMETERS

-c COMMAND

Measurement command.
-i TARGET
Target address.
-f FILE
Target file.
-o FILE
Output file.
-p RATE
Packets per second.
-M MONITORNAME
Monitor name.
-l LISTID
List ID.

COMMANDS

trace - Traceroute
ping - ICMP ping
host - DNS lookup
dealias - Alias resolution
tracelb - Load-balanced traceroute
sting - NAT detection

CAVEATS

Requires raw socket access. High-rate probing may cause issues. Research-oriented tool.

HISTORY

scamper was developed by Matthew Luckie for Internet measurement research. It's used by researchers studying network topology and performance.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard