traceroute AS path patch
Rui Paulo
rpaulo at FreeBSD.org
Sun Feb 17 21:57:09 UTC 2008
Hi,
The attached patch ports a traceroute functionality from FreeBSD
called AS path.
The concept is simple. On each hop we query a whois server to find the
corresponding hop AS number.
I think it doesn't hurt if we have this functionality.
An example output:
traceroute to freebsd.org (69.147.83.40), 64 hops max, 72 byte packets
...
7 [AS6453] if-2-1.core1.PV9-Lisbon.teleglobe.net (195.219.187.21)
35.105 ms 34.008 ms 35.334 ms
8 [AS6453] 195.219.144.5 (195.219.144.5) 63.880 ms 60.448 ms
60.809 ms
9 [AS6453] 195.219.144.10 (195.219.144.10) 138.593 ms 193.709 ms
173.415 ms
10 [AS7199] if-2-0.core1.NJY-Newark.teleglobe.net (216.6.63.10)
133.912 ms 134.393 ms 144.071 ms
11 [AS9557] if-3-1.mcore3.NJY-Newark.teleglobe.net (216.6.57.1)
135.600 ms 144.979 ms 168.247 ms
12 [AS9557] if-12-0-0-741.core4.AEQ-Ashburn.teleglobe.net
(216.6.57.70) 180.346 ms 138.718 ms 138.927 ms
13 [AS6453] 64.86.85.38 (64.86.85.38) 142.745 ms 143.163 ms
143.358 ms
14 [AS26085] so-0-0-0.pat2.pao.yahoo.com (216.115.101.130) 252.417
ms 213.377 ms 212.859 ms
15 [AS26085] ge-0-1-0-p301.pat1.sjc.yahoo.com (216.115.106.147)
214.709 ms 213.198 ms 235.253 ms
16 [AS26085] g-1-0-0-p160.msr1.sp1.yahoo.com (216.115.107.61)
219.091 ms
[AS26085] g-0-0-0-p170.msr2.sp1.yahoo.com (216.115.107.81)
217.650 ms
[AS26085] g-1-0-0-p160.msr1.sp1.yahoo.com (216.115.107.61)
286.376 ms
17 [AS36752] ge-1-45.bas-b2.sp1.yahoo.com (209.131.32.49) 213.747 ms
[AS36752] ge-1-41.bas-b2.sp1.yahoo.com (209.131.32.33) 274.140 ms
[AS36752] ge-1-45.bas-b2.sp1.yahoo.com (209.131.32.49) 213.341 ms
18 [AS36752] freebsd.org (69.147.83.40) 214.386 ms 223.515 ms
212.548 ms
What do you think?
Regards.
--
Rui Paulo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: traceroute.diff
Type: application/octet-stream
Size: 13507 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20080217/eb4a2605/traceroute.obj
-------------- next part --------------
More information about the freebsd-net
mailing list