From owner-freebsd-net@FreeBSD.ORG Tue Feb 19 22:17: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 ED8D416A418 for ; Tue, 19 Feb 2008 22:17:24 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 73D6413C447 for ; Tue, 19 Feb 2008 22:17:24 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so792069nfb.33 for ; Tue, 19 Feb 2008 14:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; bh=aAL13yHj+YImr9tdxZz5H5AZqydTVu3IV0ws+RqT12c=; b=BvtUNI+xJthT0+0WBROQlXrIa1HfjUoeIyLj2YcodMbARvO+BZvphQxdHnDdEQNT64GjTgRdnIAKmwveBtHjYNwPW+rzQGNyIng6M2i6LP/4O1IwHXAv55+i9HU2kSE0h14warNGLhLdxQSSQA4DFhm2Ew/N8y6sS5DuPICbgsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer:sender; b=WQrdVIIxf1rE9QVU0uCz+BnNPI1QAITsqX/AKd54+YZ7vh0XmY8vLcz9t+0oSyIkFEuOX5rXKLV/wMzdeByM3OPj2k3x/Hwt7KjlHfA8CMZw2TmdfdE1vm8jPEcETQiSTzadiEsiEZp1765VnflC0i/r9nbFhVF3zCmWjAL2Bkk= Received: by 10.78.202.19 with SMTP id z19mr12468226huf.47.1203459442033; Tue, 19 Feb 2008 14:17:22 -0800 (PST) Received: from ?192.168.1.105? ( [83.132.36.233]) by mx.google.com with ESMTPS id c5sm1481005nfi.38.2008.02.19.14.17.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Feb 2008 14:17:21 -0800 (PST) Message-Id: <650763DB-B6D6-4533-AF89-8A8DF8205BA2@FreeBSD.org> From: Rui Paulo To: John Hay In-Reply-To: <20080218104116.GA56893@zibbi.meraka.csir.co.za> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 19 Feb 2008 22:13:34 +0000 References: <5C5B3E4E-AE10-449C-925C-C9AB681FB6C3@FreeBSD.org> <20080218104116.GA56893@zibbi.meraka.csir.co.za> X-Mailer: Apple Mail (2.919.2) Sender: Rui Paulo 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: Tue, 19 Feb 2008 22:17:25 -0000 On Feb 18, 2008, at 10:41 AM, John Hay wrote: > 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. I will try to do it after committing this patch. Regards. -- Rui Paulo