EDIT 2019:
The databases are no longer available. Here is a link to a copy I have archived.
http://shryp.ashendust.com/deluge/GeoIP.dat.zip
------
This example is for a Windows 7 setup, but any OS should be just about the same. Just change the save folder locations and unzipping program to suit your computer.
This is sort of a hidden function that isn't really explained anywhere so I am making a short post with directions of how I enabled it.
If you look on the peers tab you will see an empty column in front the the IP addresses. That is there for country flags, but you need to download a database to make it work.
Here are 2 example screenshots I found in some old posts on this forum.
To enable the flags you need to download the database from this website:
http://dev.maxmind.com/geoip/legacy/geolite/
If you just want the direct download link:
http://geolite.maxmind.com/download/geo ... oIP.dat.gz
Download and extract that file. I use 7zip to extract it. I am not sure if the normal windows zipper will work on tar.gz or not. 7zip requires you to unzip it twice. The first file you get will be a .tar file and the second with be the .dat file you will need.
Next copy that GeoIP.dat file to anywhere you want on your computer. If you are using the client/server thinclient setup copy it to the daemon side and if not just copy it to your normal computer.
In my case I saved it to the config file: C:\Users\<your user name>\AppData\Roaming\deluge\
Next open up deluge, go to: Preferences->Other and find the GeoIP Database Location box and copy in the location of your file. My example: C:\Users\<your user name>\AppData\Roaming\deluge\GeoIP.dat
Last just restart your client and the dameon and it should start working. Once it is working on the daemon server any client that connects to it will get the flags.
The website says they update their databases on the first Tuesday of every month so if you want it to be more accurate you might want to update the database once in a while.
Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Last edited by Shryp on Fri Jun 12, 2015 1:55 am, edited 1 time in total.
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settin
Awesome tip; thanks!
Forgot to say, WORKS like you advertised, thanks for the simple directions...
Forgot to say, WORKS like you advertised, thanks for the simple directions...
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settin
Glad someone found it helpful. I always wondered what those settings were for and how to make them work. I searched around and found it very difficult to find any documentation on it.
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Next question .. how to install IPv6 database alongside v4?
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Sorry, no clue. I have yet to mess around with IPv6 at all on any of my equipment.Makewa wrote:Next question .. how to install IPv6 database alongside v4?
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
From what I can tell the IPv6 db has mapped IPv4 address: https://www.maxmind.com/en/ipv6-information-and-faq
Shyrp's OP should really be put into a wiki page, not sure where exactly but perhaps the FAQ would suffice for now...
Shyrp's OP should really be put into a wiki page, not sure where exactly but perhaps the FAQ would suffice for now...
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Yes, but putting in the folder as above does not work.
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
For OS X: /Users/*username*/.config/deluge/GeoIP.dat
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
Just tried to fix as I noticed it missing. Looks like the download link is down? Pls advise. Thanks!
Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)
If you check with the maxmind website, they've discontinued the legacy databases. The new databases are there. The advice at http://dev.maxmind.com/geoip/legacy/geolite/ isn't right.