From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harrison Subject: SYN only packets Date: Fri, 05 Aug 2005 01:53:38 +0100 Message-ID: <42F2B892.30507@blackicehosting.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org Hi, I've been trying to calm down some DDoS attacks on my server, but i've been stymied on how to block them- however, as APF's AntiDOS plugin captured and reported to root, the really vigorous ones (The ones it catches) have no ACK in their headers. SYN, but no ACK. I've read that this is a common technique used by DDoSers, but i'm unsure if anything else depends on it. The plan i'm looking at is possibly blocking all packets with SYN alone, no ACK.. would this be possible with iptables, and how would this affect other web services? Here's one of the captured packet messages (MAC/IPs are removed obviously) Aug 4 21:02:30 ukdsl21 kernel: ** IN_TCP DROP ** IN=eth0 OUT= MAC=** SRC=** DST=** LEN=48 TOS=0x04 PREC=0x00 TTL=116 ID=53191 DF PROTO=TCP SPT=4122 DPT=4899 WINDOW=64240 RES=0x00 SYN URGP=0 OPT (020405B401010402) Any ideas? Sorry if this sounds completely barmy- if it does, do tell :-) Thanks in advance, James Harrison