项目作者: CIDR-Blocker

项目描述 :
Blocks CIDR (Classless Inter-Domain Routing) IP Ranges
高级语言: SourcePawn
项目地址: git://github.com/CIDR-Blocker/CIDR-Blocker.git
创建时间: 2017-08-11T20:57:23Z
项目社区:https://github.com/CIDR-Blocker/CIDR-Blocker

开源协议:GNU General Public License v3.0

下载



CIDR Blocker


Blocks CIDR (Classless Inter-Domain Routing) IP Ranges


Travis CI Status
Issues
Downloads


ConVar

  • sm_cidr_log Enable blocked logging [Default: 1.0] (Min: 0.0) (Max: 1.0)

Database Structure

CIDR_LIST

  • 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

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

  • 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

Download

Download the latest version from the release page

Resources

License

GPL-3.0

Icon made by Freepik from http://www.flaticon.com/