Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] [PATCH] validmaxplayers (was: Disable DoS attacks on civse
Home

[Freeciv-Dev] [PATCH] validmaxplayers (was: Disable DoS attacks on civse

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [PATCH] validmaxplayers (was: Disable DoS attacks on civservers)
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 14 Dec 2001 13:05:07 +0100

On Wed, Dec 12, 2001 at 06:42:47PM +0100, mojzisek@xxxxxxxxxxxxxxxxxxxx wrote:
> Hi there,
> 
> maybe you noticed, that in last few days several DoS attacks appeared on
> civserver.freeciv.org. That attack consists in joining the server,
> creating an AI player, setting option maxplayers to 1, and disconnecting.
> The server was then locked for everyone.
> 
> I wrote a few lines of code disabling that attack. It is a fast hack, but
> it works pretty well using trigger function on option maxplayers. A patch
> is included against latest cvstree.
> 
> Please, let me know, if you accept that patch or not. Thanx for your work
> on freeciv.

The patch is now applied on civserver.freeciv.org (attached below).
I'm also sending this to bugs@ to put it into the maintainers' vision.

-- 
Reinier

Attachment: validmaxplayers.patch
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]