Task #7767
openConsider switch to opensource GeoIP data
0%
Description
Computer Incident Response Center in Luxembourg made available updated GeoIP dataset, generated from BGP AS: https://data.public.lu/en/datasets/geo-open-ip-address-geolocation-per-country-in-mmdb-format/
We could hammer together download/update script (probably from https://cra.circl.lu/opendata/geo-open/mmdb-country-asn/latest.mmdb), possibly leveraging If-Modified-Since (AFAIK wget default), and get rid of Maxmind account altogether.
Updated by Rajmund Hruška about 1 month ago
- Status changed from New to Feedback
- Assignee set to Rajmund Hruška
The replace is not just as easy as drop-in. We use 3 databases from MaxMind - country, city and ASN. Geo Open offers effectively only one database, where country and ASN are present in one file. Also a different reader (which is from MaxMind) would have to be implemented. And on top of that, Geo Open database offers less information.
So I don't think it is worth it to switch to a different database.
Updated by Rajmund Hruška about 1 month ago
- Status changed from Feedback to In Progress
- Target version changed from Backlog to 2.13.2
Updated by Pavel Kácha 15 days ago
After discussion: It still makes sense – at least for developers, CI/CD pipeline, etc. Also, we could do some rudimentary check that the db is valid (on some stable harmless IPs, RFC 5737 for example?)