We now use Steam to access the forums! To sign in via Steam: Click sign In (top right) > Complete your profile (choose display name and email address). If you have any issues completing your profile, please contact KeRRR or LiMaaa so we can assist you. You can contact us on Discord or the Steam Group

Jump to content
RumbleFrog

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

Recommended Posts

RumbleFrog    15

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    799

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×