CSB Connect Flood Guard v1.0.0
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.
Installation
1. Put csb_connect_flood_guard.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvars4
| 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. |
Bewertung
Noch keine Bewertungen









