winsiderss / systeminformer

A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware. Brought to you by Winsider Seminars & Solutions, Inc. @ http://www.windows-internals.com
https://systeminformer.sourceforge.io
MIT License
10.53k stars 1.36k forks source link

geoip updates #2069

Open marcobelmonte opened 1 month ago

marcobelmonte commented 1 month ago

Brief description of your issue

When I try and enter a valid and newly generated maxmind geoip license key and hit update I get an access denied error. The same key can be used to download updates from other programs.

Steps to reproduce (optional)

image

Expected behavior (optional)

Expecting the geoip database get downloaded so it is not using the free database but the latest commerical one provided at cost by Maxmind.

Actual behavior (optional)

No response

Environment (optional)

No response

dmex commented 1 month ago

Expecting the geoip database get downloaded so it is not using the free database but the latest commerical one provided at cost by Maxmind

Looks like the API was updated and now requires a signed URL specific to each license and Account ID before it can download database updates.

You'll have to follow the instructions here and download the database manually with curl (included with Windows 10 and 11)

https://dev.maxmind.com/geoip/updating-databases#directly-downloading-databases

image

image

Download the databse with curl and extract the mmdb file into %appdata%\SystemInformer\ and for the moment you'll have to name the file GeoLite2-Country.mmdb until we update the mmdb updater.

marcobelmonte commented 1 month ago

Thank you sir - that worked and will get me by until things get synced up in System Informer's functionality. Much appreciated for all the work you guys do!

Almighty188 commented 3 weeks ago

My GeoIP database update works fine even now when I tried it in 3.0.7660-canary, only broken in 3.1.7741-canary as seen here: https://github.com/winsiderss/systeminformer/issues/2088

dmex commented 3 weeks ago

@Almighty188

You need to generate a new key since the format changed. We don't support the legacy format going forward.

Changes to MaxMind License Keys: https://dev.maxmind.com/geoip/release-notes/2023#changes-to-maxmind-license-keys

Almighty188 commented 3 weeks ago

@Almighty188

You need to generate a new key since the format changed. We don't support the legacy format going forward.

Changes to MaxMind License Keys: https://dev.maxmind.com/geoip/release-notes/2023#changes-to-maxmind-license-keys

We are talking about two different issues. My key works fine. The issue is not the key but if you look at the error message from System Informer 3.1.7741, it says ID "or" key not ID "and" key which is what needs to be fixed as it would be telling the user they only needed either the ID "or" key and not both. With both, it works fine with my key which was generated on November 28, 2022 when I answered no to the question: "Old versions of our GeoIP Update program use a different license key format. Will this key be used for GeoIP Update? Yes or No If Yes is selected, which is the correct option: Generate a license key and config file for use with geoipupdate version 3.1.1 or newer. Generate a license key and config file for use with geoipupdate versions older than 3.1.1. This key will be stored in an unhashed format."

image

Almighty188 commented 3 weeks ago

Thank you sir - that worked and will get me by until things get synced up in System Informer's functionality. Much appreciated for all the work you guys do!

What's strange here is my key which is a v3.1.1 key and not a legacy key from November 29, 2022 still works fine and I can download successfully even as of this moment. 3.1.7741 requires adding in the ID before it will allow the download but it is still the same key used. This was done yesterday, did you try a different key?

image

I always used key #1

image
Almighty188 commented 3 weeks ago

Appears that System Informer v3.1.7741 is also downloading Country instead of City.

image