0.3.7 Dos Joins
#1

hello i wanted to script something like this to protect my server from dos.
Quote:

someone (ID:0) has been automatically kicked for multiple On Player Connect calls (0.3.7 Dos Joins)

i think it's someting like connection bots but i really need something like this to protect my server. if you can help. thanks.
Reply
#2

Get the ip of a player
Define max logins per ip
if the count of logins is more than max logins of an ip he gets kicked automatically
Simple
if this helped + rep
Reply
#3

can you show me please?
Reply
#4

Same with my problem . but fixhed!
Here you go : https://sampforum.blast.hk/showthread.php?tid=320649

I use this on my GM :

pawn Code:
public OnPlayerFloodControl(playerid, iCount, iTimeSpan) {
    if(iCount > 2 && iTimeSpan < 5000) {
        Ban(playerid);
    }
}
Reply
#5

Anti bot attack + IP limits
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)