Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
No way to make it work then I gather?
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Here is a link to download a zipped copy:
http://shryp.ashendust.com/deluge/GeoIP.dat.zip
http://shryp.ashendust.com/deluge/GeoIP.dat.zip
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
For those looking for the latest GeoIP.dat (from GeoLite2's mmdb format), these people have helpfully done all the work already.
https://stackoverflow.com/a/54700384/253139 has all the background info. For the .dat file on its own head to https://www.miyuru.lk/geoiplegacy - try the combination IPv4/IPv6 'Country' file (maps IP blocks to countries). I'd grab the IPv4 file if that doesn't work properly however I just tried the combo file and it appears to be happy with that. I'm running the official Deluge package on a Synology, the updated file appeared to start working without needing to reload the daemon or restart the service.
I dropped the extracted maxmind.dat file into a share on my volume1 then amended the path accordingly in Preferences -> Other, it appears to be working fine. There's been quite a lot of IP block changes since GeoLite v1 was last updated, worth updating if you care about accuracy.
https://stackoverflow.com/a/54700384/253139 has all the background info. For the .dat file on its own head to https://www.miyuru.lk/geoiplegacy - try the combination IPv4/IPv6 'Country' file (maps IP blocks to countries). I'd grab the IPv4 file if that doesn't work properly however I just tried the combo file and it appears to be happy with that. I'm running the official Deluge package on a Synology, the updated file appeared to start working without needing to reload the daemon or restart the service.
I dropped the extracted maxmind.dat file into a share on my volume1 then amended the path accordingly in Preferences -> Other, it appears to be working fine. There's been quite a lot of IP block changes since GeoLite v1 was last updated, worth updating if you care about accuracy.
hi mum!
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Hello,
For ubuntu
I managed this in the following way:
(I used deluge from python package manager)
For ubuntu
I managed this in the following way:
(I used deluge from python package manager)
Code: Select all
# install /usr/share/GeoIP/GeoIP.dat and geoIP headers
sudo apt install geoip-database libgeoip-dev
# use pipx to isolated deluge from rest of the system, but you can use just pip
py_ver=`python -c "from sys import version_info as vi; print(f'{vi[0]}.{vi[1]}')"`
sudo apt install python${py_ver}-venv
pip install pipx
pipx install deluge
# install libtorrent and GeoIP python packages to deluge virtual env
pipx inject deluge libtorrent GeoIP
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Does this work for you? I downloaded GeoLite2-Country from here but it doesn't seem to be working. Using Unraid and Deluge 2.1.1, updated it in my settings > other to point to /config/GeoLite2-Country.mmdb but no joySynergist wrote: ↑Mon Nov 04, 2019 1:51 am For those looking for the latest GeoIP.dat (from GeoLite2's mmdb format), these people have helpfully done all the work already.
https://stackoverflow.com/a/54700384/253139 has all the background info. For the .dat file on its own head to https://www.miyuru.lk/geoiplegacy - try the combination IPv4/IPv6 'Country' file (maps IP blocks to countries). I'd grab the IPv4 file if that doesn't work properly however I just tried the combo file and it appears to be happy with that. I'm running the official Deluge package on a Synology, the updated file appeared to start working without needing to reload the daemon or restart the service.
I dropped the extracted maxmind.dat file into a share on my volume1 then amended the path accordingly in Preferences -> Other, it appears to be working fine. There's been quite a lot of IP block changes since GeoLite v1 was last updated, worth updating if you care about accuracy.

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Working on GeoIP hack and integration.....in the mean time I've moved all the information on the new version (2.2.0) to this thread
viewtopic.php?p=239267#p239267
viewtopic.php?p=239267#p239267