• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Ban IP address by country range
#1
Hi,

I'm a dedi server admin, and many of my friends complained about people keep cheating in my server. I always do my best to permanently ban them, the list grows longer as day passed by.

I noticed however, most of these cheaters come from two countries nearby, namely China and Indonesia (sorry folks, I try not to generalize).

So, is there any plugin or addon to ban ALL IP address range from these two countries? It would help me a lot.. You know there are over a billion people in China and more than a quarter billion in Indonesia. I really can't do this manually.

Thanks.
  Reply
#2
[Image: hOGpg.jpg]
  Reply
#3
This is absolutely not racist, just facts in his situation. Firstly you need to check where the ip comes from.

A external program that does something like: http://www.ip-adress.com/ip_tracer/ and kicks the player if he comes from a certain country. This isn't possible with a plugin only but deffinately possible with an external program. Maybe could @JariZ add this as a feature in his playermanager .
  Reply
#4
GeoIP C# API, gogogo (we only need GeoIP Country btw, not that other stuff). Note that the database included with the source is outdated, you can always get the latest version here.

http://www.maxmind.com/app/csharp

Finding each player's IP is quite easy, that is if you know where to look Wink I might write a plugin for this.

EDIT - Working on it now, it's nearly finished!
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
[-] The following 1 user says Thank You to master131 for this post:
  • carcdm
  Reply
#5
If you can get it set up to accept IP bans you can just do a simple subnet ban.

So if say 192.168.1.1 keeps coming in your server but every time he joins his i[ has changed by one number;

EX:192.168.1.2
192.168.1.3

You would ban;

192.168.1.0
  Reply
#6
(03-17-2012, 00:51)kraze1994 Wrote: If you can get it set up to accept IP bans you can just do a simple subnet ban.

So if say 192.168.1.1 keeps coming in your server but every time he joins his i[ has changed by one number;

EX:192.168.1.2
192.168.1.3

You would ban;

192.168.1.0

Well I just finished the plugin, it only supports countries at the moment, I'll add IP blocking too (with wildcards for subnet bans).

EDIT - All finished, unfortunately, I have to leave home now so I'll have to upload the plugin later Wink
EDIT 2 - Finally posted it, still not at home though. :L http://www.itsmods.com/forum/Thread-Rele...pport.html
[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
[-] The following 1 user says Thank You to master131 for this post:
  • carcdm
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Request] Request for Assistance with Modding COD: BO using Mod Tools one1lion 9 1,053 09-17-2013, 21:04
Last Post: one1lion
  [Request] Airdrop Heaven mod The_Reaper_1 0 789 09-10-2013, 14:13
Last Post: The_Reaper_1
  [Request] Request for !afk and !balance plugins. UlTiiMaTuM 3 869 09-10-2013, 02:13
Last Post: UlTiiMaTuM
  Using Cheat Engine 6.2 to change BO2 address values wzlrsaur 6 3,258 08-06-2013, 06:28
Last Post: 14th
  Help Help in address console Bandarigoda123 2 592 07-20-2013, 15:46
Last Post: Bandarigoda123
  [REQUEST] Antinoob mod sleepunknot 3 612 05-15-2013, 20:10
Last Post: sleepunknot
  Moab and server request CHRISLUVMSR 6 1,103 04-17-2013, 18:28
Last Post: X-Track
  [Request] Teknogods Expert's Classes 1.5 request The6thMessenger 0 677 04-13-2013, 08:22
Last Post: The6thMessenger
  [Request] Modded Zombies Kinodertoten Request The6thMessenger 3 748 03-30-2013, 12:12
Last Post: surtek
  [request] QCZM for black ops wattz3 1 604 03-27-2013, 13:32
Last Post: Nekochan

Forum Jump:


Users browsing this thread: 1 Guest(s)