[ioquake3] DDOS attack on ioquake servers

2012-01-12 Thread RawShark
I have come across the following scenario: Your Quake 3 or ioquake3 server may be being used for a Distributed Reflection Denial of Service attack if attackers spoofs some packets (with target server ip) and asks gameserver to send all server information (about 2k of data). Gameserver sends all se

Re: [ioquake3] DDOS attack on ioquake servers

2012-01-12 Thread Tim Angus
On 12/01/2012 10:59, RawShark wrote: I'd like to hear what people think about this. We have shut down our server to avoid the IP being blacklisted until a solution presents itself. I'm thinking ioquake3 should be patched in some way to detect this exploit? I can't really think of any combination

Re: [ioquake3] DDOS attack on ioquake servers

2012-01-12 Thread gillux
> I'd like to hear what people think about this. The distribution of the attack over a lot of game servers cannot be avoided AFAIK. But to protect a single server, limiting the number of requests per IP sounds like the only solution to me. This can easily be done using iptables (so also works for

Re: [ioquake3] DDOS attack on ioquake servers

2012-01-12 Thread Nerius Landys
I created a special patch for Urban Terror 4.1 server code (open source, based off an old ioquake3) a month ago when the exploit became severe. My code limits the total number of getinfo+getstatus responses to 48 for the previous 2 seconds elapsed. In addition, the code limits the number of getin

Re: [ioquake3] DDOS attack on ioquake servers

2012-01-12 Thread Tim Angus
On 12/01/2012 17:41, Nerius Landys wrote: I created a special patch for Urban Terror 4.1 server code (open source, based off an old ioquake3) a month ago when the exploit became severe. My code limits the total number of getinfo+getstatus responses to 48 for the previous 2 seconds elapsed. In a

Re: [ioquake3] DDOS attack on ioquake servers

2012-01-12 Thread Nerius Landys
> Do you mean to say you're using the same rate limiting code as ioq3, but > with tighter constraints? I actually have not looked at ioquake3 code trunk in a while. One of my "versions" of UrT server source code is based on ioquake3 1.36 (svn://svn.icculus.org/quake3/tags/1.36/) and I could have

Re: [ioquake3] DDOS attack on ioquake servers

2012-01-12 Thread Tim Angus
On Thu, 12 Jan 2012, 18:45:34 GMT, Nerius Landys wrote: > > Do you mean to say you're using the same rate limiting code as ioq3, > > but with tighter constraints? > > I actually have not looked at ioquake3 code trunk in a while. > > One of my "versions" of UrT server source code is based on ioqu