Raised This Month: $ Target: $400
 0% 

Legacy GeoLite City provides incorrect country


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EdwardSMaTeresa
BANNED
Join Date: Feb 2022
Old 04-29-2022 , 03:02   Legacy GeoLite City provides incorrect country
Reply With Quote #1

Hi
I'm using SourceMod which is a game server management addon for Source Engine, which provides plugin support.

Two months ago, I have added a plugin that does the following:

Check if the connecting user is from Israel. (Where I host the server, you're required to speak Hebrew in order to play)
If the user is not from Israel, check if his IP address is whitelisted. If it isn't, disallow the connection.
Now recently, one of the Israeli ISPs got new IP addresses (all starting with 77.138.*.*) which GeoLite shows as if they're French. So far I've got to whitelist 12 IP addresses because of this.

SourceMod has a third-party API that lets me use GeoLite2 City, GeoLite City (free ones) and GeoIPCity/GeoIPISP if I own them. For now I've tried using both of the free databases, sadly, no success.

I know MaxMind will update GeoLite again in 6 days. What I'm afraid of, is that I'm not going to achieve anything because MaxMind doesn't offer support for GeoLite, so I might be stuck with outdated databases that provide incorrect information.

What is a recently updated alternative that uses the same format as GeoLite (either legacy or new), or, is it 100% confirmed that those incorrect locations for IPs will be updated soon for GeoLite? I really don't feel like echatspin spending cash monthly just for GeoIP.

Last edited by EdwardSMaTeresa; 11-28-2022 at 07:03.
EdwardSMaTeresa is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-29-2022 , 04:29   Re: Legacy GeoLite City provides incorrect country
Reply With Quote #2

https://github.com/alliedmodders/sou...7e37a7bbae9bfb



...remove GeoIP.dat file. It is not supported anymore.
__________________
Do not Private Message @me
Bacardi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode