From owner-freebsd-current@FreeBSD.ORG Tue Aug 7 07:39:29 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD2A916A46C for ; Tue, 7 Aug 2007 07:39:29 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 65F1813C461 for ; Tue, 7 Aug 2007 07:39:29 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=gepUASwEkOUnrxaFBMK5hf7756lDuKI9u1PWTcej3eY6Ddj68SINht7OgqOkxXqQHGTx44SzjDhnL7cRg6N/9E8zL01pQUdAf6gBJHHWWy+uZSoiaifGYVX1yZYtsGO0UJh1+QJEMJhgrxdFPngTrOlQpnx/CNfDWrpzUTARa5I=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1IIJf2-000F6s-Po; Tue, 07 Aug 2007 11:39:25 +0400 Date: Tue, 7 Aug 2007 11:39:20 +0400 From: Eygene Ryabinkin To: bruce@cran.org.uk Message-ID: <20070807073920.GV50228@void.codelabs.ru> References: <20070806224112.GA21876@muon.bluestop.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20070806224112.GA21876@muon.bluestop.org> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-2.2 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_20 Cc: current@freebsd.org Subject: Re: "tcpflags 0x18; tcp_do_segment" kernel messages X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 07:39:29 -0000 Bruce, good day. Mon, Aug 06, 2007 at 11:41:12PM +0100, bruce@cran.org.uk wrote: > I cvsupped my -CURRENT laptop last night and have been building ports > today. When I checked the dmesg there were lots of messages similar to: > > TCP: [204.152.184.73]:21 to [10.0.10.13]:65159] tcpflags 0x18; > tcp_do_segment: FIN_WAIT_2: Received data after socket was closed, > sending RST and removing tcpcb This was introduced in the /sys/netinet/tcp_input.c, 1.365. The origin and need for the change was discuissed in http://lists.freebsd.org/pipermail/freebsd-net/2007-July/014804.html (See http://lists.freebsd.org/pipermail/freebsd-net/2007-July/014808.html for the explanation of what's going on). If you were running -CURRENT on the same machine prior to CVSupping, then you probably saw the 'Spurious RST' messages. They were provoked by the same situation. The messages themselves are harmless, they just telling us that some data was came in, but the listener had already closed his socket, so he is not interested in the data anymore. Use sys.net.inet.tcp.log_debug to disable TCP stack debug output and get rid of those. -- Eygene