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

"Murali Bashyam" <mbcoder@gmail.com> Fri, 03 October 2008 19:36 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 C9A423A6A07; Fri, 3 Oct 2008 12:36:45 -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 4F5553A6859 for <tcpm@core3.amsl.com>; Fri, 3 Oct 2008 12:36:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001]
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 tsHNSmNTqB5b for <tcpm@core3.amsl.com>; Fri, 3 Oct 2008 12:36:42 -0700 (PDT)
Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by core3.amsl.com (Postfix) with ESMTP id F2E403A67FD for <tcpm@ietf.org>; Fri, 3 Oct 2008 12:36:41 -0700 (PDT)
Received: by gxk9 with SMTP id 9so3078804gxk.13 for <tcpm@ietf.org>; Fri, 03 Oct 2008 12:37:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=UuaeG/pEfT6QqxQoKZaDxsjD8SHiOOml/QnYXRJ88Zg=; b=W1I6y5zrScJ3yJD5XIXLx8K3RL3wWABT++OYfnvrkwYU5YfTLCvkcNYB/GjY83BdMV m6E8kD1fxTKVLZSy1I2ZlGPvkHfr7Ree7ZagQz/foCV11VjbOPeqmJJgjJLuSrUgU3Il bW0fZirOYow2A1v4J9KA/E24ptNrXtFe48ubQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=TTMVrrtXa+6Uq17/xTrQMiGSY0vawNLD9lCNLRq/1YKgSm/cJbf/x/ivJIXK0NJFCh ERwGR2WCAcK+i4kohnkGDdt5TVl6oKbwMUs/Nj2AK850wyz9qZpTbik146cfqx1bO8wi iOQrZIM5OoIsbw2HIwKGR5agi5FB04/ULMTic=
Received: by 10.142.48.14 with SMTP id v14mr530369wfv.133.1223062630563; Fri, 03 Oct 2008 12:37:10 -0700 (PDT)
Received: by 10.142.116.4 with HTTP; Fri, 3 Oct 2008 12:37:10 -0700 (PDT)
Message-ID: <9c8209a10810031237y470b9cd3ha8ad6cbc3e17e422@mail.gmail.com>
Date: Fri, 3 Oct 2008 12:37:10 -0700
From: "Murali Bashyam" <mbcoder@gmail.com>
To: "Ted Faber" <faber@isi.edu>
In-Reply-To: <20081003183726.GD27519@zod.isi.edu>
MIME-Version: 1.0
References: <53797EED-2C93-4E20-AF60-E3C0EF8F85AC@windriver.com> <1e41a3230809292310o591b7f98l5048083b9e0966f2@mail.gmail.com> <EC7B72027914A242B991C029F5F213CF2AB0CCA6AA@exchsvr01.ocarina.local> <20081003183726.GD27519@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="===============1601036274=="
Sender: tcpm-bounces@ietf.org
Errors-To: tcpm-bounces@ietf.org

On Fri, Oct 3, 2008 at 11:37 AM, Ted Faber <faber@isi.edu> wrote:

> I don't mean to be answering from John, but your comments interested me.
>
> On Thu, Oct 02, 2008 at 05:13:50PM -0700, Murali Bashyam wrote:
> >
> > > From: John Heffner [mailto:johnwheffner@gmail.com]
> > > I have reservations about moving forward with this draft as a wg
> > > document.  While the information is technically correct, it is overly
> > > specific to the point of possibly being misleading rather than
> > > clarifying.  An operating system may terminate a tcp connection at any
> > > time, not just when the connection is in the persist state.  Further,
> > > I would actually argue that terminating a connection *because* it's in
> > > the persist state is a bad idea and should be discouraged.  (The
> > > reason for termination should be for its use of resources, not TCP's
> > > state.)
> >
> > No implementation today (the well-known ones BSD, Windows and Linux)
> > terminates the TCP connection in that persist state as long as ACKs
> > are being reliably received from the peer. Those three implementations
> > are not doing what you are saying they should be doing, and if it's
> > crystal clear from the standard that they should be doing so, why
> > aren't they?
>
> Your comment is a little ambiguous.  John says that he believes that
> persist state is not necessarily a good marker for aborting connections
> when resources are scarce.  To take him to task because implementations
> are not using it as a marker - because the implementers agreed with
> his position - is a little unfair, IMHO.


