T
T
Type Programmer2018-08-14 13:21:56
linux
Type Programmer, 2018-08-14 13:21:56

How to protect the server from UDP flooding to the game server?

The thing is, there is a server there, some kind of port 2500, I noticed that the server literally immediately goes to bed at DoSe on UDP flood. (And yes, I’m sure that I didn’t fill my Internet band, I tested with the help of my VPS).
How can you solve this problem so that you can play, and such ddosers are thrown away?
On different OS Windows/Linux?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2018-08-14
@MegaCraZy6

Linux:
Calculate the average traffic from a normal user, packets per minute. After adding a good margin, you limit the number of packets per second per ip address in iptables.
In addition, if the game server logs errors when receiving flood packets, you can add log monitoring via fail2ban, sending ban those ip-addresses that cause a lot of such errors

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question