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

CSGO - have fun with the server lagger exploit


Post New Thread Reply   
 
Thread Tools Display Modes
jillchang917
Member
Join Date: Dec 2017
Old 06-12-2018 , 06:55   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #151

OMG, I spent HOURS looking to see what was causing my servers to crash.
I noticed a SPAM of these logs
Msg from 166.170.53.161:22100: clc_VoiceData msg rejected (102 bytes)

Apparently, you guys are suffering from it too. I run TF2 btw.

Any fix for this exploit?
jillchang917 is offline
jillchang917
Member
Join Date: Dec 2017
Old 06-12-2018 , 07:03   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #152

Quote:
Originally Posted by Visual77 View Post
This needs patching on all other games. I assume it can't be done without dhooks?

Edit: updated script. tickrate limit caused too many false positives on l4d2
Edit 2: removing tickerate limit. The exploit sends 128 packets per sec, so setting 92 as limit.

Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#include <voiceannounce_ex>
#pragma newdecls required

#define PATH			"logs/voicedata_crashfix.log"
#define PLUGIN_VERSION		"1.0.2"	

ConVar maxVoicePackets;
ConVar punishment;

int g_voicePacketCount[MAXPLAYERS+1];
int iPunishMent;
int iMaxVoicePackets;

public Plugin myinfo = 
{
	name = "Voice Data Crash Fix",
	author = "Ember & V1sual",
	description = "Punishes players who are overflowing voice data to crash the server",
	version = PLUGIN_VERSION,
	url = ""
};

public void OnPluginStart()
{
	punishment = CreateConVar("sm_voicedatafix_punishment", "1", "Punishment. 1 = Kick, 2 = Perm ban", _, true, 1.0, true, 2.0);
	maxVoicePackets = CreateConVar("sm_voicedatafix_count", "92", "How many packets per second max?", FCVAR_PROTECTED);

	iPunishMent = punishment.IntValue;
	iMaxVoicePackets = maxVoicePackets.IntValue;

	punishment.AddChangeHook(OnConVarHook);
	maxVoicePackets.AddChangeHook(OnConVarHook);
}

public void OnConVarHook(ConVar cvar, const char[] oldVal, const char[] newVal) 
{
	if (cvar == punishment)
	{
		iPunishMent = cvar.IntValue;
	}
	else if (cvar == maxVoicePackets)
	{
		iMaxVoicePackets = cvar.IntValue;
	}
}

public void OnMapStart()
{
	CreateTimer(1.0, ResetCount, _, TIMER_REPEAT|TIMER_FLAG_NO_MAPCHANGE);
}

public Action ResetCount(Handle timer)
{
	for (int i = 1; i <= MaxClients; i++)
	{
        	g_voicePacketCount[i] = 0;
	}
	
	return Plugin_Continue;
}

public void OnClientSpeakingEx(int client)
{
	if (++g_voicePacketCount[client] > iMaxVoicePackets) 
	{
		SetClientListeningFlags(client, VOICE_MUTED);

		char id[64], ip[32];

		GetClientAuthId(client, AuthId_Steam2, id, sizeof(id));  
		GetClientIP(client, ip, sizeof(ip));

		LogToPluginFile("%N (ID: %s | IP: %s) was %s for trying to crash the server with voice data overflow. Total packets: %i", 
		client, 
		id, 
		ip, 
		punishment.IntValue == 1 ? "kicked" : "banned", 
		g_voicePacketCount[client]);
		
		switch (iPunishMent)
		{
			case 1:
			{
				if (!IsClientInKickQueue(client))
				{
					KickClient(client, "Voice data overflow detected!");
				}
			}
			case 2:
			{
				ServerCommand("sm_ban #%d 0 \"Voice data overflow detected!\"", GetClientUserId(client));
			}
		}
	}
}

stock void LogToPluginFile(const char[] format, any:...)
{
	char f_sBuffer[1024], f_sPath[1024];
	VFormat(f_sBuffer, sizeof(f_sBuffer), format, 2);
	BuildPath(Path_SM, f_sPath, sizeof(f_sPath), PATH);
	LogToFile(f_sPath, "%s", f_sBuffer);
}
Anyone try this plugin to patch the Msg from clc_VoiceData msg rejected exploit?
jillchang917 is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 09-11-2018 , 05:43   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #153

Is this needed still? I got a false positive kick.

Quote:
Disconnect: Attempted server crash exploit.
Disconnect: Attempted server crash exploit.

L 09/11/2018 - 11:25:19: Banned krEJZi<4><STEAM_*><> for sending more than one player_connect_full event (Confirmed crash attempt)
Thats me, and I know I didnt use any exploit on my own server.

Using:
03 "NullWave Crash Fix Old SourceBans" (0.2.1) by backwards, IT-KiLLER, SM9();
Ejziponken is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-11-2018 , 12:11   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #154

I believe you can safely remove these plugins.
__________________
sneaK is offline
Flotz
Member
Join Date: Aug 2016
Old 11-12-2018 , 13:39   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #155

null.wav exploit it's back guys, https://forums.alliedmods.net/showthread.php?t=311968, old nullwavefix.smx isn't working anymore.

Last edited by Flotz; 11-12-2018 at 13:40.
Flotz is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 11-12-2018 , 16:27   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #156

Quote:
Originally Posted by Flotz View Post
null.wav exploit it's back guys, https://forums.alliedmods.net/showthread.php?t=311968, old nullwavefix.smx isn't working anymore.
It's not the same exploit, it's just a filename path they used. They could use any filename path and have the same affect.
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
j1gg
Senior Member
Join Date: Dec 2015
Old 02-01-2019 , 05:46   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #157

How to fix this Msg from 83.25.111.19:27005: CCLCMsg_VoiceData rejected by msg bind (154 bytes)
__________________
j1gg is offline
zwetch
Senior Member
Join Date: Aug 2015
Location: South Africa
Old 04-01-2019 , 09:40   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #158

Well I've been getting this error for a long time time, my servers are not crashing, but it is causing players to get a "voice error" and are being disconnected when they talk in-game. Random shit cant find a fix for it.

Tends to happen more if a DB lags when sending / receiving information.

Basically a player talking in-game then DB lag then player disconnected then "Voice error" disconnect msg.


Msg from 197.101.94.33:27005: CCLCMsg_VoiceData rejected by msg bind (88 bytes)
Dropped ѕнoprιтe pacĸeт from server: Voice Error
__________________
https://forums.alliedmods.net/signaturepics/sigpic262740_1.gif

Last edited by zwetch; 04-02-2019 at 01:25.
zwetch is offline
cancan
Member
Join Date: Jul 2019
Old 09-20-2019 , 16:23   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #159

Hello,

Does any plugin works for;

SendNetMsg stream[netchan_t::reliabledata] buffer overflow (maxsize = 4000)!

What I need to do for that?

Thank you.

Last edited by cancan; 09-20-2019 at 16:23.
cancan is offline
gilobij
Junior Member
Join Date: Nov 2019
Old 11-20-2019 , 20:46   Re: CSGO - have fun with the server lagger exploit
Reply With Quote #160

hi all, help me analyse this log

Quote:
Error parsing BotProfile.db - unknown attribute 'Rank'
Client "поскорее бы сдохнуть" connected (IP:27005).
PutClientInServer: no info_player_start on level
Dropped поскорее бы сдохнуть from server: Disconnect
-> Reservation cookie 0: reason reserved(yes), clients(no), reservationexpires(0.00)

Player was disconnected by itself?
gilobij is offline
Reply



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 06:05.


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