Make Anti-DDoS
#1

Hi guys...

My server is easy target for hackers... They use Fake-Kills to restart my server.
Код:
[22:30:25] [kill] X killed Jack_Mixed UZI
[22:30:25] [kill] x killed Jack_Mixed MP5
[22:30:25] [kill] x killed Jack_Mixed AK47
[22:30:25] [kill] x killed Jack_Mixed M4
[22:30:25] [kill] x killed Jack_Mixed Heat Seaker
[22:30:25] [kill] x killed Jack_Mixed Flamethrower
[22:30:25] [kill] x killed Jack_Mixed Minigun
[22:30:25] [kill] x killed Jack_Mixed Bomb
[22:30:25] [kill] x killed Jack_Mixed Spray Can
[22:30:25] [kill] x killed Jack_Mixed 
[22:30:25] [kill] x killed Jack_Mixed Brass Knuckles
[22:30:25] [kill] x killed Jack_Mixed Golf Club
[22:30:25] [kill] x killed Jack_Mixed Nite Stick
[22:30:25] [kill] x killed Jack_Mixed Knife
[22:30:25] [kill] x killed Jack_Mixed Baseball Bat
[22:30:25] [kill] x killed Jack_Mixed Shovel
[22:30:25] [kill] x killed Jack_Mixed Pool Cue
[22:30:25] [kill] x killed Jack_Mixed Katana
[22:30:25] [kill] x killed Jack_Mixed Chainsaw
[22:30:25] [kill] x killed Jack_Mixed Dildo
[22:30:25] [kill] x killed Jack_Mixed Dildo
[22:30:25] [kill] x killed Jack_Mixed Vibrator
[22:30:25] [kill] x killed Jack_Mixed Vibrator
[22:30:25] [kill] x killed Jack_Mixed Flowers
[22:30:25] [kill] x killed Jack_Mixed Cane
[22:30:25] [kill] x killed Jack_Mixed Grenade
[22:30:25] [kill] x killed Jack_Mixed Teargas
That x is names of the player, and Jack_Mixed is hacker.
Any idea how to stop this except adding his ip to banlist... Something like if someone got killed too much times to kick him or can someone give me example code ?
Reply
#2

This isn't a DDoS, its called 'fake-kill', it can be easily patched within the script. You can easily find the snippet using the search feature.
Reply
#3

so what should i search... this is from my gamemode ?

I know that, that player hacked/crashed my server...
Reply
#4

"Anti-Fake Kill"

https://sampforum.blast.hk/showthread.php?tid=444603
Reply
#5

You should buy a ddos protection, but that can easily be expensive so i recomend you to rent a host or something. Its cheaper and the big companies has ddos protection.
Reply
#6

Quote:
Originally Posted by daniscape
Посмотреть сообщение
You should buy a ddos protection, but that can easily be expensive so i recomend you to rent a host or something. Its cheaper and the big companies has ddos protection.
What the fuck are you talking about? It is FAKE-KILL through cheat tools. This is not called DDoS.
Reply
#7

This is not "Denial of Service" (DoS), neither "Distributed Denial of Service" (DDoS).
Reply
#8

So guys is this Anti Fake-Kill system good ?
pawn Код:
new antifakekill[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
    antifakekill[playerid] ++;
    SetTimerEx("antifakekill2", 1000,false,"i",playerid);
return 1;
}
forward antifakekill2(playerid);
public antifakekill2(playerid)
{
    antifakekill[playerid] --;
    if(antifakekill[playerid] > 3)
    {
    new string[64], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"* %s was banned reason (Fake kill)",pName);
    SendClientMessageToAll(0xFF0000FF,string);
    BanEx(playerid, "Fake kill");
    }
    return 1;
}
Credits: AldoT

Will it work because my server is mysql based and if im putting this i must directly put it and if its buggy maybe it will ban all players... so is this system good ?
Reply
#9

Quote:
Originally Posted by NeroX98
Посмотреть сообщение
So guys is this Anti Fake-Kill system good ?
pawn Код:
new antifakekill[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
    antifakekill[playerid] ++;
    SetTimerEx("antifakekill2", 1000,false,"i",playerid);
return 1;
}
forward antifakekill2(playerid);
public antifakekill2(playerid)
{
    antifakekill[playerid] --;
    if(antifakekill[playerid] > 3)
    {
    new string[64], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"* %s was banned reason (Fake kill)",pName);
    SendClientMessageToAll(0xFF0000FF,string);
    BanEx(playerid, "Fake kill");
    }
    return 1;
}
Credits: AldoT

Will it work because my server is mysql based and if im putting this i must directly put it and if its buggy maybe it will ban all players... so is this system good ?
then add it and test with someone.
Reply
#10

How to test when i dont have the Fake-Kill things... Where can i download them (send link in PM please)

REP +1 all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)