Ping Times and Location/Distance – Are They Related?

pingtcptraceroutewan

Suppose I want to determine if an IP is located in my country, without a third-party servvice. Could I estimate that to a certain degree by measuring ping times? Or is it better to look at the number of hops in the trace route? Or something else?

Best Answer

Not really.

Yes there is certainly a correlation between ping time and distance. However there are many factors other than distance that can lead to a high ping. Congestion, crappy routing, Satellite links etc.

So attempting to use ping time as a geoblocking measure is likely to have an unacceptably high false positive rate.