-   Linux - Security (
-   -   How to block too many UDP connections to certain ports (

farenheitcx 08-16-2012 10:56 PM

How to block too many UDP connections to certain ports
Hi guys, I have a dedicated server for Counter Strike, sure you know the game, but my problem is not the game, is about the security of the server.
Today I noticed that my server is under a kind of flood attacks over udp ports, but this not causing high traffic in network bandwith or server resources like CPU or RAM. Otherwise the ports used by the game server have many packets connects at the same time, more than 1000 and that cause high ping response for server status querys.

This is the netstat output:


udp    5888      0*
udp    3680      0*

How I can prevent this with iptables? What is the exactly steaps to prevent against this kind of attack? Thanks in adavance

Noway2 08-17-2012 07:47 AM

Game servers can be tricky beasts that are frequently targeted for attacks. Responding to them can be even more tricky, making a simply "do this" answer to your question difficult. My recommendation, assuming you haven't already, would be to review these threads, some of which go into great detail regarding stopping UDP floods on game servers.

All times are GMT -5. The time now is 07:52 AM.