Raised This Month: $12 Target: $400
 3% 

[CSGO] SMAC Client Protection enhancement (clanid spam)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
keigel2001
Member
Join Date: Oct 2014
Location: Germany
Old 08-26-2015 , 23:11   [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #1

As of late a new trend on some servers is happening. Some players are changing their clantags very fast. Here's an example of the logs:
Code:
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Triggerbot.")
L 08/25/2015 - 17:38:23: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Spinbot.")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Wallhack")
L 08/25/2015 - 17:38:23: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Wallhack")
L 08/25/2015 - 17:38:23: "kN<621>" triggered "clantag" (value "Spinbot.")
L 08/25/2015 - 17:38:23: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Triggerbot?")
L 08/25/2015 - 17:38:24: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:24: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:24: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:25: "kN<621>" triggered "clantag" (value "Aimbot .")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Spinbot?")
L 08/25/2015 - 17:38:25: "KeeeqZ<630>" triggered "clantag" (value "Wallhack?")
L 08/25/2015 - 17:38:25: "kN<621>" triggered "clantag" (value "Spinbot.")
L 08/25/2015 - 17:38:25: "kN<621>" triggered "clantag" (value "Wallhack")

It's really annoying.

Client Protection - smac_client.smx is already protecting against name change spam.
To the developers: Could you enhance the dev-version a bit and also add a clanid change spam protection?

It would be greatly appreciated
__________________


Last edited by GoD-Tony; 08-27-2015 at 07:28. Reason: removed method
keigel2001 is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-27-2015 , 07:30   Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #2

I've edited your post to remove the spam method, but this should easily be blockable with SourceMod's new command hooks.

I'll try to add a fix for this soon, thanks!
__________________

Last edited by GoD-Tony; 08-27-2015 at 07:31.
GoD-Tony is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 08-27-2015 , 14:27   Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #3

Tbh why bother blocking it? It does not cause any issues in game. Nor does changing clantag avoid you from getting banned.
checkster is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 08-27-2015 , 14:49   Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #4

Quote:
Originally Posted by checkster View Post
Tbh why bother blocking it? It does not cause any issues in game. Nor does changing clantag avoid you from getting banned.
Most server operators like their server logs to be free of player generated spam.
Darkness_ is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 08-27-2015 , 16:09   Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #5

Quote:
Originally Posted by Darkness_ View Post
Most server operators like their server logs to be free of player generated spam.
Decide what to log, this is tbh a pretty dumb thing to kick for, implying thats the outcome.
Just smac_ignorecmd or how ever its written.

And as a owner I love logs, I learn things etc

Last edited by checkster; 08-27-2015 at 16:10.
checkster is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-28-2015 , 08:28   Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #6

Something like this should block it, but it requires a recent snapshot of SourceMod 1.8:

PHP Code:
#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>

float g_TagChangedTime[MAXPLAYERS+1];

public 
void OnClientConnected(int client)
{
    
g_TagChangedTime[client] = 0.0;
}

public 
Action OnClientCommandKeyValues(int clientKeyValues kv)
{
    
char sCmd[64];
    
    if (
kv.GetSectionName(sCmdsizeof(sCmd)) && StrEqual(sCmd"ClanTagChanged"false))
    {
        if (
g_TagChangedTime[client] && GetGameTime() - g_TagChangedTime[client] <= 60.0)
            return 
Plugin_Handled;
        
        
g_TagChangedTime[client] = GetGameTime();
    }
    
    return 
Plugin_Continue;

Quote:
Originally Posted by checkster View Post
Just smac_ignorecmd or how ever its written.
It's not possible to block using that command (yet). I'll update it once this feature moves to SM 1.7.
__________________
GoD-Tony is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 08-28-2015 , 14:48   Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #7

Quote:
Originally Posted by GoD-Tony View Post
Something like this should block it, but it requires a recent snapshot of SourceMod 1.8:

PHP Code:
#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>

float g_TagChangedTime[MAXPLAYERS+1];

public 
void OnClientConnected(int client)
{
    
g_TagChangedTime[client] = 0.0;
}

public 
Action OnClientCommandKeyValues(int clientKeyValues kv)
{
    
char sCmd[64];
    
    if (
kv.GetSectionName(sCmdsizeof(sCmd)) && StrEqual(sCmd"ClanTagChanged"false))
    {
        if (
g_TagChangedTime[client] && GetGameTime() - g_TagChangedTime[client] <= 60.0)
            return 
Plugin_Handled;
        
        
g_TagChangedTime[client] = GetGameTime();
    }
    
    return 
Plugin_Continue;

It's not possible to block using that command (yet). I'll update it once this feature moves to SM 1.7.
I was unaware of that, and nice that there is no kick.
checkster is offline
razorxrazor
Junior Member
Join Date: Sep 2015
Old 11-06-2015 , 12:41   Re: [CSGO] SMAC Client Protection enhancement (clanid spam)
Reply With Quote #8

How does this work ? what should I do ?
razorxrazor is offline
razorxrazor
Junior Member
Join Date: Sep 2015
Old 11-13-2015 , 14:28   clan id spam pleas help
Reply With Quote #9

PHP Code:
L 11/13/2015 15:10:08"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:09"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:09"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:09"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:10"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:10"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:12"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:12"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:12"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:13"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:13"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:13"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:14"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:16"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:16"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:17"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:19"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:20"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:21"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:22"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:22"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:22"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:25"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:25"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:26"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:26"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:27"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:27"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:27"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:28"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:28"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:28"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:29"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:29"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:30"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:31"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:32"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:33"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value "")
L 11/13/2015 15:10:34"多米尼克 ♥†<115><STEAM_1:0:52236012><CT>" triggered "clantag" (value ""
razorxrazor is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 11-13-2015 , 14:36   Re: clan id spam pleas help
Reply With Quote #10

https://forums.alliedmods.net/showthread.php?t=270684
Darkness_ is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode