Howto: Country Flags In Peers Tab (GeoIP Database Settings)

General support for problems installing or using Deluge
Shryp
Super Seeder
Super Seeder
Posts: 443
Joined: Mon Apr 20, 2015 10:20 pm
OS or Distro: Manjaro Linux

Howto: Country Flags In Peers Tab (GeoIP Database Settings)

Postby Shryp » Sun Jun 07, 2015 2:34 am

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.

Image

Image

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/geoip/database/GeoLiteCountry/GeoIP.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.
Last edited by Shryp on Fri Jun 12, 2015 1:55 am, edited 1 time in total.

garnertr
Member
Member
Posts: 17
Joined: Sun Jan 06, 2008 7:42 pm
OS or Distro: Vista
Location: North Las Vegas, Nevada

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settin

Postby garnertr » Fri Jun 12, 2015 12:56 am

Awesome tip; thanks!

Forgot to say, WORKS like you advertised, thanks for the simple directions... :)

Shryp
Super Seeder
Super Seeder
Posts: 443
Joined: Mon Apr 20, 2015 10:20 pm
OS or Distro: Manjaro Linux

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settin

Postby Shryp » Fri Jun 12, 2015 2:00 am

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.

Makewa
New User
New User
Posts: 5
Joined: Sat May 21, 2016 6:50 am
OS or Distro: Win 10

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)

Postby Makewa » Tue Aug 02, 2016 10:58 am

Next question .. how to install IPv6 database alongside v4?

Shryp
Super Seeder
Super Seeder
Posts: 443
Joined: Mon Apr 20, 2015 10:20 pm
OS or Distro: Manjaro Linux

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)

Postby Shryp » Tue Aug 02, 2016 2:30 pm

Makewa wrote:Next question .. how to install IPv6 database alongside v4?


Sorry, no clue. I have yet to mess around with IPv6 at all on any of my equipment.

Cas
Top Bloke
Top Bloke
Posts: 3475
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)

Postby Cas » Tue Aug 02, 2016 4:11 pm

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...

Makewa
New User
New User
Posts: 5
Joined: Sat May 21, 2016 6:50 am
OS or Distro: Win 10

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)

Postby Makewa » Tue Aug 16, 2016 11:52 am

Yes, but putting in the folder as above does not work.

dondraper
New User
New User
Posts: 3
Joined: Wed Nov 02, 2016 4:43 pm
OS or Distro: WIN

Re: Howto: Country Flags In Peers Tab (GeoIP Database Settings)

Postby dondraper » Thu Jan 25, 2018 8:48 pm

For OS X: /Users/*username*/.config/deluge/GeoIP.dat


Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests