sn3ejk
This account is inactive.
- Joined
- Nov 16, 2011
- Messages
- 2,121
- Solutions
- 1
- Reaction score
- 145
| Prevent spam packets Fix ________________________________________ |
1. Introduction |
In case that you've got an OT-Server with a decent amount of players you probably know how important it is to keep your server secured. There are people out there who just wants to destroy and ruin the life of your OT-Server, a known trick they use is to spam packages ingame. I wish to help owners of a server, who doesn't have too much experience, but they still want to have a great server. This piece of code will protect your server, because it will prevent people from spamming packets to your server! The code will prevent players ingame from sending too many packets by using features such as follow. |
2. How does it work? |
When a player got a bot and the knownledge which is required he is capable of causing massive lags to the server. He will send the server lots of packages (e.g follow) to the server, the server can take of smaller amounts of these packages but if the packages are too many the CPU usage will raise up to 100%. The server will suspend and all the players will receive massive laggs - This is a common technic hackers use to make the life hard for OT-Server owners. When the server realize that there is a player which is trying to cause laggs it will automaticly ignore his next packages, of course they will only be ignored for a certain time (configurable in config.lua). The script has been tested on the latest trunk (0.4 - trunk.r5669). |
3. Payment |
I do only accepy payments through paypal as a gift. The price is 15 EUR but it can be negotiated , I will sell unlimited amount of copies of it. |