Raised This Month: $32 Target: $400
 8% 

Server Packeting Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Hawk552 (427)
stevenlafl
Member
Join Date: Apr 2005
Location: Florida, USA
Old 07-01-2009 , 17:06   Server Packeting Protection
Reply With Quote #1

Many servers may have noticed considerable lag with pings rising into the hundreds, if not thousands. Their connection can handle the players, but seemingly randomly, it will start lagging.

If you are confused as to why this is happening, I have the answer. It's a command called "fullupdate". When it is spammed thousands of times in a script, it creates a lag spike that takes approximately 2 seconds to dissipate.

When several people with this script initiate the attack at the same time, it will cause a wave of lag that does not stop. There are groups who have made an art of it, leaving no trace that they ever initiated the command. Most GoldSrc(HL1 engine) servers are vulnerable. (Excluding Counter-Strike) Counter-Strike is NOT vulnerable

The "fullupdate" command is used by some innocent Half-Life features, so I have come up with a solution that does not have false positives.

This plugin fully supports amxbans, so there is no editing required. It has been used by me and a select group of others to protect their servers since early 2008.

[CVars]
sv_fullupdate_action - What action to take. (0 = block only. 1 = ban. 2 = warn, then ban. 3 = warn and block only)

[Changelog]
[+/-] Fixed indenting and reduced infoholder array size.
[+] Cached amxbans detection. (suggestion by Nextra)
[+] Allowed fullupdate command until it's detected to be a packeting attempt.
[+] Added three modes: block only, ban, warn then ban, and warning and block only. (suggestion by ConnorMcLeod)
Attached Files
File Type: sma Get Plugin or Get Source (fullupdate.sma - 8285 views - 2.0 KB)
__________________
Hippopotomonstrosesquippedaliophobia

Last edited by stevenlafl; 07-02-2009 at 16:28. Reason: Clarity.
stevenlafl is offline
Send a message via AIM to stevenlafl
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-01-2009 , 17:13   Re: Server Packeting Protection
Reply With Quote #2

At last game update, a cooldown has been added to this command, plugin should be useless.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
stevenlafl
Member
Join Date: Apr 2005
Location: Florida, USA
Old 07-01-2009 , 17:14   Re: Server Packeting Protection
Reply With Quote #3

It works. I tested it on my development server a few days ago.
__________________
Hippopotomonstrosesquippedaliophobia
stevenlafl is offline
Send a message via AIM to stevenlafl
SoupNazi
Junior Member
Join Date: May 2005
Old 07-01-2009 , 17:18   Re: Server Packeting Protection
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
At last game update, a cooldown has been added to this command, plugin should be useless.
None of the last few updates in the changelog suggest anything relating to the "fullupdate" command.
SoupNazi is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-01-2009 , 17:26   Re: Server Packeting Protection
Reply With Quote #5

Quote:
[-]May 19, 2009 - Counter-Strike 1.6 Update Released
Updates to Counter-Strike 1.6 have been released. The updates will be applied automatically when your Steam client is restarted. The specific changes include:

Counter-Strike 1.6


Rolled back recent silent walking exploit fixes as we investigate less impactful ways of preventing the bug

Adjusted bomb bounding box to prevent silent plant exploit

Fix to eliminate or significantly reduce "flashbugs"

Fixed status icons (buy zone, bomb zone, etc) disappearing when starting a recording, or issuing a fullupdate

Prevent creating aliases using the same name as existing cvars

Rate limit fullupdate and some other commands to prevent spamming

Fixed an issue with grenades where they could go into an area and bounce infinitely, causing the server to choke and or crash
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
stevenlafl
Member
Join Date: Apr 2005
Location: Florida, USA
Old 07-01-2009 , 17:27   Re: Server Packeting Protection
Reply With Quote #6

Counter-Strike, not HL1 engine.

I HAVE tested this since then. It DOES work on mods other than Counter-Strike. Try it out.
Edited original post to exclude Counter-Strike.

I've tested this with "The Specialists" and "Half-Life 1." However, most mods should be vulnerable.
__________________
Hippopotomonstrosesquippedaliophobia

Last edited by stevenlafl; 07-01-2009 at 17:39.
stevenlafl is offline
Send a message via AIM to stevenlafl
Owyn
Veteran Member
Join Date: Nov 2007
Old 07-01-2009 , 17:29   Re: Server Packeting Protection
Reply With Quote #7

are you useing no-steam? anyway many big plugins have blocking for fullupdate already included
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
stevenlafl
Member
Join Date: Apr 2005
Location: Florida, USA
Old 07-01-2009 , 17:32   Re: Server Packeting Protection
Reply With Quote #8

Which ones? I am also not familiar with "no-steam". I use Steam for every game I own. I play on Steam servers.

Why is it that the entirety of the "The Specialists" mod servers are vulnerable?

I am trying to do the community a favor. If they don't need the plugin, then they don't have to use it. This is for people who need it. I need it, and I have been using it. It has been protecting my server for a year now.
__________________
Hippopotomonstrosesquippedaliophobia

Last edited by stevenlafl; 07-01-2009 at 17:35.
stevenlafl is offline
Send a message via AIM to stevenlafl
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 07-01-2009 , 17:41   Re: Server Packeting Protection
Reply With Quote #9

Look steven, they are just trying to see if the plugin is not useful but you already proved it is so no problem.
__________________
joaquimandrade is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-01-2009 , 18:06   Re: Server Packeting Protection
Reply With Quote #10

.Owny. stop making useless posts.
__________________
Still...lovin' . Connor noob! Hello
Alka 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 19:50.


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