Scamper is designed to actively probe destinations in the Internet in parallel (at a specified packets-per-second rate) so that bulk data can be collected in a timely fashion. Scamper's native output file format is called warts: a warts file contains substantial meta data surrounding each individual measurement conducted, as well as substantial detail of responses received. The measurements conducted can range from simple to complex. An example of a simple measurement is where a single measurement method (e.g. traceroute) is used on a list of IP addresses to conduct a bulk measurement. A more complex measurement might be where the outcome of a previous test influences what happens next: for example, for each hop in a traceroute path, infer the address of the outgoing interface for the previous hop. Complex measurements are conducted by connecting to a running scamper process with a driver program which contains the logic.
The current snapshot of scamper's source code is cvs-20140530. Scamper should compile and run under FreeBSD, OpenBSD, NetBSD, Linux, MacOS X, Solaris, Windows, and DragonFly. Not all of scamper will run on all systems: for example, the sting and tbit modules currently require IPFW, which is found on FreeBSD and MacOS X. All releases of scamper are licensed under the GPL v2.
./configure make make installScamper is available in FreeBSD ports, NetBSD pkgsrc, OpenBSD ports, and in Debian/Ubuntu packages. The FreeBSD, NetBSD, and OpenBSD packages should be up to date with the latest version of scamper.
usage: scamper [-?Dv] [-c command] [-p pps] [-w window] [-M monitorname] [-l listname] [-L listid] [-C cycleid] [-o outfile] [-O options] [-F firewall] [-e pidfile] [-d debugfile] [-i IPs | -I cmds | -f file | -P port | -U unix-dom] -? give an overview of the usage of scamper -c command string (default: trace) -C cycle id -d write debugging information to the specified file -D start as a daemon listening for commands on a port -e write process ID to specified file -f list of files provided on the command line -F use the system firewall to install rules as necessary -i list of IP addresses provided on the command line -I list of scamper commands provided on the command line -l name to assign to default list -L list id for default list -M specify the canonical name of the monitor -o specify the file to write output to -O specify options [warts | text | json | outcopy | tsps | dlts | rawtcp | debugfileappend | select | kqueue | planetlab] -p number of packets per second to send (1 <= pps <= 1000) -P port for control socket on the loopback interface -U name of control socket in the file system -v output the version of scamper this binary is -w limit the window of actively probing tasks
The paper Scamper: a Scalable and Extensible Packet Prober for Active Measurement of the Internet describes scamper's motivation and architecture. The cite for the paper is:
M. Luckie. Scamper: a Scalable and Extensible Packet Prober for Active Measurement of the Internet.Most of scamper is documented in man pages included in the source code package. PDF files of these man pages are:
Proceedings of the 10th ACM SIGCOMM conference on Internet measurement (IMC), Melbourne, Australia, 1-3 Nov 2010, p. 239-245.
- scamper: main data collection program.
- sc_ally: driver for Ally implementation.
- sc_analysis_dump: convert scamper traces to something easily parsed with perl.
- sc_attach: connect to scamper daemon and execute series of commands, collecting the results in a warts file.
- sc_ipiddump: utility to dump IP-ID values embedded in ping and dealias objects in warts files.
- sc_speedtrap: scamper driver to resolve aliases for a set of IPv6 interfaces.
- sc_tracediff: display traceroute paths that have changed.
- sc_warts2json: print a JSON object representing each warts object in a file.
- sc_warts2pcap: generate pcap files from tbit and sting data.
- sc_warts2text: generate simple text for human parsing.
- sc_wartscat: concatenate warts files.
- sc_wartsdump: detailed dump of scamper data that was collected in warts format.
- libscamperfile.3: documentation on libscamperfile, a library to read and write warts files, as well as read CAIDA's ARTS files.
- warts.5: documentation on the internal format of a warts file.
If you would like to receive notifications of future releases of scamper, you may subscribe to the receive only mailing list scamper-announce by filling out the scamper-announce mailman form.
Here is a list of research done by the author using scamper.
Speedtrap: Internet-scale IPv6 Alias Resolution
M. Luckie, R. Beverly, W. Brinkmeyer, and k claffy
Proceedings of the 13th ACM SIGCOMM conference on Internet measurement (IMC), October 2013.
Measuring the Deployment of IPv6: Topology, Routing and Performance
A. Dhamdhere, M. Luckie, B. Huffaker, k.c. claffy, A. Elmokashfi, E. Aben
Proceedings of the 12th ACM SIGCOMM conference on Internet measurement (IMC), November 2012.
Revealing MPLS tunnels obscured from traceroute
B. Donnet, M. Luckie, P. Merindol, J-J Pansiot
ACM SIGCOMM Computer Communication Review, 42 (2), pp. 87-93, April 2012.
Measured Impact of Crooked Traceroute
M. Luckie, A. Dhamdhere, k.c. claffy, D. Murrell
ACM SIGCOMM Computer Communication Review, 41 (1), pp. 14-21, January 2011.
Measuring Path MTU Discovery Behaviour
M. Luckie and B. Stasiewicz
Proceedings of the 10th ACM SIGCOMM conference on Internet measurement (IMC), Melbourne, Australia, pp. 102-108, November 2010
Traceroute probe method and forward IP path inference
M. Luckie, Y. Hyun, and B. Huffaker
Proceedings of the 8th ACM SIGCOMM conference on Internet measurement (IMC), Vouliagmeni, Greece, pp. 311-324, October 2008
Inferring and Debugging Path MTU Discovery Failures
M. Luckie, K. Cho, and B. Owens
Proceedings of the 5th ACM SIGCOMM Internet Measurement Conference (IMC), pp. 193-198, October 2005
Identifying IPv6 Network Problems in the Dual-Stack World
K. Cho, M. Luckie, and B. Huffaker
Proceedings of ACM/SIGCOMM Network Troubleshooting Workshop 2004, pp. 283-288, August 2004
A third-party library written by Young Hyun at CAIDA for reading warts files is available at RubyForge.
The development of scamper was funded by the WIDE Project in association with CAIDA for the 12 month period ending April 2005.