Anti Server Bots Attack -
Amit_B - 03.09.2011
Hey everyone,
on the last months my server have been attacked using 'bots' that connecting to the server and making it full of faked players.
This is not mean't to the plugin that published recently and used to get fake players.
The bots senders, who created the application used to attack servers, seems to upgrade their application, so right for now this script will disable these bots.
This script tested on my servers and it works for now. The script, including the protection, contains IP-per-player limit of 6, it means that if 6 players with the same IP connects the server, they'll get banned.
To get this script -
http://pastebin.com/UXznpXwx
It will be updated if the bot senders will success breaking it.
Important! maxnpc on server.cfg have to be the right amount of NPCs used in the server. Larger amount could allow hackers to send faked NPCs.
Re: Anti Server Bots Attack - array13 - 03.09.2011
Good work!
Re: Anti Server Bots Attack -
Speed - 03.09.2011
n1 now it must put in samp client and it ok
Re: Anti Server Bots Attack -
dis77urbio - 03.09.2011
nice man
it prove
Re: Anti Server Bots Attack -
Gh0sT_ - 03.09.2011
I'll be using this, if I will have any attacks, like as you said in the first page
Re: Anti Server Bots Attack -
uprp - 03.09.2011
function banall must return a value..
Re: Anti Server Bots Attack -
Amit_B - 03.09.2011
Quote:
Originally Posted by uprp
function banall must return a value..
|
Forgot that one, fixed.
Re: Anti Server Bots Attack -
[US]Kenguru - 04.09.2011
thank amit this very useful so no bot attack again
Re: Anti Server Bots Attack -
Lorenc_ - 04.09.2011
Smart, these fake players stay on for about 10 minutes and leave eh? I like the idea inside the script, good one.
Re: Anti Server Bots Attack -
Basicz - 04.09.2011
65535 ping = ban? lmao
( rarely i had 12000 ++ when downloading )
I like the idea, this one is useful.
Excellent work, Amit_B.
Re: Anti Server Bots Attack -
Amit_B - 04.09.2011
Quote:
Originally Posted by Basicz
65535 ping = ban? lmao
( rarely i had 12000 ++ when downloading )
I like the idea, this one is useful.
Excellent work, Amit_B.
|
As I said it used on my server which contains downloading players, and players from some countries what means that their IP is really high. Also when you connecting to the server you got ping of 65535 and it doesn't affecting the script.
Re: Anti Server Bots Attack -
Darnell - 04.09.2011
Excellent work, I'll use it for sure.
Re: Anti Server Bots Attack -
Allz0r - 04.09.2011
Good work!
Re: Anti Server Bots Attack -
Amit_B - 09.09.2011
Updated
http://pastebin.com/UXznpXwx
Re: Anti Server Bots Attack -
Venice - 09.09.2011
Thanks im add it to my server
Re: Anti Server Bots Attack -
Jeffry - 30.10.2011
Server has been attacked. I loaded the script and no ban was made in 10 minutes. Attack is still going on.
Re: Anti Server Bots Attack -
_DownLoaD_ - 30.10.2011
thanx i will update it now on my gamemode
Re: Anti Server Bots Attack -
Rafiko - 30.10.2011
Works Smooth on my server!
Tnx Amit u probably saved alot of leaving player!
תודה אחי
Re: Anti Server Bots Attack -
GuyYahood1 - 11.12.2011
Good work..
Re: Anti Server Bots Attack -
Phanto90 - 11.12.2011
Quote:
Originally Posted by Amit_B
Hey everyone,
on the last months my server have been attacked using 'bots' that connecting to the server and making it full of faked players.
This is not mean't to the plugin that published recently and used to get fake players.
The bots senders, who created the application used to attack servers, seems to upgrade their application, so right for now this script will disable these bots.
This script tested on my servers and it works for now. The script, including the protection, contains IP-per-player limit of 6, it means that if 6 players with the same IP connects the server, they'll get banned.
To get this script - http://pastebin.com/UXznpXwx
It will be updated if the bot senders will success breaking it.
Important! maxnpc on server.cfg have to be the right amount of NPCs used in the server. Larger amount could allow hackers to send faked NPCs.
|
Thought you can just set maxnpc by server.cfg