Thread
:
[ANY] CIDR Blocker MySQL - Block VPNs, Countries and etc
View Single Post
Author
Message
RumbleFrog
Great Tester of Whatever
Join Date: Dec 2016
Location: Fish Tank
08-11-2017 , 23:52 [ANY] CIDR Blocker MySQL - Block VPNs, Countries and etc
#
1
Blocks CIDR (Classless Inter-Domain Routing) IP Ranges
*
*
Potential Uses
Block VPNs to prevent hackers
Block certain ISPs
Block certain countries
ConVar
sm_cidr_log
- Enable blocked logging [Default: 1.0] (Min: 0.0) (Max: 1.0)
Database Structure
Spoiler
CIDR_LIST
Quote:
id - Auto incremental ID (Filled in automatically)
cidr - CIDR to block
kick_message - Message to display when kicked
comment - Helps you keep track
CIDR_WHITELIST
Quote:
id - Auto incremental ID (Filled in automatically)
type - Whitelist type (steam OR ip)
identity - Depending on the whitelist type (steamid32 OR IP)
comment - Helps you keep track
CIDR_LOG (Used when sm_cidr_log is 1.0)
Quote:
id - Auto incremental ID (Filled in automatically)
ip - Client's connecting IP
steamid - Client's SteamID32
name - Client's connecting name
cidr - CIDR that was triggered
time - Time it was blocked
Installation
Extract CIDR_Blocker.smx to /addons/sourcemod/plugins
Create cidr_blocker entry in your database.cfg
(Optional | Recommended) Import
https://github.com/CIDR-Blocker/CIDR...atacenters.sql
into
cidr_list
table
Resources
CIDR Blocker Official Site -
https://cidr-blocker.github.io
ASN Blocklist -
https://www.enjen.net/asn-blocklist/
Pre-made SQL script of most datacenters -
https://github.com/CIDR-Blocker/CIDR...atacenters.sql
Plans & Bugs
Issue tracker
Changelog
Commits
Download
Download the latest version from the
release
page.
Source
You can view the source
here
.
License
GPL-3.0
Icon made by
Freepik
from
http://www.flaticon.com
Last edited by RumbleFrog; 01-06-2021 at
19:53
. Reason: v1.1.5
RumbleFrog
View Public Profile
Send a private message to RumbleFrog
Visit RumbleFrog's homepage!
Find More Posts by RumbleFrog