-
Notifications
You must be signed in to change notification settings - Fork 47
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
Cannot download GeoIP.dat.gz over HTTPS #119
Comments
but not sure if is loaded by URL when reboot or is always the same I copy by hand first time, apparently the date of the file change between reboots |
anybody can re-test? |
related: #38 |
@RigacciOrg @raulfg3 the system currently does not work, the only solution is to download the file by hand and update it by hand. One option to automate it would be to edit the systemd unit that starts mldonkey and put an IMHO neither is worthwhile because it is not such a live file that you can't manually update it from time to time. |
Thanks a lot to test, and for your suggestion. because is only update fewtimes a year, I doi by hand . Perhaps developer read this and update code . |
For those of you adventurous enough, I uploaded some patches to fix this problem: https://github.com/carlonluca/mldonkey/tree/feature/curl. You'll have to build the branch feature/curl from my fork of mldonkey and use the URL https://dl.miyuru.lk/geoip/maxmind/country/maxmind4.dat.gz. I also uploaded an experimental docker image with these patches. I'm still testing the implementation, but it seems my geoip db was actually updated properly from that URL. |
The default URL for the GeoIP.dat database is broken, it returns a 404 Not Found (October 2024):
http://www.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
I tried to configure an alternative URL into downloads.ini, the one I found is HTTPS:
https://mailfud.org/geoip-legacy/GeoIP.dat.gz
Unfortunately it seems that MLDonkey is unable to use HTTPS; after configuring the URL above, I sniffed the traffic toward the target server and I see a TCP connection to TCP port zero instead of 443. Even though I explicitly declare port 443 in the URL, the connection does not happen.
Maybe MLDonkey is not HTTPS capable at all, can be related to issue #41 too.
The text was updated successfully, but these errors were encountered: