View Single Post
Author Message
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-20-2022 , 13:07   [CS:S|ANY?] Voice Data Crash Fix [Updated 22-Dec-2022]
Reply With Quote #1

Description

Plugin for prevent the voice data overflow exploit that crash the clients on the server with this message:
Code:
Disconnect: Buffer overflow in net message.
And this spam on console:
Code:
Netchannel: unknown net message (48) from [Server IP Address:Port]
Tested recently on my css server where people still try to use this exploit.

You will see the attempts on addons/sourcemod/logs/voicedata_crashfix.log
Example:
Code:
L 12/17/2022 - 20:09:41: [voicedata_crashfix.smx] username (ID: STEAM_0:0:{steamid} | IP: {client ip}) was kicked for trying to crash the server with voice data overflow. Total packets: 5800

Requeriments:

Latest sourcemod version with the new speaking natives.
Or VoiceannounceEX and this branch instead if you are using a old sourcemod version.

Cvars:
Autogenerated file on cfg/sourcemod/ on first load.
Code:
// How many packets per second max?
// -
// Default: "92"
sm_voicedatacrashfix_count "92"

// Punishment. 0 = Just mute, 1 = Kick, 2 = Perm ban
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_voicedatacrashfix_punishment "1"
Credits:

Credits to this topic where people used the exploit on cs:go but valve fixed it, but this exploit still works on games like CS:S. I made some improvements and posted here for find it easily with support for old and recent sourcemod versions.


Download:

Main repository
Direct download
Code changes



For old sourcemod version use this:

Main repository
Direct download
Code changes
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 12-22-2022 at 21:09.
Franc1sco is offline
Send a message via MSN to Franc1sco