From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ric Messier" Subject: RE: syn DDoS attack solution Date: Fri, 1 Jun 2007 15:38:12 -0600 Message-ID: <013901c7a495$2890f760$79b2e620$@COM> References: <465EF582.4070904@bgs.hu> <015e01c7a3bf$64fbe7e0$2ef3b7a0$@COM> <465FEA82.709@bgs.hu> <007101c7a45d$bc50e380$34f2aa80$@COM> <466090CA.2050806@rtij.nl> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <466090CA.2050806@rtij.nl> Content-Language: en-us 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" To: 'Martijn Lievaart' Cc: netfilter@lists.netfilter.org Martijn Lievaart writes: > > Ric Messier wrote: > > Then your original description was incorrect or at least inadequate. > It has > > nothing to do with SYN as originally suggested since an ESTABLISHED > > connection has blown past SYN, through SYN/ACK and by ACK. It has > completed > > the TCP handshake, as you note above. A SYN attack/flood would stop > after > > sending the initial SYN and leave the connection half-open to exhaust > the > > half-open buffers. > > > > An connection is in the ESTABLISHED state once a packet has been seen. > So once the SYN is seen, the state is ESTABLISHED. > Not last time I checked. That may be true to some degree in iptables but in netstat, an ESTABLISHED connection is one that has made it through the handshake process. Otherwise, it's in SYN_RECV state. Ric