Notes to IpToCountry services

Discussions about Servers
User avatar
Barbie
Godlike
Posts: 1716
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Notes to IpToCountry services

Post by Barbie » Mon Jun 27, 2016 3:57 am

Because I got some error messages I checked some servers offering IpToCountry service:

Working services (at 22 Jan 2019): Unavailable outdated services (at 22 Jan 2019):
All entries are in Host:Port/FilePath format according to IpToCountry.ini entries with prefix "QueryServer".
To update the list, drop me a PM or ask a moderator.
You can check a service with your browser by adding a »http://« in front and »?ip=(any IPv4 address)« at the end of that URL, e.g. »http://unrealkillers.com:80/iptocountry ... 3.45.67.89«

Some other notes:
  • see also developers thread IpToCountry in UnrealAdmin.org forums
  • »CountryFlags2.utx« (country flags miniatures) has to be in ServerPackages if any mod needs it (e.g. NexGen)
  • in *nix systems a second INI file ipToCountry.ini can occur (note the case of the first character) - I've solved that with a soft link ipToCountry.ini->IpToCountry.ini
  • »iptocountry_AOL.u« is outdated so it's not needed anymore (source)
  • IpToCountry can be downloaded for example at utzone.de or unrealtournament.99.free.fr (v1.6)
edit 2016-06-27
Show
added "services" to subject
edit 2017-02-14
Show
Working services
+iptocountry.ut-files.com:80/iptocountry16.php
-www.wharthog.com:80/iptocountry/iptocountry16.php

Unavailable services:
-iptocountry.ut-files.com:80/iptocountry16.php
+www.wharthog.com:80/iptocountry/iptocountry16.php
edit 2017-03-18
Show
Working services
+www.wharthog.com:80/iptocountry/iptocountry16.php
+forum.gameclan.pl:80/iptocountry/index.php

Unavailable services:
-www.wharthog.com:80/iptocountry/iptocountry16.php
edit 2017-06-27
Show
  • re-checked all given services: no changes
  • added download links for IpToCountry
edit 2018-01-29
Show
edit 2019-01-22
Show
re-checked all given services: no changes
Last edited by Barbie on Tue Jan 22, 2019 12:20 pm, edited 12 times in total.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
UTPe
Adept
Posts: 461
Joined: Sun Jul 12, 2009 7:10 pm
Personal rank: Dude
Location: Trieste, Italy

Re: Notes to IpToCountry

Post by UTPe » Mon Jun 27, 2016 4:42 am

thanks ! :o
Personal UT99 website: http://utdatabase.gamezoo.org | Personal forum: http://fragfinity.freeforums.org/index.php
Personal file database: http://ut99files.gamezoo.org | Personal map database: http://ut99maps.gamezoo.org

"These are the days that we will return to one day in the future only in memories." (The Midnight)

User avatar
sektor2111
Godlike
Posts: 4118
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry

Post by sektor2111 » Mon Jun 27, 2016 5:50 am

Maybe you should see that IpToCountry at a moment is doing funky things with that HTTPClient class. After some time it might be stop responding at mutate command ruining itself. I was speaking about rewriting IpToCountry but I don't see anyone interested. For anybody's knowledge I was using a Loop server and External server. Loop server won't have lags and it do responds instantly, but IpToCountry is still blabbering. Nvm, if nobody cares I'm gonna change some rules in how does that module operate.
You should do more checks because has nothing to do with query servers than a mod rammed by itself. You'll figure when does it happen...
Last edited by sektor2111 on Mon Jun 27, 2016 5:07 pm, edited 1 time in total.

Aldebaran
Masterful
Posts: 672
Joined: Thu Jan 28, 2016 7:30 pm

Re: Notes to IpToCountry

Post by Aldebaran » Mon Jun 27, 2016 12:21 pm

ut-files.com was down occasionally in the last time so perhaps they will be back again in a stable way?
Last edited by Aldebaran on Fri Nov 18, 2016 5:00 pm, edited 1 time in total.

User avatar
sektor2111
Godlike
Posts: 4118
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry

Post by sektor2111 » Mon Jun 27, 2016 5:03 pm

As a matter of fact have you tried "mutate Iptocountry" command after a few 30-40 minutes of game-play with kills and everything ? For sure it goes disabled and then new comers stay unidentified after this time. In first minute usually it do works flawless, how about some action and testing it much later ? MH ? Something Custom ?

As a second matter of fact if you look at code there is even a remark about evil things that might occur randomly. Whoever was writing that he told the truth.

User avatar
Barbie
Godlike
Posts: 1716
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Notes to IpToCountry services

Post by Barbie » Mon Jun 27, 2016 5:36 pm

I just wanted to create a list of working and obsolete host offering IpToCountry services. I've changed the subject accordingly.

Is there a chance to get to know what version of »GeoIP.dat« a host is using? Because hosts with an outdated version (outdated=older than - lets say 6 months?) should have a lower preference.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
sektor2111
Godlike
Posts: 4118
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry services

Post by sektor2111 » Mon Jun 27, 2016 5:56 pm

"GeoIp.dat" which I have is monthly updated I have even a shortcut for getting that directly from source. So that's not the issue.
"News" which I'm accessing is a permanent reminder for updates. Of course my availability is limited.

User avatar
Barbie
Godlike
Posts: 1716
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Notes to IpToCountry services

Post by Barbie » Tue Feb 14, 2017 9:09 pm

