CSB Fake Player Guard

v1.0.0 14 изтегляния Daemon666 Последна актуализация: Jul 16, 2026

Caps concurrent connections per IP and drops clients that never finish the handshake or send any input.

CSB Fake Player Guard targets the fake-player / FakeFull attacks that fill a server with slots that will never actually play. It caps how many concurrent connections one IP may hold and, more usefully, it drops any client that connects but never reaches putinserver and never sends a single usercmd within a timeout - the signature of a fake client that opens a socket and does nothing.

How it works

  • On connect it records the client's IP and starts a per-slot timeout task.
  • Usercmds are counted from the CmdStart forward - a real player produces input immediately.
  • At timeout, a slot that is not fully in-game and has produced zero usercmds is kicked.
  • A per-IP concurrent-connection cap blocks obvious multi-socket floods up front.

Installation

  1. Enable the fakemeta module in modules.ini.
  2. Compile csb_fakeplayer_guard.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.

Инсталация

1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini
2. Put csb_fakeplayer_guard.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

Cvar-и

CVARDefaultDescription
csb_fpg_enabled 1 Enable fake-player protection.
csb_fpg_timeout 12 Seconds a client has to finish the handshake and send input.
csb_fpg_maxperip 3 Maximum concurrent connections allowed per IP.

Списък с промени — v1.0.0

1.0.0 - Initial release.
Версии →
Сътрудници: Daemon666 ✦
Лиценз: GPL-3.0

Оценка

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Изтегли .sma
Файлове:
csb_fakeplayer_guard.sma main 3.0 KB

Изисквания

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули fakemeta
Известни конфликти Very slow real connections on poor links may exceed the handshake timeout; raise csb_fpg_timeout if that happens.
Обратно към плъгините