Sliding-window per-IP connection rate limiter that temporarily blocks addresses reconnecting too fast.
Daemon666
1.0.0 - Initial release.
| csb_connect_flood_guard.sma main | 6f98001 | 3.0 KB |
README.md
CSB Connect Flood Guard keeps a small crowd of scripted reconnects from eating your slots and your tickrate. Every connection is bucketed by IP into a sliding window held in a Trie; an address that opens more than csb_flood_maxconn connections inside csb_flood_window seconds is blocked for csb_flood_bantime seconds. Legitimate players, who reconnect at human speed, never touch the limit.
Features
- Per-IP sliding window (Trie-backed) that resets cleanly once the window elapses.
- Temporary, self-expiring blocks - nothing is written to disk and no permanent bans accumulate.
- Blocked addresses are kicked at connect with a clear reason.
- Every block is logged with the count, window and duration.
Installation
- Compile
csb_connect_flood_guard.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
Tune csb_flood_maxconn and csb_flood_window for your traffic; the defaults (5 connects / 10 s) suit most public servers.
Instalare
1. Put csb_connect_flood_guard.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvar-uri
| CVAR | Default | Description |
|---|---|---|
csb_flood_enabled |
1 |
Enable connection rate limiting. |
csb_flood_maxconn |
5 |
Max connections per IP inside the window before blocking. |
csb_flood_window |
10 |
Sliding-window length in seconds. |
csb_flood_bantime |
60 |
Seconds an offending IP stays blocked. |
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.Versiuni →
Evaluare
No ratings yet.
Despre
Download v1.0.0
Cerințe
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opțional |
| ReAPI | Opțional |
| Metamod | Metamod / Metamod-r |
| Conflicte cunoscute | Players behind a shared NAT (LAN cafe, campus) share one IP and can trip the limit together; raise the cap for those cases. |
Contribuitori









