Notes to IpToCountry services

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

Notes to IpToCountry services

Post by Barbie »

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

Working services (at 14 Jul 2024) in alphabetical order:
  • forum.gameclan.pl:80/iptocountry/index.php test
  • utgl.unrealadmin.org:80/iptocountry16.php test
  • www․unrealkillers.com:80/iptocountry/iptocountry16.php test
Unavailable outdated services (at 14 Jul 2024):
  • invalid domain: www․ut-slv.com:80/iptocountry/iptocountry16.php test
  • timeout: www․wharthog.com:80/iptocountry/iptocountry16.php test
  • not found: geo.noccer.de:80/iptocountry16.php test
  • invalid domain: ip2c.xantaz.net:80/index.php test
  • invalid domain: iptocountry.ut-files.com:80/iptocountry16.php test
All entries are in Host:Port/FilePath format according to IpToCountry.ini entries with prefix "QueryServer".
For your convenience, an possible appropriate part of IpToCountry.ini

Code: Select all

[ipToCountry.LinkActor]

QueryServerHost[0]=www.unrealkillers.com
QueryServerHost[1]=utgl.unrealadmin.org
QueryServerHost[2]=forum.gameclan.pl

QueryServerFilePath[0]=/iptocountry/iptocountry16.php
QueryServerFilePath[1]=/iptocountry16.php
QueryServerFilePath[2]=/iptocountry/index.php

QueryServerPort[0]=80
QueryServerPort[1]=80
QueryServerPort[2]=80
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.

Code: Select all

http://unrealkillers.com:80/iptocountry/iptocountry16.php?ip=123.45.67.89
I have added a link named test where this is already prepared for the given services addresses.

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 history

2016-06-27: added "services" to subject
2017-02-14: 2017-03-18 2017-06-27:
  • re-checked all given services: no changes
  • added download links for IpToCountry
2018-01-29: moved "geo.noccer.de/iptocountry16.php" to unavailable services
2019-01-22: re-checked all given services: no changes
2020-06-05: re-checked all given services: no changes
2021-06-25: Timeout: www.wharthog.com:80/iptocountry/iptocountry16.php
2021-10-20: re-checked all given services: no changes
2022-03-12: re-checked all given services: no changes
2022-03-13: added "ip2c.xantaz.net:80/index.php" to working services
2022-03-16: changed "unrealkillers.com" to "www.unrealkillers.com"

2022-09-08:
  • re-checked all given services: moved "ip2c.xantaz.net:80/index.php" to unavailable services
  • added Test link
2024-07-14: moved "iptocountry.ut-files.com:80/iptocountry16.php" to unavailable services
Last edited by Barbie on Sun Jul 14, 2024 10:33 pm, edited 28 times in total.
"If Origin not in center it be not in center." --Buggie
User avatar
UTPe
Masterful
Posts: 599
Joined: Sun Jul 12, 2009 7:10 pm
Personal rank: Dude
Location: Trieste, Italy

Re: Notes to IpToCountry

Post by UTPe »

thanks ! :o
Personal map database: http://www.ut99maps.net

"These are the days that we will return to one day in the future only in memories." (The Midnight)
User avatar
sektor2111
Godlike
Posts: 6438
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry

Post by sektor2111 »

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 »

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: 6438
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry

Post by sektor2111 »

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: 2923
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Notes to IpToCountry services

Post by Barbie »

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.
"If Origin not in center it be not in center." --Buggie
User avatar
sektor2111
Godlike
Posts: 6438
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry services

Post by sektor2111 »

"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: 2923
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Notes to IpToCountry services

Post by Barbie »

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
"If Origin not in center it be not in center." --Buggie
User avatar
Chamberly
Godlike
Posts: 1963
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA

Re: Notes to IpToCountry services

Post by Chamberly »

I did try to recompile IpToCountry to take out AOL use, but couldn't compile because something isn't working right.
Image
Image
Image Edit: Why does my sig not work anymore?
lolo121
Novice
Posts: 14
Joined: Thu May 02, 2013 4:28 pm

Re: Notes to IpToCountry services

Post by lolo121 »

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: 745
Joined: Tue May 05, 2009 3:10 pm
Personal rank: UT Survivor

Re: Notes to IpToCountry services

Post by Pileyrei »

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: 212
Joined: Sat Jul 23, 2011 10:58 pm

Re: Notes to IpToCountry services

Post by $carface »

IP2Country should be working.
Pileyrei
Masterful
Posts: 745
Joined: Tue May 05, 2009 3:10 pm
Personal rank: UT Survivor

Re: Notes to IpToCountry services

Post by Pileyrei »

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: 2923
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Notes to IpToCountry services

Post by Barbie »

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.
"If Origin not in center it be not in center." --Buggie
User avatar
sektor2111
Godlike
Posts: 6438
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Notes to IpToCountry services

Post by sektor2111 »

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