Client Protection - Silenci0/SMAC GitHub Wiki

This module will protect your server from general client exploits that exist such as connection spam, name change spam, and invalid name or chat characters.

Convars

  • smac_antispam_connect “2” - Seconds to prevent someone from restablishing a connection. (0 = Disabled)
  • smac_validate_auth “0” - Kick clients that fail to authenticate within 10 seconds of joining the server.

Detection Sample (Log)

Hacker0 (ID: Unknown | IP: 123.123.123.123) was temporarily banned for connection spam.
Hacker1 (ID: STEAM_0:0:1234567890 | IP: 123.123.123.123) was kicked for name change spam.

Connect Support

This module also has support for the Connect extension to block advanced spam attacks on newer source games. The Connect extension cannot run alongside the CBaseServer extension. Uninstall CBaseServer if you want to run Connect.

Hacker0 (ID: STEAM_0:0:1234567890 | IP: 123.123.123.123) was temporarily banned for connection spam.

Forum Discussion

https://forums.alliedmods.net/showthread.php?t=196767