From owner-freebsd-questions@FreeBSD.ORG Thu Feb 11 10:21:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E897A106566C for ; Thu, 11 Feb 2010 10:21:37 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBA78FC0C for ; Thu, 11 Feb 2010 10:21:37 +0000 (UTC) Received: by fxm26 with SMTP id 26so1098188fxm.13 for ; Thu, 11 Feb 2010 02:21:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=2DD9zdlamoVDLfGm6yDoaRBWPMhxX5aju3t8JmzFyaI=; b=tadiWx8JQPHu+SoSyY+pLJsMfJ5wXGi7eRqyCI6OnpMH7/Kk4EbQVjsoJUzXi4ziLW nw3aGbzEBF+Z4fh2/6wQSiMxFF3kZk11D60apeHIWCwKkZk5vDNe9RNst9Lurg5u50wO ILG5yDMS5B2nfOx/VH5wJNX4Vng5WVVQp/w/U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=EPXFAR/cxmeBrSgplJK9Uja+nhYpY4kps4Z/kGPNjUrYUHftbZr+VDzoq4vOSP0DR8 j9d5y4j8kjTeXDPUJZmyVeEFMA7x3EhfJrGXhaDLyRvI+CqTs2JtfO1QYsFzH5uazFsk jQCw+aqmUI68t8AoW/r2dJOdffD/3Zf8PlZzI= MIME-Version: 1.0 Received: by 10.103.48.38 with SMTP id a38mr1114381muk.37.1265882257026; Thu, 11 Feb 2010 01:57:37 -0800 (PST) From: n j Date: Thu, 11 Feb 2010 10:57:16 +0100 Message-ID: <92bcbda51002110157i36bd25d7wad9a9f16df2ebaf5@mail.gmail.com> To: User Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Superfluous ACK and RST packets after terminating connection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 10:21:38 -0000 Hi all, I was debugging some problems with an application and noticed some strange behavior that I can only attribute to possible problems in TCP/IP stack which OTOH I consider unlikely. I'd appreciate any pointers towards why are there extra packets? - in case of successful connection: 14:52:57.866040 IP client.example.net.6524 > server.example.net.9002: S 813851098:813851098(0) win 8192 14:52:57.866057 IP server.example.net.9002 > client.example.net.6524: S 3888621507:3888621507(0) ack 813851099 win 65535 14:52:57.867143 IP client.example.net.6524 > server.example.net.9002: . ack 3888621508 win 16560 14:52:57.868333 IP client.example.net.6524 > server.example.net.9002: P 813851099:813852180(1081) ack 3888621508 win 16560 14:52:57.967858 IP server.example.net.9002 > client.example.net.6524: . ack 813852180 win 8144 14:53:35.533165 IP server.example.net.9002 > client.example.net.6524: P 3888621508:3888621542(34) ack 813852180 win 8144 14:53:35.564542 IP server.example.net.9002 > client.example.net.6524: FP 3888621542:3888621675(133) ack 813852180 win 8280 14:53:35.566228 IP client.example.net.6524 > server.example.net.9002: . ack 3888621676 win 16518 14:53:35.566289 IP client.example.net.6524 > server.example.net.9002: F 813852180:813852180(0) ack 3888621676 win 16518 14:53:35.566318 IP server.example.net.9002 > client.example.net.6524: . ack 813852181 win 8279 [what are these???] 14:53:36.172081 IP server.example.net.9002 > client.example.net.6524: . ack 813852180 win 0 14:53:36.172101 IP server.example.net.9002 > client.example.net.6524: . ack 813852181 win 8279 - in case of unsuccessful connection: 14:53:00.411337 IP client.example.net.6547 > server.example.net.9002: S 1055031875:1055031875(0) win 8192 14:53:00.411354 IP server.example.net.9002 > client.example.net.6547: S 2849043653:2849043653(0) ack 1055031876 win 65535 14:53:00.412242 IP client.example.net.6547 > server.example.net.9002: . ack 2849043654 win 16560 14:53:00.412251 IP server.example.net.9002 > client.example.net.6547: R 2849043654:2849043654(0) win 0 [what are these???] 14:53:01.168076 IP server.example.net.9002 > client.example.net.6547: . ack 1055031876 win 0 14:53:01.168100 IP server.example.net.9002 > client.example.net.6547: R 2849043654:2849043654(0) win 0 14:53:01.168393 IP client.example.net.6547 > server.example.net.9002: R 1055031876:1055031876(0) ack 2849043653 win 0 The server is running 7.2 GENERIC (client is WinXP). I did some googling and the only (somewhat) related thing I found is this post from July 2009: Stray RST packets on 7.2-RELEASE - http://lists.freebsd.org/pipermail/freebsd-stable/2009-July/051357.html Thanks, -- Nino