[FilterScript] Anti Server Bots Attack
#1

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.
Reply
#2

Good work!
Reply
#3

n1 now it must put in samp client and it ok
Reply
#4

nice man it prove
Reply
#5

I'll be using this, if I will have any attacks, like as you said in the first page
Reply
#6

function banall must return a value..
Reply
#7

Quote:
Originally Posted by uprp
Посмотреть сообщение
function banall must return a value..
Forgot that one, fixed.
Reply
#8

thank amit this very useful so no bot attack again
Reply
#9

Smart, these fake players stay on for about 10 minutes and leave eh? I like the idea inside the script, good one.
Reply
#10

65535 ping = ban? lmao
( rarely i had 12000 ++ when downloading )

I like the idea, this one is useful.

Excellent work, Amit_B.
Reply
#11

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.
Reply
#12

Excellent work, I'll use it for sure.
Reply
#13

Good work!
Reply
#14

Updated
http://pastebin.com/UXznpXwx
Reply
#15

Thanks im add it to my server
Reply
#16

Server has been attacked. I loaded the script and no ban was made in 10 minutes. Attack is still going on.
Reply
#17

thanx i will update it now on my gamemode
Reply
#18

Works Smooth on my server!

Tnx Amit u probably saved alot of leaving player!

תודה אחי
Reply
#19

Good work..
Reply
#20

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)