Thread Rating:
  • 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.
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.
Reply



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

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.