Re: [tcpm] I-D Action: draft-ietf-tcpm-1323bis-13.txt

"Scheffenegger, Richard" <rs@netapp.com> Mon, 27 May 2013 22:05 UTC

Return-Path: <rs@netapp.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6483821F8618 for <tcpm@ietfa.amsl.com>; Mon, 27 May 2013 15:05:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level:
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_35=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p5o9Wa3+8Nkm for <tcpm@ietfa.amsl.com>; Mon, 27 May 2013 15:05:54 -0700 (PDT)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 4EB8721F859B for <tcpm@ietf.org>; Mon, 27 May 2013 15:05:54 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.87,753,1363158000"; d="scan'208";a="27158474"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 27 May 2013 15:05:54 -0700
Received: from vmwexceht02-prd.hq.netapp.com (vmwexceht02-prd.hq.netapp.com [10.106.76.240]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r4RM5rA9012153; Mon, 27 May 2013 15:05:54 -0700 (PDT)
Received: from SACEXCMBX02-PRD.hq.netapp.com ([169.254.1.61]) by vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) with mapi id 14.03.0123.003; Mon, 27 May 2013 15:05:53 -0700
From: "Scheffenegger, Richard" <rs@netapp.com>
To: Pasi Sarolahti <pasi.sarolahti@iki.fi>, Joe Touch <touch@ISI.EDU>
Thread-Topic: [tcpm] I-D Action: draft-ietf-tcpm-1323bis-13.txt
Thread-Index: AQHOWsOpxpOgcpwlv0GGPZ5muXL+75kZtViAgAAVcICAAAXbAIAAJCMA//+hNhA=
Date: Mon, 27 May 2013 22:05:53 +0000
Message-ID: <012C3117EDDB3C4781FD802A8C27DD4F24BB3A38@SACEXCMBX02-PRD.hq.netapp.com>
References: <20130518155753.17946.96581.idtracker@ietfa.amsl.com> <CAK6E8=d_LTZgnGAncdWDAi+7ebd3Lo5aevPeGG0=KSbBMeBhcg@mail.gmail.com> <519A8322.6030405@isi.edu> <26034_1369382276_519F1D83_26034_1735_1_519F1D68.604@uclouvain.be> <E220F4B0-EE27-431C-BCBE-0A0C01C8B0EF@iki.fi> <51A38F9F.4000407@isi.edu> <39EDB63B-7FCB-43F5-9355-474D50976005@iki.fi> <51A3A684.5020400@isi.edu> <B3F294F6-8866-4155-98F6-0927B90346E4@iki.fi>
In-Reply-To: <B3F294F6-8866-4155-98F6-0927B90346E4@iki.fi>
Accept-Language: de-AT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "tcpm@ietf.org Extensions" <tcpm@ietf.org>
Subject: Re: [tcpm] I-D Action: draft-ietf-tcpm-1323bis-13.txt
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.12
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, 27 May 2013 22:05:58 -0000

Hi Pasi,


Yes, there was no formal requirement in 1323 (predating 2119), but its in 1323's PAWS section:

  4.2  The PAWS Mechanism
[...]
      The basic idea
      is that a segment can be discarded as an old duplicate if it is
      received with a timestamp SEG.TSval less than some timestamp
      recently received on this connection.

(an undefined TSval might be numeric zero, or TSrecent... 1323 doesn't say.)

We also had discussed the precedence of processing (1323 PAWS vs. 793 in-window acceptance testing), and the 1323 had some ambiguity how to go about this (the 1323 text would actually allow the omission of TSopt sometime along a session, voiding PAWS protection at that time, and potentially undefined (receiver) behavior then...

Regards,

Richard Scheffenegger



> -----Original Message-----
> From: tcpm-bounces@ietf.org [mailto:tcpm-bounces@ietf.org] On Behalf Of
> Pasi Sarolahti
> Sent: Montag, 27. Mai 2013 22:41
> To: Joe Touch
> Cc: tcpm@ietf.org Extensions
> Subject: Re: [tcpm] I-D Action: draft-ietf-tcpm-1323bis-13.txt
> 
> On May 27, 2013, at 9:31 PM, Joe Touch <touch@ISI.EDU> wrote:
> 
> > Regarding handling of non-RSTs lacking TSopt, we did discuss this on the
> list; you even cited this within the past day or so:
> >
> > ---
> >> Always including TSopt seems to represent the rough consensus of the
> >> WG, even if it might not be a uniform agreement. This was discussed
> >> quite extensively some time ago. (Though judging rough consensus from
> >> Emails is difficult... we'd need some sort of electronic hum tool
> > ---
> 
> My recollection is that this discussion concerned sender-side behavior,
> but there have been tens of Emails during the past weeks, so I might have
> missed something.
> 
> > Once you indicate a sender-side MUST, you need to describe how the
> receiver handles exceptions. IMO, there's little point to claiming PAWS
> protection if you're going to react *in any way* to a non-RST segment
> lacking TSopt.
> >
> > I.e., a sender MUST include implies - IMO - a receiver MUST silently
> discard when the 'must' isn't there.
> 
> My reading of the original robustness principle is that TCP receiver
> should have minimal required validation checks for segments, so I don't
> think sender-side "MUST include" automatically implies receiver-side "MUST
> ignore if missing", unless we can point out a clear problem in accepting
> the segment. Perhaps the possible unreliability of PAWS is such, then.
> 
> But there are possible deployment implications in additional receiver
> check, too. In a perfect world this might work, but RFC 1323 did not have
> as strict MUST requirement about including TSopt in all segments after
> handshake, and there are possible middlebox issues as Olivier mentioned.
> So I think it would be worthwhile addition to the middlebox section, then,
> to say if a middlebox removes TSopt option, or a resegmenting middlebox
> does not include it in all segments, that breaks the TCP connection
> entirely, if this version of spec is followed.
> 
> As a mere data point, I did a quick check on Linux that currently seems to
> first check if timestamp option was in incoming segment, and only then do
> PAWS check. It does not reject segments because of lack of TSopt, at least
> based on my quick reading.
> 
> - Pasi
> 
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm