Re: [tcpm] I-D Action: draft-ietf-tcpm-tcp-edo-02.txt

Joe Touch <touch@isi.edu> Mon, 20 April 2015 21:31 UTC

Return-Path: <touch@isi.edu>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C0BC1B3246; Mon, 20 Apr 2015 14:31:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sDu3CzCIL-IG; Mon, 20 Apr 2015 14:31:32 -0700 (PDT)
Received: from mail-b.isi.edu (boreas.isi.edu [128.9.160.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A49F1B3245; Mon, 20 Apr 2015 14:31:32 -0700 (PDT)
Received: from [128.9.160.252] (pen.isi.edu [128.9.160.252]) (authenticated bits=0) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id t3KLVCdu006997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 20 Apr 2015 14:31:12 -0700 (PDT)
Message-ID: <5535701F.9070709@isi.edu>
Date: Mon, 20 Apr 2015 14:31:11 -0700
From: Joe Touch <touch@isi.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>, Wesley Eddy <wes@mti-systems.com>
References: <20150415175805.17797.49699.idtracker@ietfa.amsl.com> <552EA990.5000207@isi.edu> <552F339A.3000605@mti-systems.com> <CAO249ydt0hSOfaOph0GQ1X0q3nP+-95usRGxo_dFp+kUCL08AA@mail.gmail.com>
In-Reply-To: <CAO249ydt0hSOfaOph0GQ1X0q3nP+-95usRGxo_dFp+kUCL08AA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <http://mailarchive.ietf.org/arch/msg/tcpm/lL_XS77pCNbXGM4mVG5sDtPIOiw>
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, internet-drafts@ietf.org, i-d-announce@ietf.org
Subject: Re: [tcpm] I-D Action: draft-ietf-tcpm-tcp-edo-02.txt
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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>
X-List-Received-Date: Mon, 20 Apr 2015 21:31:33 -0000


On 4/15/2015 11:45 PM, Yoshifumi Nishida wrote:
> Hi,
> 
> On Wed, Apr 15, 2015 at 8:59 PM, Wesley Eddy <wes@mti-systems.com
> <mailto:wes@mti-systems.com>> wrote:
> 
>     On 4/15/2015 2:10 PM, Joe Touch wrote:
>     > It includes a variant that indicates the TCP segment length to detect
>     > when coalescing that might interfere with EDO occurs.
> 
>     This is one thing that I think we particularly want feedback from
>     the group on.
> 
>     I think it's a very low-impact way (compared to adding checksums,
>     using AO, using IPsec, etc) in order to reasonably detect an
>     accidental pollution of the user data due to resegmentation.
> 
> 
>>> When an endpoint receives a segment using the 6-byte EDO
>    Extension option, it MUST validate the Segment_Length field with the
>    length of the segment as indicated in the TCP pseudoheader. If the
>    segment lengths do not match, the segment MUST be discarded and an
>    error SHOULD be logged in a rate-limited manner.
> 
> 
> I am wondering if discarding a segment is safe enough.
> Once resegmentation happens, I think we are not very sure how to recover it.
> I guess it would be better to reset a connection.

It's safe - the connection will fail after several failed
retransmissions anyway. That limit can be controlled with the TCP User
Timeout option.

Jumping to a reset would be quicker but might be premature. The sender
might be able to resend segments without EDO or the situation might be
transient.

Joe