From owner-freebsd-questions@FreeBSD.ORG Mon Mar 21 17:36:09 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EF1016A4CE for ; Mon, 21 Mar 2005 17:36:09 +0000 (GMT) Received: from triton.rz.uni-saarland.de (triton.rz.uni-saarland.de [134.96.7.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4032543D3F for ; Mon, 21 Mar 2005 17:36:08 +0000 (GMT) (envelope-from robertgogolok@web.de) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.254.254]) j2LHa5Ps4266981; Mon, 21 Mar 2005 18:36:05 +0100 (CET) Received: from mail.cs.uni-sb.de (mail.cs.uni-sb.de [134.96.254.200]) by cs.uni-sb.de (8.13.3/2005011400) with ESMTP id j2LHa4bN012020; Mon, 21 Mar 2005 18:36:04 +0100 (CET) Received: from xantippe (xantippe.cs.uni-sb.de [134.96.240.13]) by mail.cs.uni-sb.de (8.13.3/2005020900) with ESMTP id j2LHa313013579; Mon, 21 Mar 2005 18:36:03 +0100 (CET) X-Authentication-Warning: mail.cs.uni-sb.de: Host xantippe.cs.uni-sb.de [134.96.240.13] claimed to be xantippe Received: from eugene.cs.uni-sb.de ([127.0.0.1]) [134.96.240.6] by xantippe with esmtp (Exim 3.35 #1 (Debian))id 1DDQot-0007XP-00; Mon, 21 Mar 2005 18:36:03 +0100 Message-ID: <423F05F2.3010101@web.de> Date: Mon, 21 Mar 2005 18:35:46 +0100 From: Robert Gogolok User-Agent: Mozilla Thunderbird 1.0 (X11/20050313) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Charles Swiger References: <423EFE41.6040805@web.de> <56b90b3668acea792519e1e70a7b837a@mac.com> In-Reply-To: <56b90b3668acea792519e1e70a7b837a@mac.com> X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (triton.rz.uni-saarland.de [134.96.7.25]); Mon, 21 Mar 2005 18:36:05 +0100 (CET) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.30.0.7; VDF 6.30.0.39 cc: freebsd-questions@freebsd.org Subject: Re: FIN_WAIT_2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2005 17:36:09 -0000 Charles Swiger wrote: > The TCP stack wants the remote end to acknowledge the last FIN it sends > and close the connection cleanly, and there is a timer (2 * MSL?) which > gets started when a connection moves into the closing stages > (FIN_WAIT_1, FIN_WAIT_2, LAST_ACK). So FIN_WAIT_2 is the time the server waits to receive the FIN from the client, but although it doesn't get this last FIN message yet, it sends ACK's for the expected FIN message? > It's not uncommon for some clients (think dialup users running Win98), > to drop the connection rather rather than close it properly. So the client has time to ACK the server's FIN, but the user closes the dialup connection, so the application hasn't sent the FIN? > Your system should time out these connections after a while. Good decision:-) Greetings, Robert!