SA-MP Forums Archive
[FilterScript] CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). (/showthread.php?tid=446692)



CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). - R@f - 26.06.2013

Hello everyone !

Here's my last release, a CIDR ban script.

What can it be used for ? Commands (rcon admin) How to ban VPNs
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.


Re: CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). - DarkB0y - 26.06.2013

Nice work


Re: CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). - kaisersouse - 26.06.2013

Nice dude! I like how you incorporated my listing into a script. Very helpful!


Re: CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). - Cypress - 26.06.2013

That's brilliant. Thank you!


Re: CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). - vardanega - 27.06.2013

Encore de l'excellent travail, merci а toi.


Re: CIDR Ban - Ban precise IP ranges (VPN, ISP, ...). - GeniusPobs - 27.06.2013

Wow, good job