Project

General

Profile

Actions

Task #7767

open

Consider switch to opensource GeoIP data

Added by Pavel Kácha 5 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
07/25/2024
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

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.

Actions #1

Updated by Rajmund Hruška 5 months 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.

Actions #2

Updated by Rajmund Hruška 5 months ago

  • Status changed from Feedback to In Progress
  • Target version changed from Backlog to 2.13.2
Actions #3

Updated by Pavel Kácha 4 months 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?)

Actions #4

Updated by Rajmund Hruška 3 months ago

  • Target version changed from 2.13.2 to 2.14
Actions #5

Updated by Rajmund Hruška about 2 months ago

  • Target version changed from 2.14 to Backlog
Actions

Also available in: Atom PDF