From: Frans Pop Subject: Re: Enable syn cookies by default Date: Sun, 11 Oct 2009 12:26:43 +0200 Message-ID: <200910111226.44828.elendil@planet.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org To: Olaf van der Spek , netdev@vger.kernel.org Return-path: Received: from Cpsmtpm-eml107.kpnxchange.com ([195.121.3.11]:56497 "EHLO CPSMTPM-EML107.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756656AbZJKK1W (ORCPT ); Sun, 11 Oct 2009 06:27:22 -0400 In-reply-To: Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: This question is better asked on the kernel network development list. Original mail from Olaf below. Cheers, FJP ================= Hi, I'm forwarding Debian feature request #520668. Could syn cookies be enabled by default? AFAIK syn cookies only get send when the half-open TCP connection queue is full. So stuff like window scaling should work fine in normal situations. Speaking of which: When the half-open TCP connection queue is full and syn cookies are enabled, you get a message like "kernel: possible SYN flooding on port 2710. Sending cookies." However when syn cookies are disabled, you don't get any message (in kern.log), although connections to your server are timing out. Could such a message be added? Maybe with a suggestion to increase the size of that queue or to enable syn cookies. Greetings, Olaf http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520668 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520667 https://bugs.launchpad.net/ubuntu/+bug/57091