Skip to content

Conversation

@ddpbsd
Copy link
Member

@ddpbsd ddpbsd commented Jan 21, 2020

The former geoip databases are no longer maintained, but libmaxminddb is. So switch to this.

Currently the output is limited to the country iso code. I haven't tried very hard to get state/province information, but this can be added if it's desired (I don't see a lot of use in it personally, but I'm not opposed to adding it).

I've only tested with the GeoLite2-Country.mmdb database.
The <geoipdb> configuration setting has been re-used for this.
If the database file cannot be opened, an error is logged. Should it exit as well?

@ddpbsd ddpbsd added this to the v3.7 milestone Feb 5, 2020
@sempervictus
Copy link

They added uniquely identified downloads @ end of last year, any concern with tracking/privacy?

@ddpbsd
Copy link
Member Author

ddpbsd commented Mar 5, 2020

@sempervictus Not from me. It's up to the user to consider that.
https://db-ip.com/db/lite.php also has compatible databases (I haven't looked at them yet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants