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

[Req] Ban Connection Flood


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
TeddiBer
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 09:36   [Req] Ban Connection Flood
#1

Hello All !

theres a new exploit that flooding the server with lot of players, and it cause serious lags ...

so i need a plugin that will give a banip to the flooding players.
TeddiBer is offline
Boyka Abi
BANNED
Join Date: May 2012
Old 05-20-2012 , 09:50   Re: [Req] Ban Connection Flood
#2

I think this should do it.

PHP Code:
/* AMX Mod X
*   Anti Flood Plugin
*
* by the AMX Mod X Development Team
*  originally developed by OLO
*
* This file is part of AMX Mod X.
*
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License as published by the
*  Free Software Foundation; either version 2 of the License, or (at
*  your option) any later version.
*
*  This program is distributed in the hope that it will be useful, but
*  WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*  General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software Foundation,
*  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  In addition, as a special exception, the author gives permission to
*  link the code of this program with the Half-Life Game Engine ("HL
*  Engine") and Modified Game Libraries ("MODs") developed by Valve,
*  L.L.C ("Valve"). You must obey the GNU General Public License in all
*  respects for all of the code used other than the HL Engine and MODs
*  from Valve. If you modify this file, you may extend this exception
*  to your version of the file, but you are not obligated to do so. If
*  you do not wish to do so, delete this exception statement from your
*  version.
*/

#include <amxmodx>

new Float:g_Flooding[33] = {0.0, ...}
new 
g_Flood[33] = {0, ...}

new 
amx_flood_time;

public 
plugin_init()
{
    
register_plugin("Anti Flood"AMXX_VERSION_STR"AMXX Dev Team")
    
register_dictionary("antiflood.txt")
    
register_clcmd("say""chkFlood")
    
register_clcmd("say_team""chkFlood")
    
amx_flood_time=register_cvar("amx_flood_time""0.75")
}

public 
chkFlood(id)
{
    new 
Float:maxChat get_pcvar_float(amx_flood_time)
    
    if (
maxChat)
    {
        new 
Float:nexTime get_gametime()
        
        if (
g_Flooding[id] > nexTime)
        {
            if (
g_Flood[id] >= 3)
            {
                
server_cmd("amx_ban #%d 5 ^"Stop spamming^""get_user_userid(id)) 
                
client_print(idprint_notify"** %L **"id"STOP_FLOOD")
                
g_Flooding[id] = nexTime maxChat 3.0
                
return PLUGIN_HANDLED
            
}
            
g_Flood[id]++
        }
        else if (
g_Flood[id])
        {
            
g_Flood[id]--
        }
        
        
g_Flooding[id] = nexTime maxChat
    
}
    
    return 
PLUGIN_CONTINUE

Boyka Abi is offline
TeddiBer
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 10:52   Re: [Req] Ban Connection Flood
#3

Quote:
Originally Posted by Boyka Abi View Post
I think this should do it.

PHP Code:
/* AMX Mod X
*   Anti Flood Plugin
*
* by the AMX Mod X Development Team
*  originally developed by OLO
*
* This file is part of AMX Mod X.
*
*
*  This program is free software; you can redistribute it and/or modify it
*  under the terms of the GNU General Public License as published by the
*  Free Software Foundation; either version 2 of the License, or (at
*  your option) any later version.
*
*  This program is distributed in the hope that it will be useful, but
*  WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
*  General Public License for more details.
*
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software Foundation,
*  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  In addition, as a special exception, the author gives permission to
*  link the code of this program with the Half-Life Game Engine ("HL
*  Engine") and Modified Game Libraries ("MODs") developed by Valve,
*  L.L.C ("Valve"). You must obey the GNU General Public License in all
*  respects for all of the code used other than the HL Engine and MODs
*  from Valve. If you modify this file, you may extend this exception
*  to your version of the file, but you are not obligated to do so. If
*  you do not wish to do so, delete this exception statement from your
*  version.
*/

#include <amxmodx>

new Float:g_Flooding[33] = {0.0, ...}
new 
g_Flood[33] = {0, ...}

new 
amx_flood_time;

public 
plugin_init()
{
    
register_plugin("Anti Flood"AMXX_VERSION_STR"AMXX Dev Team")
    
register_dictionary("antiflood.txt")
    
register_clcmd("say""chkFlood")
    
register_clcmd("say_team""chkFlood")
    
amx_flood_time=register_cvar("amx_flood_time""0.75")
}

public 
chkFlood(id)
{
    new 
Float:maxChat get_pcvar_float(amx_flood_time)
    
    if (
maxChat)
    {
        new 
Float:nexTime get_gametime()
        
        if (
g_Flooding[id] > nexTime)
        {
            if (
g_Flood[id] >= 3)
            {
                
server_cmd("amx_ban #%d 5 ^"Stop spamming^""get_user_userid(id)) 
                
client_print(idprint_notify"** %L **"id"STOP_FLOOD")
                
g_Flooding[id] = nexTime maxChat 3.0
                
return PLUGIN_HANDLED
            
}
            
g_Flood[id]++
        }
        else if (
g_Flood[id])
        {
            
g_Flood[id]--
        }
        
        
g_Flooding[id] = nexTime maxChat
    
}
    
    return 
PLUGIN_CONTINUE

you didn't under stand me ...
i don't talking about chat flooding, i talking about the new 2012 exploit that cause extreme fake players flood, and i need a plugin that will give a permanent banip to the IP that keep connect flooding the server
TeddiBer is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-20-2012 , 11:03   Re: [Req] Ban Connection Flood
#4

Post the output of the following commands:
rcon meta list
rcon amxx plugins
rcon meta version
rcon version
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
TeddiBer
Senior Member
Join Date: Oct 2011
Old 05-20-2012 , 11:05   Re: [Req] Ban Connection Flood
#5

what it gut to do with that ?
first able i have anti dl file
and it not rather what plugin in use, there is an exploit, and i need a protection from it, and i sure that lot of people need
TeddiBer is offline
CrYyStI97
New Member
Join Date: May 2012
Old 05-22-2012 , 09:46   Re: [Req] Ban Connection Flood
#6

TeddiBer same problem and I am
Someone flodeaza my server with "HLDS Fake Players". This program attack server by connecting several fake player, resulting in an infernal lag
CONSOLE code:

Code:
Reason: Client sent 'drop'
Dropped ESL.THP|cookiemonster from server
Reason: Client sent 'drop'
Dropped kiro from server
Reason: Client sent 'drop'
89.123.149.146:27005:reconnect
Dropped unReaL`-` from server
Reason: Client sent 'drop'
Dropped Juve from server
Reason: Client sent 'drop'
Dropped mish-mash from server
Reason: Client sent 'drop'
User P.G.L*|*BoRoMIr (4) uses protocol 47; SteamID assigned by dproto
Dropped drakk from server
Reason: Client sent 'drop'
Dropped SCRIE /vot + CLICK PE VOTEAZA from server
Reason: Client sent 'drop'
Dropped MonsteRArmY*Johnny.ftw from server
Reason: Client sent 'drop'
Dropped mish-mash from server
Reason: Client sent 'drop'
Dropped mish-mash from server
Reason: Client sent 'drop'
Dropped sLn GamiNg | petko from server
Reason: Client sent 'drop'
User drakk (1) uses protocol 47; SteamID assigned by dproto
Dropped KeNWo0D from server
Reason: Client sent 'drop'
Dropped *n0nam3* from server
Reason: Client sent 'drop'
Dropped Psytech from server
Reason: Client sent 'drop'
Dropped ESL.THP|cookiemonster from server
Reason: Client sent 'drop'
Dropped fox1k_pro.cfg from server
Reason: Client sent 'drop'
Dropped ESL.THP|cookiemonster from server
Reason: Client sent 'drop'
Dropped fafla from server
Reason: Client sent 'drop'
Dropped P.G.L*|*BoRoMIr from server
Reason: Client sent 'drop'
Dropped VIP*igracha*VIP from server
Reason: Client sent 'drop'
Dropped .:C{o}oLBo[y]:. from server
Reason: Client sent 'drop'
Dropped ShOk0#GD from server
Reason: Client sent 'drop'
Dropped kiro from server
Reason: Client sent 'drop'
Dropped ShaDy_fan from server
Reason: Client sent 'drop'
Dropped mish-mash from server
Dropped trag_fugi from server
Reason: Client sent 'drop'
Dropped mish-mash from server
Reason: Client sent 'drop'
FATA ERROR (shutting down): SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram
This exploit only affects servers 47 & 48
This kind of flooding, no dproto not cope with setting dproto.cfg

This exploit is new, and there program dated 25/02/2012 as written on it!
If it helps to solve the error, you can send the program, just send me a pm as all kids do not want to abuse it
CrYyStI97 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-22-2012 , 09:49   Re: [Req] Ban Connection Flood
#7

Make your server Steam only and you won't have this problem. We don't support Non-Steam here.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
CrYyStI97
New Member
Join Date: May 2012
Old 05-22-2012 , 10:03   Re: [Req] Ban Connection Flood
#8

Please try to find a solution because many are non-Steam servers because of the ease with which populate
CrYyStI97 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-22-2012 , 10:11   Re: [Req] Ban Connection Flood
#9

We don't care about non-steam servers. Please read the rules.

NO STEAM = NO SUPPORT

and

Final word about No-Steam!
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Closed Thread


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 01:52.


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