Jump to content
Endless Gamers Community
RumbleFrog

CIDR CIDR Blocker (https://cidr-blocker.github.io)

Recommended Posts

RumbleFrog    8

CIDR_Blocker_256.png



Blocks CIDR (Classless Inter-Domain Routing) IP Ranges

CIDR-Blocker.svg?style=flat-square*CIDR-Blocker.svg?style=flat-square*364849839508553730.svg?style=flat-square*total.svg?style=flat-square

 

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
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

  1. Extract CIDR_Blocker.smx to /addons/sourcemod/plugins
  2. Create cidr_blocker entry in your database.cfg
  3. (Optional | Recommended) Import https://github.com/CIDR-Blocker/CIDR-Blocker/blob/master/imports/datacenters.sql into cidr_list table

 

Resources

 

 

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

Edited by RumbleFrog
  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites
LiMaaa    787

I noticed pubg has implemented banning of HID (Hardware ID) of cheaters GPU to limit the ease of repeat offending. Is it possible to add such functionality to your plugin or would that require users willingly divulging hardware specs?

Share this post


Link to post
Share on other sites
RumbleFrog    8
On 1/30/2018 at 8:50 AM, LiMaaa said:

I noticed pubg has implemented banning of HID (Hardware ID) of cheaters GPU to limit the ease of repeat offending. Is it possible to add such functionality to your plugin or would that require users willingly divulging hardware specs?

 

Sourcemod is only limited to the information the client provides upon connecting, which does not include hardware information, unfortunately.

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×