Was wondering if anyone got the astraceroute tool working on MAC? http://www.shrubbery.net/astraceroute/ Tried compiling as well as via Mac ports but no success. Does anyone knows any other alternate similar tool? Thanks. -- Anurag Bhatia anuragbhatia.com Linkedin <http://in.linkedin.com/in/anuragbhatia21> | Twitter <https://twitter.com/anurag_bhatia> Skype: anuragbhatia.com PGP Key Fingerprint: 3115 677D 2E94 B696 651B 870C C06D D524 245E 58E2
Are you trying to accomplish something the stock traceroute on OS X can't currently do? The traceroute that came on my Mac (10.9.5 as of last update) can look up the ASN right out of the box.
$ traceroute Version 1.4a12+Darwin Usage: traceroute [-adDeFInrSvx] [-A as_server] [-f first_ttl] [-g gateway] [-i iface] [-M first_ttl] [-m max_ttl] [-p port] [-P proto] [-q nqueries] [-s src_addr] [-t tos] [-w waittime] [-z pausemsecs] host [packetlen]
$ traceroute -a www.shrubbery.net traceroute to sea.shrubbery.net (129.250.47.99), 64 hops max, 52 byte packets 1 [AS0] 192.168.1.1 (192.168.1.1) 3.096 ms 2.282 ms 1.972 ms 2 [AS65534] 10.22.23.10 (10.22.23.10) 2.520 ms 2.516 ms 2.521 ms 3 [AS11427] rrcs-97-79-191-57.sw.biz.rr.com (97.79.191.57) 2.567 ms 3.346 ms 2.827 ms 4 [AS11427] 97.77.1.144 (97.77.1.144) 9.164 ms 9.079 ms 9.099 ms 5 [AS11427] tge0-8-0-1.grpvtx1102r.texas.rr.com (24.175.38.24) 10.252 ms 10.202 ms 12.026 ms 6 [AS11427] agg26.dllbtxlb02r.texas.rr.com (24.175.36.216) 11.589 ms 13.062 ms 11.802 ms 7 [AS11427] agg21.hstqtxl301r.texas.rr.com (24.175.49.8) 10.232 ms 9.047 ms 12.006 ms 8 [AS7843] 107.14.17.138 (107.14.17.138) 9.211 ms 9.390 ms 12.169 ms 9 [AS19548] ae-0-0.cr0.dfw10.tbone.rr.com (66.109.6.39) 14.574 ms 17.712 ms 19.103 ms 10 [AS7843] ae0.pr1.dfw10.tbone.rr.com (107.14.17.232) 9.344 ms [AS7843] 107.14.19.97 (107.14.19.97) 13.881 ms [AS7843] ae0.pr1.dfw10.tbone.rr.com (107.14.17.232) 8.811 ms 11 [AS2828] 207.86.210.125 (207.86.210.125) 14.502 ms 9.794 ms 9.757 ms 12 [AS2828] 207.88.14.182.ptr.us.xo.net (207.88.14.182) 27.368 ms 14.018 ms 14.497 ms 13 [AS2828] 207.88.14.189.ptr.us.xo.net (207.88.14.189) 17.069 ms 14.076 ms 30.312 ms 14 [AS2914] ae-6.r01.dllstx04.us.bb.gin.ntt.net (129.250.9.157) 10.825 ms 10.778 ms 10.300 ms 15 [AS2914] ae-1.r21.dllstx09.us.bb.gin.ntt.net (129.250.2.198) 10.550 ms 10.794 ms 13.712 ms 16 [AS2914] ae-4.r21.snjsca04.us.bb.gin.ntt.net (129.250.4.25) 55.323 ms 55.040 ms 57.121 ms 17 [AS2914] ae-3.r20.sttlwa01.us.bb.gin.ntt.net (129.250.3.125) 69.764 ms 69.824 ms 68.002 ms 18 [AS2914] ae-1.r05.sttlwa01.us.bb.gin.ntt.net (129.250.5.47) 67.978 ms 67.224 ms 65.670 ms 19 [AS2914] sea.shrubbery.net (129.250.47.99) 62.036 ms 61.302 ms 62.941 ms
On 10/10/14, 7:57 AM, "Anurag Bhatia" <me@anuragbhatia.com> wrote:
Was wondering if anyone got the astraceroute tool working on MAC?
https://urldefense.proofpoint.com/v1/url?u=http://www.shrubbery.net/astrac eroute/&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=7fly2PNWrE19T4IPOWDPwwjyVNmT Cx%2BLXA%2FHSA%2BizVc%3D%0A&m=Iam2x1KTiLt4zE2bDO0Ik81iE9yUGF0LC0SXENouMVs% 3D%0A&s=a831bad4738fbc517ef5eee7b2191f9d250169fb5210b85da62ca1e5f1f8c96e
Tried compiling as well as via Mac ports but no success.
Does anyone knows any other alternate similar tool?
Thanks.
--
Anurag Bhatia anuragbhatia.com
Linkedin <https://urldefense.proofpoint.com/v1/url?u=http://in.linkedin.com/in/anur agbhatia21&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=7fly2PNWrE19T4IPOWDPwwjyV NmTCx%2BLXA%2FHSA%2BizVc%3D%0A&m=Iam2x1KTiLt4zE2bDO0Ik81iE9yUGF0LC0SXENouM Vs%3D%0A&s=ea7520d15e592b8c87594191526a6cda8de60c0718d0a53c2353f9fa7ad5598 e> | Twitter <https://urldefense.proofpoint.com/v1/url?u=https://twitter.com/anurag_bha tia&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=7fly2PNWrE19T4IPOWDPwwjyVNmTCx%2 BLXA%2FHSA%2BizVc%3D%0A&m=Iam2x1KTiLt4zE2bDO0Ik81iE9yUGF0LC0SXENouMVs%3D%0 A&s=727bc643a95055830d1604a2574ca3e85f019566b8d74c95eded8d58a768e8f6> Skype: anuragbhatia.com
PGP Key Fingerprint: 3115 677D 2E94 B696 651B 870C C06D D524 245E 58E2
Dear Tim and Niels Surely default traceroute in MAC is there but the -a option isn't good. It picks data from RADB and not from actually visible prefix in global routing table. Hence wrongly registered RADB objects / old objects and more give weird output. E.g take example of trace to one of AS10029's IP's (the company I work for...) traceroute to 203.122.59.75 (203.122.59.75), 30 hops max, 60 byte packets 1 gw.giga-dns.com (91.194.90.1) [AS51167] 0.332 ms 0.348 ms 0.386 ms 2 host-93-104-204-33.customer.m-online.net (93.104.204.33) [AS8767] 0.376 ms 0.368 ms 0.358 ms 3 xe-2-2-1.r3.muc2.m-online.net (212.18.6.81) [AS8767] 0.748 ms xe-2-0-1.r3.muc2.m-online.net (212.18.6.83) [AS8767] 0.639 ms xe-2-2-1.r3.muc2.m-online.net (212.18.6.81) [AS8767] 0.731 ms 4 DEMUE1IB03.de.en.vodafone.com (80.81.202.17) [AS51531/AS6695] 4.268 ms 4.246 ms 4.238 ms 5 85.205.25.114 (85.205.25.114) [AS3209/AS34419] 35.070 ms 35.009 ms 35.038 ms 6 145.253.33.238 (145.253.33.238) [AS3211] 32.247 ms 31.996 ms 33.534 ms 7 182.19.109.27 (182.19.109.27) [*] 168.699 ms 168.764 ms 168.794 ms 8 182.19.15.57 (182.19.15.57) [AS55410] 175.411 ms 175.283 ms 176.044 ms 9 203.122.61.148.reverse.spectranet.in (203.122.61.148) [AS10029/AS7722] 173.005 ms 172.216 ms 172.204 ms 10 * * * 11 * * * 12 * * * Here I am getting 203.122.61.148.reverse.spectranet.in (203.122.61.148) [AS10029/AS7722] in 9th hop. Now prefix is announced by AS10029 only but it shows AS7722 as well because there's a route object in RADB from Rivernet AS7722 in 2006. route: 203.122.61.0/24 descr: Rivernet origin: AS7722 mnt-by: MAINT-AS7474 changed: noc@optus.net.au 20060120 source: RADB I wish to see origin ASN of a prefix which is why looking for that tool. Thanks. On Fri, Oct 10, 2014 at 7:21 PM, Niels Bakker <niels=nanog@bakker.net> wrote:
* me@anuragbhatia.com (Anurag Bhatia) [Fri 10 Oct 2014, 14:59 CEST]:
Was wondering if anyone got the astraceroute tool working on MAC?
[..]
Does anyone knows any other alternate similar tool?
Why bother when the supplied traceroute supports -a already?
-- Niels.
--
-- Anurag Bhatia anuragbhatia.com Linkedin <http://in.linkedin.com/in/anuragbhatia21> | Twitter <https://twitter.com/anurag_bhatia> Skype: anuragbhatia.com PGP Key Fingerprint: 3115 677D 2E94 B696 651B 870C C06D D524 245E 58E2
Hi Anurag Here is sample output from using the mtr command: the -z flag shows AS Numbers however, I am not sure where they come from or are looked up. mtr can be downloaded : https://code.google.com/p/rudix/downloads/detail?name=mtr-0.82-0.pkg mtr -4z google.com x61 (0.0.0.0) Fri Oct 10 17:24:21 2014 Keys: Help Display mode Restart statistics Order of fields quit Packets Pings Host Loss% Snt Last Avg Best Wrst StDev 1. AS??? 10.10.10.10 0.0% 4 0.3 0.4 0.3 0.6 0.0 2. AS??? 7.207.122.129 0.0% 4 8.3 7.1 6.5 8.3 0.6 3. AS812 209.148.245.53 0.0% 4 8.8 10.0 8.8 11.1 1.0 4. AS812 24.153.5.233 0.0% 3 8.8 10.2 8.8 11.5 1.0 5. AS5645 ae0_2140-bdr04-tor.teksavvy.com 0.0% 3 12.6 12.1 10.2 13.6 1.6 6. AS15169 72.14.212.134 0.0% 3 10.4 9.7 8.2 10.4 1.0 7. AS15169 216.239.47.114 0.0% 3 10.1 9.9 9.5 10.2 0.0 8. AS15169 209.85.250.207 0.0% 3 9.5 11.0 9.5 12.9 1.6 9. AS15169 yyz08s13-in-f2.1e100.net 0.0% 3 9.7 9.8 9.2 10.3 0.0 And to your IP: mtr -z 203.122.59.75 x61 (0.0.0.0) Fri Oct 10 17:26:32 2014 Keys: Help Display mode Restart statistics Order of fields quit Packets Pings Host Loss% Snt Last Avg Best Wrst StDev 1. AS??? 10.10.10.10 0.0% 6 0.3 0.3 0.2 0.6 0.0 2. AS??? 7.207.122.129 0.0% 6 8.2 9.0 7.5 14.4 2.6 3. AS812 209.148.245.53 0.0% 6 14.0 14.6 10.7 21.0 3.7 4. AS812 24.153.5.233 0.0% 6 7.9 9.5 7.9 10.5 1.0 5. AS5645 ae0_2140-bdr04-tor.teksavvy.com 0.0% 6 9.8 9.5 8.0 10.2 0.6 6. AS6453 ix-0-0-2-0.tcore1.tnk-toronto.as6453.net 0.0% 6 9.4 11.2 9.0 18.8 3.7 7. AS6453 if-5-0-0-5.core4.tnk-toronto.as6453.net 0.0% 6 11.2 11.1 9.7 15.0 1.9 8. AS6453 if-2-3-2-0.tcore1.ct8-chicago.as6453.net 0.0% 6 118.5 118.7 117.2 122.0 1.8 9. AS6453 if-12-6.tcore2.nyy-new-york.as6453.net 80.0% 6 118.8 118.8 118.8 118.8 0.0 10. AS6453 if-20-2.tcore2.l78-london.as6453.net 0.0% 6 120.2 116.6 112.9 120.2 3.2 11. AS6453 80.231.131.66 0.0% 6 227.5 228.4 227.5 229.5 0.7 12. AS??? 172.29.252.34 0.0% 6 279.2 278.8 277.9 279.2 0.0 13. AS4755 14.141.116.30.static-delhi.vsnl.net.in 0.0% 5 246.0 244.6 243.6 246.0 0.7 14. AS10029 203.122.61.148.reverse.spectranet.in 0.0% 5 246.1 247.7 246.1 249.8 1.5 15. ??? 16. ??? 17. AS10029 jane.spectranet.in 0.0% 5 247.7 249.1 246.5 257.3 4.6 Mansoor On Fri, Oct 10, 2014 at 4:45 PM, Anurag Bhatia <me@anuragbhatia.com> wrote:
Dear Tim and Niels
Surely default traceroute in MAC is there but the -a option isn't good. It picks data from RADB and not from actually visible prefix in global routing table. Hence wrongly registered RADB objects / old objects and more give weird output.
E.g take example of trace to one of AS10029's IP's (the company I work for...)
traceroute to 203.122.59.75 (203.122.59.75), 30 hops max, 60 byte packets 1 gw.giga-dns.com (91.194.90.1) [AS51167] 0.332 ms 0.348 ms 0.386 ms 2 host-93-104-204-33.customer.m-online.net (93.104.204.33) [AS8767] 0.376 ms 0.368 ms 0.358 ms 3 xe-2-2-1.r3.muc2.m-online.net (212.18.6.81) [AS8767] 0.748 ms xe-2-0-1.r3.muc2.m-online.net (212.18.6.83) [AS8767] 0.639 ms xe-2-2-1.r3.muc2.m-online.net (212.18.6.81) [AS8767] 0.731 ms 4 DEMUE1IB03.de.en.vodafone.com (80.81.202.17) [AS51531/AS6695] 4.268 ms 4.246 ms 4.238 ms 5 85.205.25.114 (85.205.25.114) [AS3209/AS34419] 35.070 ms 35.009 ms 35.038 ms 6 145.253.33.238 (145.253.33.238) [AS3211] 32.247 ms 31.996 ms 33.534 ms 7 182.19.109.27 (182.19.109.27) [*] 168.699 ms 168.764 ms 168.794 ms 8 182.19.15.57 (182.19.15.57) [AS55410] 175.411 ms 175.283 ms 176.044 ms 9 203.122.61.148.reverse.spectranet.in (203.122.61.148) [AS10029/AS7722] 173.005 ms 172.216 ms 172.204 ms 10 * * * 11 * * * 12 * * *
Here I am getting 203.122.61.148.reverse.spectranet.in (203.122.61.148) [AS10029/AS7722] in 9th hop. Now prefix is announced by AS10029 only but it shows AS7722 as well because there's a route object in RADB from Rivernet AS7722 in 2006.
route: 203.122.61.0/24 descr: Rivernet origin: AS7722 mnt-by: MAINT-AS7474 changed: noc@optus.net.au 20060120 source: RADB
I wish to see origin ASN of a prefix which is why looking for that tool.
Thanks.
On Fri, Oct 10, 2014 at 7:21 PM, Niels Bakker <niels=nanog@bakker.net> wrote:
* me@anuragbhatia.com (Anurag Bhatia) [Fri 10 Oct 2014, 14:59 CEST]:
Was wondering if anyone got the astraceroute tool working on MAC?
[..]
Does anyone knows any other alternate similar tool?
Why bother when the supplied traceroute supports -a already?
-- Niels.
--
--
Anurag Bhatia anuragbhatia.com
Linkedin <http://in.linkedin.com/in/anuragbhatia21> | Twitter <https://twitter.com/anurag_bhatia> Skype: anuragbhatia.com
PGP Key Fingerprint: 3115 677D 2E94 B696 651B 870C C06D D524 245E 58E2
On 10/10/2014 22:30, Mansoor Nathani wrote:
Hi Anurag
Here is sample output from using the mtr command: the -z flag shows AS Numbers however, I am not sure where they come from or are looked up.
It appears to be using the Team Cymru service - http://www.team-cymru.org/Services/ip-to-asn.html
mtr can be downloaded : https://code.google.com/p/rudix/downloads/detail?name=mtr-0.82-0.pkg
... or as part of MacPorts Regards, James
participants (5)
-
Anurag Bhatia
-
James Aldridge
-
Mansoor Nathani
-
Niels Bakker
-
Tim Schuh