-
-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maxmind analyzer adjustment #2162
Comments
it would also make sense to move from the actual library to the official one supported by maxmind:https://pypi.org/project/geoip2/ |
Hi @mlodic I wanted to confirm that this newer directly download method require HTTP Basic Authentication which is different that the old method. So, my approach was to use requests module in python to get the directly download working, please tell me if I am wrong. here I created a repl for the same
|
yeah that can work but I would maybe opt to integrate their library to be sure that these methods won't change again under our nose if possible. It's easier for maintainability I think |
Yes, I was looking into their library, currently reading the documentation and finding a way to integrate it with the code. If it work, it will be definitely better. |
I have noticed that the new method requires an 'account_id' in addition to the 'license_key', but I am uncertain about how to obtain the 'account_id'. |
hey there! this is christopher luna, i'm the product manager at MaxMind who handles GeoIP stuff. just wanted to chime in to let y'all know that existing integration methods will still work to download databases. even though we have new endpoints and examples in our developer documentation, i don't think it's necessary to change the endpoint you're currently using. are you updating your method because you're concerned about the new r2 presigned URLs that we're redirecting to? |
hey @christophermluna thanks for helping. Quite frankly the integration that we have in IntelOwl with Maxmind is quite old and it could reuse a refactor anyway. That was the main reason. I did not find any issue in production environments yet. |
@error9098x I noticed now that the library provides access to the web services that are limited to country and city db as you mentioned. Because of this I think we could just download the databases and keep it locally like we are still doing and just add the ASN database and update the endpoints with the new ones. |
@mlodic sure thing! if y'all run into any issues or questions, i'm happy to help. just want to let you know that if changing the endpoint creates downstream issues for your users there would be no need to do so. the most recent changes around download links are:
please do feel free to ping me if y'all have any questions or confusion |
really appreciated the clarification!
sure! :) |
Sure, just to clarify changing the existing endpoint requires account_id as an additional parameter.
|
solved by #2282 |
WE need to add the download of the ASN database too. Right now we are only downloading the City and the Country DB.
See https://dev.maxmind.com/geoip/geolite2-free-geolocation-data for more info
Plus, we should change the old URLs that we are using to download the DBs. Now there is a easier way to download them:

see: https://dev.maxmind.com/geoip/updating-databases#directly-downloading-databases
Info about these updates: https://support.maxmind.com/hc/en-us/articles/4408216129947-Download-and-Update-Databases
Screenshot from the user page:
The text was updated successfully, but these errors were encountered: