IP ban required - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IP ban required (
/showthread.php?tid=533225)
IP ban required -
iAnonymous - 23.08.2014
Hello,
I am trying to ban this IP
Код:
197.18
197.19
197.20
197.21
.
.
.
197.31
Please let me know how to range ban this IP
Thanks.
Regards.
Re: IP ban required -
Stinged - 23.08.2014
/rcon banip 197.*.*.*
or
/rcon banip 197.[range].*.*
Note: Banning the whole 197.*.*.* range like banning a country or two.
Re: IP ban required -
iAnonymous - 23.08.2014
I tried the rcon thing.
+
What do u mean by [RANGE] ? What's the syntax ? 18-31 ?
Re: IP ban required -
Phyzic - 23.08.2014
Just do :-
/rcon banip 197.*.*.*
* means - Any (0 to 255)
Re: IP ban required -
Ada32 - 23.08.2014
edit: * wildcard just matches the pattern - numeric [0-255] check, you'd need to ban each individual ip 18-31 if that's what you want
Re: IP ban required -
AroseKhanNiazi - 23.08.2014
this will ban whole country use ....wait one thing first two parts of ip don't change -,-
Re: IP ban required -
Vince - 23.08.2014
Quote:
Originally Posted by iAnonymous
I tried the rcon thing.
+
What do u mean by [RANGE] ? What's the syntax ? 18-31 ?
|
The SA-MP ban system does not support CIDR, unfortunately. You will have to manually add 18 through 31 to your samp.ban, or use your own system that supports CIDR.
Also, NEVER ban a /8 range (e.g. 197.*.*.*). Such blocks are not allocated per country. In this particular case, the range is shared between no less than 53 countries.
Re: IP ban required -
iAnonymous - 23.08.2014
Quote:
Originally Posted by Vince
The SA-MP ban system does not support CIDR, unfortunately. You will have to manually add 18 through 31 to your samp.ban, or use your own system that supports CIDR.
Also, NEVER ban a /8 range (e.g. 197.*.*.*). Such blocks are not allocated per country. In this particular case, the range is shared between no less than 53 countries.
|
Alright, Thanks.
Re: IP ban required -
AroseKhanNiazi - 23.08.2014
Quote:
Originally Posted by iAnonymous
Alright, Thanks.
|
u didn't reply too me i know about range ban -----