From owner-freebsd-bugs@FreeBSD.ORG Wed Oct 12 21:51:48 2005 Return-Path: X-Original-To: freebsd-bugs@freebsd.org Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7BC916A4C9 for ; Wed, 12 Oct 2005 21:51:47 +0000 (GMT) (envelope-from vishal_study@yahoo.com) Received: from web32714.mail.mud.yahoo.com (web32714.mail.mud.yahoo.com [68.142.206.27]) by mx1.FreeBSD.org (Postfix) with SMTP id 4223643D46 for ; Wed, 12 Oct 2005 21:51:47 +0000 (GMT) (envelope-from vishal_study@yahoo.com) Received: (qmail 15510 invoked by uid 60001); 12 Oct 2005 21:51:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pJHMES/7HH03rVA0miqsE0pjhjIrA+0aEMyba+/jqk/hOLyyHp618Xq2QFWie8ioe5vfKSa/QcyPWGhzkhmkP87ErbZBWOpwo4QmAyDEXCR3SmGnnvdX0f3zIYcEO4ZNvV2Cdnp4rGmG5/K7Q648Fo9g8oFyMoV7u9u+m2CachU= ; Message-ID: <20051012215146.15508.qmail@web32714.mail.mud.yahoo.com> Received: from [64.169.86.195] by web32714.mail.mud.yahoo.com via HTTP; Wed, 12 Oct 2005 14:51:46 PDT Date: Wed, 12 Oct 2005 14:51:46 -0700 (PDT) From: Vishal M To: freebsd-bugs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: vishal_study@yahoo.com, freebsd-questions@freebsd.org Subject: tcp_fsm.h: sending FIN or FIN+ACK in Closing state X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 21:51:49 -0000 Hello: I have a question on Simulataneous TCP close. According to the TCP state machine mentioned in "TCP/IP Illustrated - Vol 2", pg 806; TCP stack is supposed to just send out an ACK before transitioning into CLOSING state. However, according to tcp_outflags[] array shown on pg 807, fig #24.16; the associated flags are FIN+ACK. I looked at 4.x FreeBSD codebase and it sends out FIN+ACK while transitioning to CLOSING state (inside tcp_outflags[] defined in tcp_fsm.h file). Question: - Could someone please let me know the correct behavior i.e should we send out just an ACK or FIN+ACK while transitioning into CLOSING state? - Is there is legacy associated with freeBSD in such scenario? Thanks for your time and help. Regards, Vishal. __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/