26.06.2013, 21:52
(
Последний раз редактировалось R@f; 26.06.2013 в 22:31.
)
Hello everyone !
Here's my last release, a CIDR ban script.
What can it be used for ?
Kaisersouse provided a useful list containing VPN ranges (not all VPNs) : https://sampforum.blast.hk/showthread.php?tid=422675
Copy this list, remove all comments (# and the text after it) and paste it in the cidr-banlist.txt file in the scriptfiles folder (if cidr-banlist.txt doesn't exist, create it).
Required
Plugin
Regular Expressions by Fro1sha
Includes (for compiling only)
regex.inc by Fro1sha
cidr.inc by R@f
Download
V1.0 : Pwn on Pastebin
V1.0 : Pwn + amx on Solidfiles (read for use, plug'n'play)
Cheers,
R@f.
Here's my last release, a CIDR ban script.
What can it be used for ?
- Ban precise IP ranges (from 1.2.3.4 to 1.2.3.42 for example).
- Ban VPN or ISP ranges from your server.
- /bancidr [CIDR range] - Example : /bancidr 192.168.1.0/24 - Add the CIDR range to the ban list and kick all current players in this range.
- /getcidr [Start IP] [End IP] - Example : /bancidr 192.168.1.0 - 192.168.1.255 - Get the CIDR range with a start and end IP (http request for the moment, was a bit lazy to write this function in pawn...).
Kaisersouse provided a useful list containing VPN ranges (not all VPNs) : https://sampforum.blast.hk/showthread.php?tid=422675
Copy this list, remove all comments (# and the text after it) and paste it in the cidr-banlist.txt file in the scriptfiles folder (if cidr-banlist.txt doesn't exist, create it).
Required
Plugin
Regular Expressions by Fro1sha
Includes (for compiling only)
regex.inc by Fro1sha
cidr.inc by R@f
Download
V1.0 : Pwn on Pastebin
V1.0 : Pwn + amx on Solidfiles (read for use, plug'n'play)
Cheers,
R@f.