Updated first post:

Working services
+iptocountry.ut-files.com:80/iptocountry16.php
-www.wharthog.com:80/iptocountry/iptocountry16.php

Broken services:
-iptocountry.ut-files.com:80/iptocountry16.php
+www.wharthog.com:80/iptocountry/iptocountry16.php
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
Chamberly
Godlike
Posts: 1727
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA
Contact:

Re: Notes to IpToCountry services

Post by Chamberly » Wed Feb 15, 2017 1:06 pm

I did try to recompile IpToCountry to take out AOL use, but couldn't compile because something isn't working right.
Image
Image
Image

lolo121
Novice
Posts: 14
Joined: Thu May 02, 2013 4:28 pm

Re: Notes to IpToCountry services

Post by lolo121 » Sat Mar 18, 2017 3:01 pm

I paste a link to other service for IpToCountry: http://forum.gameclan.pl/iptocountry/index

I writed it from basics. Should working better than original. It also return:
- bad_ip : if IP in ?ip= is bad
- no_tag: if tag index.php?ip isn't entered


Config:

[ipToCountry.LinkActor]
QueryServerHost[0]=forum.gameclan.pl
QueryServerFilePath[0]=/iptocountry/index.php
QueryServerPort[0]=80
resolvedAddress[0]=193.33.177.237

Pileyrei
Masterful
Posts: 700
Joined: Tue May 05, 2009 3:10 pm
Personal rank: UT Survivor

Re: Notes to IpToCountry services

Post by Pileyrei » Mon May 15, 2017 10:59 pm

My server crashes at times :(

I found this in teh logs straight after a crash:

IpToCountry: http://www.unrealkillers.com returned bad data! Switching to alternate.
Connection timed out after 15.000000 seconds (15.006115)
Close TcpipConnection194 Mon May 15 17:48:02 2017
[NPLoaderv16b] Loading failed for player: Alexey (Reason: disconnected)
Game ended at 852.187622

Is unrealkillers a bad setting now?
I removed it and used the others.
Testing to see if it stays up now.

Edit: thank you for the PM - think its sorted now. bad entry removed. Not sure how it got there!

Another EDIT:

Don't suppose anyone who uses IP2Country on their server could post their working ini config here please? (Just the ip2country link actor section)
Would like to see!
Image

Our Server
Image

[donate][/donate]
Donate to UT99.org!

$carface
Skilled
Posts: 205
Joined: Sat Jul 23, 2011 10:58 pm

Re: Notes to IpToCountry services

Post by $carface » Tue May 16, 2017 5:09 pm

IP2Country should be working.

Pileyrei
Masterful
Posts: 700
Joined: Tue May 05, 2009 3:10 pm
Personal rank: UT Survivor

Re: Notes to IpToCountry services

Post by Pileyrei » Tue May 16, 2017 8:38 pm

Thanks $carface.

Server crashed again today:
All - this is my ip2country settings.

Anything to remove or change please?

[IpToCountry.LinkActor]
bSpawnAddon=True
ConfQueryServers[0]=www.unrealkillers.com/iptocountry/iptocountry16.php
ConfQueryServers[1]=www.madrixis.de/iptocountry/iptocountry16.php
MaxTimeout=10
ErrorLimit=10
IPData[0]=86.142.147.151:host86-142-147-151.range86-142.btcentralplus.com:UNITED KINGDOM:GBR:gb
IPData[1]=178.234.111.104:X104.bbn07-111.lipetsk.ru:RUSSIAN FEDERATION:RUS:ru
********SNIP******
IPData[255] blah blah blah
Index=0
QueryServerHost[0]=www.unrealkillers.com
QueryServerHost[1]=www.iptocountry.ut-files.com
QueryServerHost[2]=utgl.unrealadmin.org
QueryServerHost[3]=
QueryServerFilePath[0]=/iptocountry/iptocountry16.php
QueryServerFilePath[1]=/iptocountry16.php
QueryServerFilePath[2]=/iptocountry16.php
QueryServerFilePath[3]=
QueryServerPort[0]=80
QueryServerPort[1]=80
QueryServerPort[2]=80
QueryServerPort[3]=
resolvedAddress[0]=104.152.168.12
resolvedAddress[1]=192.111.155.210
resolvedAddress[2]=85.236.100.16
resolvedAddress[3]=
bNeverPurgeAddress=False
IPDataIndex=22
Image

Our Server
Image

[donate][/donate]
Donate to UT99.org!

User avatar
Barbie
Godlike
Posts: 1716
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Notes to IpToCountry services

Post by Barbie » Wed May 17, 2017 3:02 am

Pileyrei wrote:Anything to remove or change please?
I didn't notice any abnormalities (except the entry Index=0: that one is missing here).

Another hint: If you are using a case sensitive file system, make sure that there is only one file named "IpToCountry.ini" - on my server I've found "IpToCountry.ini" and "ipToCountry.ini". I replaced the latter with a soft link to the former.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
sektor2111
Godlike
Posts: 4118
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry services

Post by sektor2111 » Wed May 17, 2017 6:17 am

"Index=0" is after line with "Blah blah" - if something works or not, it's up on IpToCountry itself - I gotta admit some ini created was starting with a small letter, but these are not a problem in Win servers... else actor can be recompiled properly without those old default query servers - an empty default ini might be welcomed, being server-side will not mismatch anything...

Post Reply