NetFilter
[Top] [All Lists]

syn DDoS attack solution

To: netfilter@lists.netfilter.org
Subject: syn DDoS attack solution
From: Bgs <bgs@bgs.hu>
Date: Thu, 31 May 2007 18:19:14 +0200
Delivered-to: sp-com-lists@consult.net
Delivered-to: netfilter-list1@securepoint.com
List-archive: </pipermail/netfilter>
List-help: <mailto:netfilter-request@lists.netfilter.org?subject=help>
List-id: General discussion and user questions <netfilter.lists.netfilter.org>
List-post: <mailto:netfilter@lists.netfilter.org>
List-subscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe>
List-unsubscribe: <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe>
Sender: netfilter-bounces@lists.netfilter.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070221 SeaMonkey/1.1.1

 Hi all,


We recently got under a low traffic botnet DDoS attack. All attacker nodes opened a single tcp session (just SYN part) and then did nothing. This rules out rate limiting solutions and syncookie doesn't help either. (Thousands of attacking nodes).


I'd like to know you thoughts about two possible approaches in solving this:

- syn proxy: already used for example by Cisco. The router handles the first part of the connection and only routes packets to the client if the connection seems good. (Good against single/spoofed incoming SYNs but may be used to wait for the first packet with actual data as well). - Implement a conntrack solution that gives a timestamp to the connection. Then this timestamp could be used to drop the connection if no data arrives within a configured time limit (good for open inactive connections only). Of course appropriate close toward the local client has to be done as well.

What's your opinion?

Bye
Bgs


<Prev in Thread] Current Thread [Next in Thread>