logoalt Hacker News

VladVladikofftoday at 2:30 PM2 repliesview on HN

If I understood the post the author just takes the location of smallest ping as the winner. This seems like a very rudimentary approach. Why not do triangulation? If you take each ping time as a measurement of distance between two points, you should be able to ping from a random selection of IPs and from there calculate the location.


Replies

direwolf20today at 2:35 PM

Packets don't travel in straight lines.

show 2 replies
jimaektoday at 2:36 PM

I talk a little about it in the article, but the main goal was to build something simple that works as proof of concept.

This brute force approach works much better than I expected as long as you have enough probes and a bit of luck.

But of course there are much better and smarter approaches to this, no doubt!

show 1 reply