News for hackers. Stuff that matters.
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by aluminussoma on Monday December 09, 2019 @11:37AM (#21743989)
I see that the underlying IP to Geo data is consolidated by MaxMind. Where does MaxMind get this data? I wish this data was open sourced.
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by chrismeller on Monday December 09, 2019 @11:41AM (#21744026)
That’s why MaxMind charges for more accurate data. It requires actual effort...
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by aluminussoma on Monday December 09, 2019 @12:33PM (#21744501)
Yes, which is the whole point of my question: how is this data compiled?

Just because it requires effort does not mean it can't be done in an open source way.

Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by k-godwin on Monday December 09, 2019 @01:18PM (#21744917)
1) Agreements with ISPs [most accurate]

2) IP Spidering via traceroutes / RIPE/etc data.

3) Agreements with third parties that have IP/Address mapping due to data supplied from users. [least accurate]

That'd be my guess anyway.

Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by NathanOsullivan on Tuesday December 10, 2019 @04:18PM (#21756969)
They also have a form on their site to submit corrections. Maxmind's db is so prevalent now, I suspect (indirect) users submit all the info they need nowadays.
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by jpalomaki on Monday December 09, 2019 @01:22PM (#21744958)
They are likely using various information, like addresses from RIPE etc.

But there's also a NSA patent on this topic, "Method for geolocating logical network addresses" (filed in 2000).

https://patents.google.com/patent/US6947978B2/en?oq=6%2c947%...

Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by mminer237 on Monday December 09, 2019 @01:50PM (#21745204)
Oddly enough, that patent apparently expired today?
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by guessmyname on Monday December 09, 2019 @03:09PM (#21745962)
> Oddly enough, that patent apparently expired today?

Not anymore, maybe they are reading HN as well :-)

    2023-09-15 - Adjusted expiration
  > 2019-12-09 - Application status is Expired - Fee Related
    2005-09-20 - Publication of US6947978B2
    2005-09-20 - Application granted
    2002-07-04 - Publication of US20020087666A1
    2000-12-29 - Assigned to GOVERNMENT OF THE UNITED STATES, AS REPRESENTED BY DIR. NAT. SECURITY AGENCY, THE NSA GENERAL COUNSEL (IP&T)
    2000-12-29 - Priority to US09/752,898
    2000-12-29 - Application filed by National Security Agency
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by mminer237 on Tuesday December 17, 2019 @10:55AM (#21814745)
Can't edit, but the last item is always just its status at the current day. My bad.
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by jedberg on Monday December 09, 2019 @05:12PM (#21747193)
Interesting, I thought government agencies couldn't get patents and trademarks because technically we own everything they do.
Re:Show HN: Tiny, fast, and free API to geolocate IP addresses by enz on Tuesday December 10, 2019 @10:00AM (#21753057)
Country-level data can be obtained from the 5 RIRs freely and via a standardized CSV-like document updated every day. I wrote an article about that, the first part shows how to get and parse that: https://www.ecalamia.com/blog/make-your-own-geoip-api/