Re: [tcpm] draft-ananth-tcpm-persist-00.txt as a WG document

Ted Faber <faber@ISI.EDU> Fri, 03 October 2008 20:22 UTC

Return-Path: <tcpm-bounces@ietf.org>
X-Original-To: tcpm-archive@megatron.ietf.org
Delivered-To: ietfarch-tcpm-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1676B3A6839; Fri, 3 Oct 2008 13:22:39 -0700 (PDT)
X-Original-To: tcpm@core3.amsl.com
Delivered-To: tcpm@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 42AB43A6833 for <tcpm@core3.amsl.com>; Fri, 3 Oct 2008 13:22:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.566
X-Spam-Level:
X-Spam-Status: No, score=-2.566 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1BIQL6sY09wP for <tcpm@core3.amsl.com>; Fri, 3 Oct 2008 13:22:36 -0700 (PDT)
Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by core3.amsl.com (Postfix) with ESMTP id 411763A6839 for <tcpm@ietf.org>; Fri, 3 Oct 2008 13:22:36 -0700 (PDT)
Received: from zod.isi.edu (zod.isi.edu [128.9.168.221]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id m93KLdpQ002996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 3 Oct 2008 13:21:40 -0700 (PDT)
Received: (from faber@localhost) by zod.isi.edu (8.14.3/8.14.2/Submit) id m93KLdPa031900; Fri, 3 Oct 2008 13:21:39 -0700 (PDT) (envelope-from faber)
Date: Fri, 03 Oct 2008 13:21:39 -0700
From: Ted Faber <faber@ISI.EDU>
To: Murali Bashyam <mbcoder@gmail.com>
Message-ID: <20081003202139.GF27519@zod.isi.edu>
References: <53797EED-2C93-4E20-AF60-E3C0EF8F85AC@windriver.com> <1e41a3230809292310o591b7f98l5048083b9e0966f2@mail.gmail.com> <EC7B72027914A242B991C029F5F213CF2AB0CCA6AA@exchsvr01.ocarina.local> <20081003183726.GD27519@zod.isi.edu> <9c8209a10810031237y470b9cd3ha8ad6cbc3e17e422@mail.gmail.com>
Mime-Version: 1.0
In-Reply-To: <9c8209a10810031237y470b9cd3ha8ad6cbc3e17e422@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
X-url: http://www.isi.edu/~faber
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: faber@zod.isi.edu
Cc: David Borman <david.borman@windriver.com>, "tcpm@ietf.org" <tcpm@ietf.org>, "Anantha Ramaiah (ananth)" <ananth@cisco.com>, Murali Bashyam <MBashyam@ocarinanetworks.com>
Subject: Re: [tcpm] draft-ananth-tcpm-persist-00.txt as a WG document
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/tcpm>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1486751489=="
Sender: tcpm-bounces@ietf.org
Errors-To: tcpm-bounces@ietf.org

Somewhat snipped up.

On Fri, Oct 03, 2008 at 12:37:10PM -0700, Murali Bashyam wrote:
> On Fri, Oct 3, 2008 at 11:37 AM, Ted Faber <faber@isi.edu> wrote:
> >
> > In light of that I think that the sentence about "TCP itself SHOULD
> > not[sic] take any action..." is more confusing than the 1122 section.
> > It seems to imply that TCP might react differently to an abort than
> > the single paragraph in 793, and I don't think that's the case.
> 
> 
> What's meant here is that it's okay for the connection to get aborted
> in this state, whatever the mechanism for doing so maybe: TCP can
> abort the connection and inform the application, similar to the
> retransmit/persist timeout mechanisms already in place, or the
> application can choose to abort the connection based policy, or the OS
> can do so based on resource management criteria. We can re-word that
> sentence and paragraph to reflect this.

I disagree with "TCP can abort the connection and inform the
application."  RFC 1122 says that TCP must allow the connection to stay
open.  I believe that TCP closing or aborting such a connection (without
an abort command being issued) violates 1122.  External entities (OS,
resource allocator, applications) can abort the connection, as they can
abort any connection.

The point is that the OS and applications (and other entities in a
system) can both annhilate TCP connections regardless of the state of
those connection to meet their needs.  I believe that's a perfectly
adequate tool for dealing with resource starvation.  Delivering that
message seems a valid WG item.

> 
> >
> >
> > Now, a strictly defined abort command seems to somewhat contradict my
> > earlier comments about allowing implementers some freedom.  This is a
> > spot where the standards body has required a specific tool to be
> > available to applications (and OSes and resource managers): there must
> > be a way to annihilate a TCP connection from outside without regard to
> > its state or anything else.  The standard is silent about how the
> > command is used; that's the flexibility here.
> 
> 
> The abort semantics as specified by 793 are clear, they are not
> specific to a particular state, it's the opinion of the authors that
> 1122 excludes it from being applied in this state.

Can you say that again?  What you typed says both that the abort command
is independent of connection state and that it doesn't work on
connections in a certain state.  That sentence contradicts itself, so
I must be misunderstanding something.

For the record, I believe that when a TCP stack receives an abort
command for a connection in persist state the stack must abort the
connection as per RFC 793, p. 50.

-- 
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG
_______________________________________________
tcpm mailing list
tcpm@ietf.org
https://www.ietf.org/mailman/listinfo/tcpm