SC_SPEEDTRAP(1)
π°οΈ NAME π°οΈ
sc_speedtrap β the scamper driver bestie that resolves aliases for a whole set of IPv6 interfaces β¨
π SYNOPSIS π
sc_speedtrap [-I] [-a addressfile] [-A aliasfile] [-l logfile]
[-o outfile] [-p port] [-s stop] [-S skipfile]
[-U unix-socket]
sc_speedtrap [-d dump] [file ...]
π DESCRIPTION π
okay so. sc_speedtrap is the utility that lets you connect to a scamper(1) instance that's already running, and use it to collect data so you can do alias resolution on a set of IPv6 addresses using the "speedtrap" technique. no cap.
Here's the vibe: sc_speedtrap induces each address to send fragmented ICMP echo replies, and the whole goal of that is to get an incrementing Identifier (ID) field in the fragmentation header. Because if two addresses are actually aliases, they'll come back with ICMP echo replies where the ID field is a monotonically increasing value β and the reason is that the ID field is implemented as a counter shared amongst all interfaces. π
sc_speedtrap implements a scalable algorithm to quickly figure out which addresses are aliases. if you want the full algorithm lore, it's down in the "see also" section, bestie. π
The supported options to sc_speedtrap are as follows:
β¨ OPTIONS β¨
-aaddressfile β names the input file that's a sequence of IPv6 addresses to resolve for aliases, one address per line.-Aaliasfile β names an output file that will receive pairs of aliases, one address-pair per line.-ddump β names the number identifying which analysis task to conduct. valid dump numbers are 1-3. check the examples section for what each one does.-Iβ says that the addressfile contains only interfaces known to send fragmentation headers containing incrementing values. iykyk.-llogfile β names a file to log output fromsc_speedtrapthat gets generated at run time.-ooutfile β names the output file to be written. the output file will use the warts format.-pport β names the port on the local host where scamper(1) is accepting control socket connections.-sstop β names the step at whichsc_speedtrapshould halt. the available steps are"classify","descend","overlap","descend2","candidates", and"ally".-Sskipfile β names an input file containing known aliases that do not need to be resolved, one address-pair per line.-Uunix-socket β names a unix domain socket where scamper(1) is accepting control socket connections.
πΈ EXAMPLES πΈ
Say you've got a set of IPv6 addresses chillin' in a file named addressfile.txt, and a scamper process listening on port 31337 that's configured to probe at 30 packets per second, started like this:
scamper -P 31337 -p 30
then this next command will resolve the addresses for aliases, store the raw measurements in outfile1.warts, and record the interface-pairs that are aliases in aliases.txt:
sc_speedtrap -p 31337 -a addressfile.txt -o outfile1.warts -A
aliases.txt
The next example is lowkey so useful when you're inferring aliases from multiple vantage points. Given the output of aliases.txt from a previous measurement, the following will resolve the addressfile for aliases, skip the ones already in aliases.txt, and append the new aliases to aliases.txt:
sc_speedtrap -p 31337 -a addressfile.txt -o outfile2.warts -A
aliases.txt -S aliases.txt
To get a transitive closure of routers from an input warts file:
sc_speedtrap -d 1 outfile1.warts
To get a list of the interfaces probed and their IPID behaviour:
sc_speedtrap -d 2 outfile1.warts
To get statistics of how many probes are sent in each stage, and how long the stage takes:
sc_speedtrap -d 3 outfile1.warts
π SEE ALSO π
M. Luckie, R. Beverly, W. Brinkmeyer, and k. claffy, Speedtrap: Internet-scale IPv6 Alias Resolution, Proc. ACM/SIGCOMM Internet Measurement Conference 2013. π
scamper(1), sc_ally(1), sc_ipiddump(1), sc_wartsdump(1), sc_warts2text(1), sc_warts2json(1),
π«Ά AUTHORS π«Ά
sc_speedtrap was written by Matthew Luckie <mjl@luckie.org.nz>. iconic honestly π
this Debian edition dropped on August 18, 2013 β yeah she's an elder but she still ate, periodt. go resolve some aliases bestie, ily, bye π¦β¨π
π¦ where this page comes from
- debian bookworm: scamper 20211212-1.1 Β· GPL-2.0-or-later
- debian trixie: scamper 20211212-1.2+b1 Β· GPL-2.0-or-later
- ubuntu jammy: scamper 20191102-1 Β· GPL-2.0-or-later
- ubuntu noble: scamper 20211212-1.2build1 Β· GPL-2.0-or-later
- ubuntu questing: scamper 20211212-1.2build1
- ubuntu resolute: scamper 20211212-1.2build2 Β· GPL-2.0-or-later
- ubuntu stonking: scamper 20211212-1.2build2 Β· GPL-2.0-or-later
- Copyright (c) 2013 The Regents of the University of California
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms