[CS:S|ANY?] Voice Data Crash Fix [Updated 22-Dec-2022]
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. Code:
Netchannel: unknown net message (48) from [Server IP Address:Port] 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? 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 |
Re: [CS:S|ANY?] Voice Data Crash Fix [Updated 20-Dec-2022]
Version 1.2
-Added logic for kick invalid steamids instead of ban (because ban should not work on invalid steamids). |
Re: [CS:S|ANY?] Voice Data Crash Fix [Updated 20-Dec-2022]
Quote:
It seems kick does not work. Also it seems its spitting out "INVALID" now. I tried changing it to mute now. |
Re: [CS:S|ANY?] Voice Data Crash Fix [Updated 20-Dec-2022]
Quote:
Also check log errors. Mute should occur on any case. EDIT: I added double check for the steamid. |
Re: [CS:S|ANY?] Voice Data Crash Fix [Updated 20-Dec-2022]
Quote:
Yeah, I noticed that we have KickClient and KickClientEx. Regarding the mute, funny enough it seems it never really mutes the player, meaning he keeps being able to send data to the server that relays back to other players. |
Re: [CS:S|ANY?] Voice Data Crash Fix [Updated 20-Dec-2022]
Seems that now it works well for not validated users
Before the update: Code:
L 12/20/2022 - 22:30:01: [voicedata_crashfix.smx] uwu (ID: STEAM_ID_STOP_IGNORING_RETVALS | IP: {ip}) was kicked for trying to crash the server with voice data overflow. Total packets: 6350 Code:
L 12/22/2022 - 23:02:24: [voicedata_crashfix.smx] uwu (ID: STEAM_0:1:{steamid} (Not Validated) | IP: {ip}) was kicked for trying to crash the server with voice data overflow. Total packets: 6350 Version 1.3 -Added logic for not validated users. Now the next I added logic for ban IP from not valid users to the dev version. But probably I could automatic ban the steamid too since now I can handle it. |
Re: [CS:S|ANY?] Voice Data Crash Fix [Updated 22-Dec-2022]
I don't remember if plain thank you posts are allowed on this forum or not, delete if necessary. But thank you so much Franc1sco. After a little tinkering to avoid kicking regulars who were clearly not exploiting, this plugin works great.
⭐️⭐️⭐️⭐️⭐️ |
All times are GMT -4. The time now is 03:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.