My intent was that even where TCP implementations have a scheme for
dropping connections in the event
of resource exhaustion (such as the Linux one does), they have excluded
connections in this state.
The point i am trying to convey is that the 1122 portion has (mis)guided
them in that direction.


>
> On the WG item:
>
> As a bigger picture issue, I find it helpful to remember that
> protocol standards, like 1122, are primarily interoperation documents.
> As such, they tend to focus on what protocol implementers must do to
> talk with one another successfully, not to nail down all possible
> choices.
>
> Once we start offering advice (or stronger) to developers, we're leaving
> the interoperability domain.  We, as a standards body, have to assume
> that implementers know their application and their environment better
> than we do, and that they can and will make appropriate decisions if we
> give them the room to do so.
>
> Where a standard has unnecessarily tied the hands of implementers, that
> standard should be changed, IMHO.  I am also sympathetic to clarifying
> the standards body's intent where poor language has obscured it.  I
> don't see that kind of confusion in the text the authors are addressing
> (that is RFC 1122 Section 4.2.2.17), but reasonable people can disagree
> on such things.
>
> As such, taking on this work item - clarifying 1122 4.2.2.17 - doesn't
> excite me, but I don't oppose it.
>
> The draft should, IMHO, point out that 1122 has nothing to say about
> resource management.  Designers and implementers are free to be as
> clever or foolish as they'd like.


I agree, the primary intention of this draft is not to restrict or present
any resource management schemes, it's to clarify 1122.
In addition,  we are trying to highlight the need for resource management in
this scenario because it leads upto a DoS potential.


>
>
> End of thoughts on the WG item.
>
> As for the draft itself, I'm concerned that it seems to be advocating a
> particular resource management position more strongly than simply
> pointing out that RFC1122 should not affect resource allocation
> decisions.  I also see some misplaced standards language that is
> somewhat confusing.  I'm looking at this paragraph in Section 2:
>
>
>        An extensive discussion took place recently about this issue on
>        the TCPM WG mailing list [TCPM].  The general opinion seemed to
>        be that terminating a TCP connection in persist condition does
>        not violate RFC 1122.  In particular the operating system, a
>        resource manager, or an application can instruct TCP to abort a
>        connection in the persist condition.  TCP itself SHOULD not take
>        any action and continue to keep the connection open as mandated
>        by RFC 1122 unless otherwise instructed to do so.  The exact
>        mechanism by which the instruction to abort the connection is
>        conveyed to TCP is an implementation decision and falls beyond
>        the scope of the current memo.
>
> There's no instruction going on, and one doesn't request an abort.
> Abort is a command in the TCP interface (defined in RFC 793, p. 50) that
> destroys a TCP connection.  Abort works in any state.  Anything with
> access to the TCP interface, including the OS, a resource manager, or an
> application, can call it.  A TCP abort is "the exact mechanism by which
> the instruction to abort the connection is conveyed to TCP", and the
> only reason that it's outside the scope of this document is that it's
> defined in 793.
>

>
> 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.

>
>
> 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.

Murali


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


-- 
Rgds,
Murali Bashyam
(c) (510)6736915

----------------------------- CONFIDENTIAL  --------------------
*****************************************************
This telecommunication and any data attached to, or included in it
is considered confidential, and is intended only for use by the named
recipient. The contents may be legally protected as any one or more of:
copyrighted material, trade-secret protected material, attorney-client
privileged material, attorney workproduct, or as material covered by
any other legally available means. If you received this material in
error, please notify the sender and destroy the original and all copies,
whether electronic or otherwise. Thank you.
*****************************************************
------------------------------ CONFIDENTIAL  --------------------
_______________________________________________
tcpm mailing list
tcpm@ietf.org
https://www.ietf.org/mailman/listinfo/tcpm