Convert various geolocation formats to the MMDB (MaxMind GeoIP2 DB) format natively supported by Matomo.
sudo apt-get install cpanminuscpanm MaxMind::DB::Writercpanm IP::QQWrycpanm Text::CSV_XS
ip2location-piwik plugin of Matomo does not support Org and ISP display, use native
DBIP / GeoIPplugin to attach Org and ISP database.
- convert official csv from ip number to ip address:
$python ip2location-csv-converter.py -range -replace sample.csv sample-range.csv - convert csv to mmdb:
$perl ip2location-converter.pl sample-range.csv sample-range.mmdb - test mmdb:
$python test-mmdb.py
- ip2location to mmdb.
- qqwry to mmdb.