Users suddenly being incorrectly associated with banned countries

Hey,

  This is an absolutely wonderful & life saving plugin. As of today, however, I've had a number of users being rejected (and simultaneously banned as I have the plugin configured this way) through being associated erroneously with countries I have placed on the list for the plugin to check for. 

 Using a number of IP lookup websites, as well as whichever built-in services are utilised by both RustAdmin's online version and BattleMetrics recon tool, all show that the player is connecting from an IP associated with a non flagged / banned country, but the plugin nonetheless repeatedly rejects the connection stating it is coming from a different country entirely. I've had Swedish users being flagged as connecting from Romania, and UK users flagged as connecting from Israel. 

   I assume this issue is not the fault of the plugin directly, but is being caused by some form of fault or strangeness in one of the free lookup services that the plugin utilises as standard ? 

   Any insight or advice would be massively appreciated, as this plugin has become absolutely essential since we've started using it, as many other of your plugins such as U-Filter are as well. 

Does the issue still happen with the previous version?

I was actually still using the previous version until the issue started occurring today. I downloaded the updated version in case that was somehow causing the problem, but the incorrect sssocistions for certain players seemed to persist when I cleared their bans & they tried to reconnect. 

  My guess is it's something being caused by one of the services the plugin uses to check the IP addresses rather than any sort of issue with the plugin itself. That is, admittedly, just a guess though. 

 Thanks for your response Wulf, and sorry for causing you extra trouble. 



Merged post

Just a further update. 

I tried the updated version of the plugin again with a freshly generated config file ( the only change I made was to add a few country codes into the file). At this point, the plugin seemed to be generating new. IP associations & caching them, as per console feedback upon players connecting to the server - but the same specific users were still wrongly identified with countries their IP addresses are not actually associated with. 

 Is there a default directory / place that IP / country associations are stored by the plugin when users try to connect ? Perhaps I need to manually clear those associations somehow ? 

  As it stands, regardless of what version of the plugin or configuration settings I use, specific users are still being identified erroneously with blocked countries - which other services like BattleMetrics, Rust Admin Online, and even a few of the services used by the plugin itself ( the two or three  which let me input individual IPs On their websites) show there is no association with. 

Could you provide your configuration please?

Sorry for the delay - 

This is the configuration file I've been using without any issues for over a year now. I can only copy & paste plain text here ( maybe because I'm accessing the Umod website on my phone ) but I've also sent you a copy of the .json file itself elsewhere. 

    {

  "API key for paid IP lookup service (if applicable)": "YOUR_API_KEY",

  "Ban player if country is blacklisted (true/false)": true,

  "Only allow players from server's country (true/false)": false,

  "Cache responses from IP lookup service provider (true/false)": false,

  "Number of retries on IP lookup fail (0 to disable)": 3,

  "Log connections from players (true/false)": false,

  "Use country code list as a whitelist (true/false)": false,

  "List of two-digit countries codes to check": [

    "CN",

    "BY",

    "JP",

    "HK",

    "KR",

    "RU",

    "UA",

    "IL",

    "RO",

    "VN",

    "LB",

    "FI",

    "DZ",

    "TR"

  ]

}