SC_TRACEDIFF(1)
β¨ SC_TRACEDIFF(1) β¨
okay bestie, welcome to the sc_tracediff manual page π
(that's manual section 1, general commands, keep up π«Ά)
πΈ NAME πΈ
sc_tracediff β show you traceroute paths where the path has changed π
π¦ SYNOPSIS π¦
sc_tracediff [-a] [-m method] [-n] file1.warts file2.warts
π DESCRIPTION π
The sc_tracediff utility is literally the friend who notices when something's different. It displays pairs of traceroutes to a destination where the path has changed. You feed it two warts files as input, and it shows you paths where a hop differs by its address. No cap. π
The options are as follows, and yes we're going through all of them:
-aβ dump all traceroute pairs, regardless of whether they have changed. Like, even the ones that are being boring and staying the same. π-mmethod β specifies the method used to match pairs of traceroutes together. The vibes:- if
dstis specified, traceroutes are matched if the destination IP address of both traces are the same. - if
useridis specified, traceroutes are matched if the userid field of both traces are the same. - if
dstuseridis specified, traceroutes are matched if the destination IP address and userid fields are the same. - By default, the destination IP address is used. (so like,
dstis the default, periodt β¨)
- if
-nβ names should be reported instead of IP addresses, where possible. cute and readable, we love that for you π
sc_tracediff can be useful in network monitoring to identify when a forward IP path has changed. In this scenario, it is recommended that Paris traceroute is used with the same UDP source and destination ports for each execution of scamper so that only paths that have changed are identified β not merely alternate paths visible due to per-flow load-balancing. π§
By defaultscamperuses a source port based on the process ID, which will change with each execution ofscamper. so like... yeah, that's why you gotta pin it yourself, bestie π
π₯ EXAMPLES π₯
The command:
scamper -O warts -o file1.warts -c 'trace -P udp-paris -s 31337' -f list.txt
collects the forward IP paths towards a set of IP addresses found in list.txt using 31337 as the UDP source port value. π
If the above command is adjusted to subsequently collect file2.warts, then we can identify paths that have subsequently changed with the command:
sc_tracediff file1.warts file2.warts
and boom, there it is π
If Paris traceroute with ICMP probes is preferred, then the following invocation of scamper is appropriate:
scamper -O warts -o file1.warts -c 'trace -P icmp-paris -d 31337' -f list.txt
In this case, scamper uses 31337 as the ICMP checksum value in each probe. iconic, honestly π
π SEE ALSO π
scamper(1), π
B. Augustin, X. Cuvellier, B. Orgogozo, F. Viger, T. Friedman, M. Latapy, C. Magnien, and R. Teixeira, Avoiding traceroute anomalies with Paris traceroute, Proc. ACM/SIGCOMM Internet Measurement Conference 2006.
π AUTHOR π
sc_tracediff was written by Matthew Luckie <mjl@luckie.org.nz>. π«Ά
okay that's the whole page bestie, go forth and diff those paths β this Debian build is dated April 21, 2011 β yes it's giving vintage but she still ate π π 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
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- opensuse-leap 16.0: scamper 20250227-bp160.1.10 Β· GPL-2.0-only
- 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) 2011 University of Waikato
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms