Settings

Theme

Traceroute

csvoss.scripts.mit.edu

130 points by evandrix 11 years ago · 46 comments

Reader

jakeway 11 years ago

A bit unrelated... but I find it interesting that the same person who programmed this (csvoss on github) is also the developer of two other projects trending on HN right now.

Python oneliner: https://news.ycombinator.com/item?id=10114969

Retroactive data structures: https://news.ycombinator.com/item?id=10119065

Coincidence? Or is this just a slow hour on HN and good time to get submissions on front page?

redthrowaway 11 years ago

Any reason why all CloudFlare connections bounce through TeliaSonera in Switzerland? It seems grossly inefficient to cross the Atlantic twice just to get from Massachusetts to California.

Also, MIT -> Facebook : MA, MI, Singapore, Ireland, CA?

How accurate is the data?

  • csvoss 11 years ago

    The data is as of March 2014, and therefore out of date -- I'm working on updating it right now. :)

    As I remember from when the data was fresh, sometimes you do get crazy hops across the Atlantic like that, though.

    • hhw 11 years ago

      Maxmind data is also often just wrong, updated or not. As a hosting provider with a number of IP ranges, we have to deal with submitting corrections to them, Google, ip2location, etc. all the time. Not sure why none of them seem to use very accurate methods to discern IP location.

      Since you're doing a traceroute anyhow, you'd be better off analyzing the transit hops, and specifically the city codes used in the reverse DNS entries.

    • beambot 11 years ago

      International hops make the traffic less illegally intercepted by domestic espionage organizations...?

    • darkk 11 years ago

      Do you verify geoip data using RTT to the hop and speed of light in optical fiber?

oldmantaiter 11 years ago

Slick. It also points out how inaccurate GeoIP is depending on which data source was used for that IP (eg. where the ISP is registered vs. where the endpoint may physically be).

t3ra 11 years ago

IP Lookups are incorrect

Ex : India.gov.in [from suggestions] is on 164.100.129.97 / Page traces to some IP in China (Hysterical)!

  • csvoss 11 years ago

    Yeah, the MaxMind data is as of March 2014 -- out of date. Sorry about that!

    • coderholic 11 years ago

      If you're interested in using the http://ipinfo.io API for this, so you don't have to worry about keeping your database up to date and you get additional details, let me know. I'd be happy to hook you up with a free unlimited plan specifically for this site.

      • csvoss 11 years ago

        Sweet, I'd be interested! Ping me with your contact information, and I can let you know once I've wired it up to use that.

      • solotronics 11 years ago

        It seems like your getting this info from ARIN? Do you happen to have any restrictions on this API? Thanks!

csvoss 11 years ago

Update: I've downloaded the GeoLite data from April 2015, replacing the old March 2014 data! You should now be seeing more accurate results. :)

foobarbecue 11 years ago

Why does 1.1.1.1 land you at google headquarters?

Whois says APNIC-LABS in Australia, but apparently this subnet is "routed briefly for passive testing".

bdcravens 11 years ago

Not very accurate. Using owner's address apparently: AWS servers in us-east-1 are being reported as Seattle, where Amazon is headquartered.

DINKDINK 11 years ago

I've always described this as a visual, rather than text-based, traceroute. The site might benefit from keyword searching if visual traceroute was included.

Prior art: http://www.monitis.com/traceroute/

evandrixOP 11 years ago

DEBUG = True error page when visiting http://csvoss.mit.edu/traceroute/request

@ http://i.imgur.com/ry9Voss.jpg

  • csvoss 11 years ago

    Fixed DEBUG to be False now -- thanks! I'll see if I can fix this 500, too. :)

Bedon292 11 years ago

Would it also be possible to add the times to each step? It would be interesting to compare the time vs reported distance. I suspect the times for some hops will be impossibly fast due to bad geo-ip lookups.

nodesocket 11 years ago

Results are not very accurate. For example, we are hosted in AWS us-west-1 (San Francisco), but because Amazon owns the IP it is routing to their HQ in Seattle Washington.

  • alexbilbie 11 years ago

    It does say on the site "Uses GeoLite data from MaxMind, March 2014."

    So not only is the Maxmind data well over a year out of date it's [citation needed] likely to be the free dataset which is only a subset of the Maxmind purchasable data

omginternets 11 years ago

I'm getting a 400

matthewbauer 11 years ago

Geo lookup for some IPs will resolve to "US" which resolves to that long/lat in the middle of Kansas in case anyone was confused.

wglass 11 years ago

Doesn't make sense. My AWS servers in Northern Viginia are being reported as being in Seattle area. And the route goes through London.

  • CamperBob2 11 years ago

    Agreed, most of the results I'm seeing don't make any sense at all. But IP geography has always been rather non-Euclidean.

    Pretty funny to see what happens with www.1and1.com (my hosting provider). Boston to Wichita to Philadelphia... via Switzerland?

A010 11 years ago

Tried with my VPS in Singapore but it failed.

Edit: It can't be serious, the packets bounced from MA to MI then ended at VA.

pwenzel 11 years ago

It's fun to see how short the distance is when using tracerouting Akamai-hosted domains.

fs111 11 years ago

reminds me of xtraceroute back in the days: http://www.tucows.com/preview/31913/Xtraceroute

elktea 11 years ago

It tries to look up IPv6 addresses as domain names, unfortunately.

resc1440 11 years ago

I can't zoom in far enough to see many of the hops :(

Snow_44 11 years ago

Very interesting and having a lot of fun..

evandrixOP 11 years ago

uTorrent offers a nice viz over a 3D globe

evandrixOP 11 years ago

any chance tracing to a malicious server via this can attack scripts.mit.edu?

  • geofft 11 years ago

    All I can think of is stuff like DNS cache poisoning from forcing lookups, which shouldn't be a threat these days (and there are infinite other ways to force the server to do DNS lookups). The purpose of scripts.mit.edu involves students and faculty running old versions of WordPress and writing custom PHP to learn the language, so the threat model very much assumes that malicious people have compromised at least one unprivileged account at any given time. Hostname lookups are a drop in the bucket compared to that.

wonjun 11 years ago

Cool!

RankingMember 11 years ago

Isn't this just like the visual traceroute from http://www.yougetsignal.com/tools/visual-tracert ?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection