From owner-freebsd-net@FreeBSD.ORG Mon Feb 18 10:41:24 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F203116A41A; Mon, 18 Feb 2008 10:41:24 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8F1A313C43E; Mon, 18 Feb 2008 10:41:22 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 48A3033C94; Mon, 18 Feb 2008 12:41:16 +0200 (SAST) Date: Mon, 18 Feb 2008 12:41:16 +0200 From: John Hay To: Rui Paulo Message-ID: <20080218104116.GA56893@zibbi.meraka.csir.co.za> References: <5C5B3E4E-AE10-449C-925C-C9AB681FB6C3@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5C5B3E4E-AE10-449C-925C-C9AB681FB6C3@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: traceroute AS path patch X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 10:41:25 -0000 Hi Rui, On Sun, Feb 17, 2008 at 09:30:44PM +0000, Rui Paulo wrote: > 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? Would it be difficult to add it to traceroute6 too? It would be great if we can keep features in sync. John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org