Hacker News Viewer

We have ipinfo at home or how to geolocate IPs in your CLI using latency

by jimaek on 1/31/2026, 9:30:05 AM

https://blog.globalping.io/we-have-ipinfo-at-home-or-how-to-geolocate-ips-in-your-cli-using-latency/

Comments

by: jimaek

This is a little project exploring the feasibility of using a service such as Globalping for geo location needs.<p>I had fun making it but please note that the current implementation is just a demo and far from a proper production tool.<p>If you really want to use it then for best possible results you need at least 500 probes per phase.<p>It could be optimized fairly easily but not without going over the anon user limit which I tried to avoid

1/31/2026, 10:25:54 AM


by: Havoc

Bit surprised this works. Latency variability is huge and sometimes quite disconnected from geo location. I recall talking to someone in NL and realised I&#x27;ve got better latency to NL content from the UK than he did. Presumably better peering etc.

1/31/2026, 11:34:54 AM


by: greyface-

How feasible would it be for the host under measurement to introduce additional artificial latency to ping responses, varying based on source IP, in order to spoof its measured location?

1/31/2026, 11:45:25 AM


by: lpapez

Amazing idea and execution, the sort of stuff I wish there was more of on HN.

1/31/2026, 12:44:17 PM


by: DenisDolya

Wow, it works !

1/31/2026, 12:36:01 PM