Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758254AbYBEQEa (ORCPT ); Tue, 5 Feb 2008 11:04:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752622AbYBEQEU (ORCPT ); Tue, 5 Feb 2008 11:04:20 -0500 Received: from one.firstfloor.org ([213.235.205.2]:43342 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752495AbYBEQET (ORCPT ); Tue, 5 Feb 2008 11:04:19 -0500 Date: Tue, 5 Feb 2008 17:39:12 +0100 From: Andi Kleen To: Alan Cox Cc: Andi Kleen , Glenn Griffin , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Add IPv6 support to TCP SYN cookies Message-ID: <20080205163912.GB23145@one.firstfloor.org> References: <47a79d64.16538c0a.5b6a.ffffb0fe@mx.google.com> <20080205155558.GA23145@one.firstfloor.org> <20080205154213.059ac6e8@core> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080205154213.059ac6e8@core> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1409 Lines: 34 On Tue, Feb 05, 2008 at 03:42:13PM +0000, Alan Cox wrote: > > Syncookies are discouraged these days. They disable too many > > valuable TCP features (window scaling, SACK) and even without them > > the kernel is usually strong enough to defend against syn floods > > and systems have much more memory than they used to be. > > Somewhat untrue. Network speeds have risen dramatically, the number of With strong I meant Linux has much better algorithms to handle the standard syn queue (syncookies was originally added when it had only dumb head drop) and there are minisocks which also require significantly less overhead to manage than full sockets (less memory etc.) When I wrote syncookies originally that all was not true. > appliances running Linux that are not PC class means memory has fallen > not risen and CPU has been pretty level. > > > So I don't think it makes much sense to add more code to it, sorry. > > I think it makes a lot of sense I have my doubts. It would be probably better to recheck everything and then remove syncookies. Also your sub PC class appliances rarely run LISTEN servers anyways that are open to the world. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/