6/10/2023 0 Comments Ip2location vs maxmind![]() The IP geolocation API allows developers to locate the IP addresses and IP data of their website visitors and users as well as those addresses contained in their network logs. I still hope the maintainers of this module will update the module to support the db-ip database. Best For converting address to a Lat/Lon. In the last smart_ip.module (7.x-2.54) I changed only line #36 fromĭefine('SMART_IP_MAXMIND_GEOIP2_FILENAME_LITE_CITY', 'GeoLite2-City.mmdb') ĭefine('SMART_IP_MAXMIND_GEOIP2_FILENAME_LITE_CITY', 'DBIP-City.mmdb') Īs far as I know it is possible to download the db-ip database by yourself. I didn't try update the smart_ip code to dowload the db-ip database, so I can't help with that. I made it simple for us: each month I copy the database from our Matomo install to the smart_ip.module database location in a cron job. The free db-ip Geo database is interface compatible (with some extra en less info read more: ) with the free Maxmind database. Matomo switched from Maxmind GeoIP database to DB-IP. We are using Matomo (a local web analytics platform like Google Analytics without the privacy concerns). ![]() For Drupal 6 and 7 only), MaxMind GeoIP2 binary database, MaxMind's Apache module mod_geoip, IP2Location binary database, web service, X-GeoIP-Country: XX header (thanks to jp.stacey) and Cloudflare IP Geolocation. There's a free plan with commercial versions segmented by available features. Its geolocation capabilities include accuracy radius information to provide a confidence level. Ten data source options available: local database with data from parsed MaxMind CSV (For Drupal 6 and 7 only), paid MaxMind GeoIP Legacy Web Services (For Drupal 6 and 7 only), paid MaxMind GeoIP2 Precision Web Services, MaxMind GeoIP Legacy binary file database (thanks to jbulcher. MaxMind's GeoIP2 Precision Services API is available in a wide range of different programming languages including. I reckon as a first step we could temporarily host the latest version of the DB on : fopen(): failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in smart_ip_maxmind_bin_db_update() (line 461 of /srv/bindings/d065de6179274220a96abb358e1be113/code/sites/all/modules/smart_ip/includes/smart_ip.utility.inc).īut according to the module page we have ten different options for GeoIP databases? What they don't mention: They can't relicense the existing files, so we can continue to distribute the last database before the change (even though it will become out of date and distributing it might be a challenge) For existing Matomo users it will continue to work, but will get out of data. The normal GeoIP setup will stop working for new users in a week. They reason that they need to collect the user data of all of their users to comply to privacy laws (especially the new Californian one). This end-user license agreement is not even available yet, but they are estimating they will publish it on December 23. One can't simply download the free GeoIP databases anymore, instead one has to register an accountīut they also use this change to sneakily change the license of the database from the Creative Commons Attribution-ShareAlike to their own end-user license agreement ![]() This is valid from Decemeven though it was only announced two days ago (and that during the season where most developers are on holidays)
0 Comments
Leave a Reply. |