From owner-freebsd-net@FreeBSD.ORG Fri Sep 28 17:40:44 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D148516A420 for ; Fri, 28 Sep 2007 17:40:44 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.freebsd.org (Postfix) with ESMTP id 3B48A13C4B6 for ; Fri, 28 Sep 2007 17:40:43 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.8) with ESMTP id l8SHegg5026697; Fri, 28 Sep 2007 21:40:43 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Fri, 28 Sep 2007 21:40:42 +0400 (MSD) From: Maxim Konovalov To: Igor Sysoev In-Reply-To: <20070816142431.GO57126@rambler-co.ru> Message-ID: <20070928214020.Q77827@mp2.macomnet.net> References: <20070816142431.GO57126@rambler-co.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-net@freebsd.org Subject: Re: syncookie in 6.x and 7.x X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2007 17:40:44 -0000 On Thu, 16 Aug 2007, 18:24+0400, Igor Sysoev wrote: > During testing 7.0-CURRENT I have found that it always sends syncookies > while on early FreeBSD versions "netstat -s -p tcp" always shows: > > 0 cookies sent > 0 cookies received > > I have looked sources and found that in early versions the sent counter > was simply not incremented at all. The patch attached. > [...] The patch has beed committed to RELENG_6. Thanks! -- Maxim Konovalov