[tcpm] draft-gont-tcpm-tcp-seq-validation

"Karen E. Egede Nielsen" <karen.nielsen@tieto.com> Wed, 30 October 2013 15:56 UTC

Return-Path: <karen.nielsen@tieto.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 EFB6911E8173 for <tcpm@ietfa.amsl.com>; Wed, 30 Oct 2013 08:56:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.228
X-Spam-Level:
X-Spam-Status: No, score=-1.228 tagged_above=-999 required=5 tests=[AWL=0.149, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_33=0.6, NO_RELAYS=-0.001]
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 MLh9+v2CDGxr for <tcpm@ietfa.amsl.com>; Wed, 30 Oct 2013 08:56:25 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 947D411E825F for <tcpm@ietf.org>; Wed, 30 Oct 2013 08:56:19 -0700 (PDT)
Received: by mail-wi0-f173.google.com with SMTP id ey11so7034795wid.0 for <tcpm@ietf.org>; Wed, 30 Oct 2013 08:56:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:mime-version:thread-index:date:message-id:subject:to:cc :content-type; bh=IxOAq1aogVE0AzpcVeBZiamTVVzTzuVmKiqQC5DfXiw=; b=Gn0Nw1Amx5EDqSFjUDrpmFgLFAgv76QDtjii91Nm7fUd1SQ0JHFJ4dItynrqH5716H kVLmTz+pMWh2q7UH/FWSLfaSbh1Q0dMZ/Gg1Vlw2DYyDaW4m8p2qF9xKX9v20aO5beIp gapGohLH8n+3to8wEo/gC7qYNVqDmPbZ4CqL8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to:cc:content-type; bh=IxOAq1aogVE0AzpcVeBZiamTVVzTzuVmKiqQC5DfXiw=; b=lnjWioPxnPtgTf6nVtmDACDFbj2WqFZKLg7/+pOpgHSGqQf030jVXSMxtHd5SDCfUL J1HurCHPQvtkGQulUj8AQyM4nbMBJn7K1b84D1vCulAqshnj+g1je1QnuRIrvgvjAYbk Q0F3zIe/TxEZzhvq3vW0DsbftaYR7awZ8h/RksE7dQUX9T0sSF4gisivazz91zTylvzW 5Xop7oF+vCCjUuz+5kQPiR/WzRDJHMFZG9uHtN9xP8Ng2b07nUkjPm86f7NJqMomrADJ ut0iWQ2PplDV4p4fzdG89kqOhqH2ANj2gJOjcX53XLdEC0SbPccixRulPek8zcIpoGN9 XpKw==
X-Gm-Message-State: ALoCoQlqjC2SF3yxbWhhcqVEcfAKJenun0oal1eNjy7tRmRWvyuwoRz1r5MHVFc3UrKjaYaKIG3vAjct9EYCwX/n8nh0u/cJJQ==
X-Received: by 10.194.216.225 with SMTP id ot1mr1008442wjc.80.1383148578698; Wed, 30 Oct 2013 08:56:18 -0700 (PDT)
From: "Karen E. Egede Nielsen" <karen.nielsen@tieto.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac7ViI3YfzCHkEMSQu2OMcGSXWUQuA==
Date: Wed, 30 Oct 2013 16:56:18 +0100
Message-ID: <070dd74974987ad31b6e4d2159709b6b@mail.gmail.com>
To: Fernando Gont <fgont@si6networks.com>
Content-Type: multipart/alternative; boundary="001a11c283b8b491f604e9f75f17"
X-DomainID: tieto.com
Cc: tcpm@ietf.org
Subject: [tcpm] draft-gont-tcpm-tcp-seq-validation
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: Wed, 30 Oct 2013 15:56:26 -0000

Hi,



I have promised to review the draft draft-gont-tcpm-tcp-seq-validation.



Please accept the following comments to
draft-gont-tcpm-tcp-seq-validation-01.txt



General comments – “out of scope”:

-----------------------------------------------



The draft addresses “only” the left window side of the problem with
sequence number validation.

It could be appropriate also to address the following issues:



1.       An ACK which arrives with SEG.SEQ = RCV.NXT+RCV.WND and with no
data should be acceptable for processing

2.       (Possibly)  ACK which arrives with SEG.SEQ = RCV.NXT and with one
data byte should be acceptable for processing

3.  The unclarity of the following formulation of RFC793 (repeated also in
this draft) “Segments with higher beginning sequence numbers may

be held for later processing.



The first issue arise when there are packet drops. One way to address this
issue is to adjust the row on page 69:



          0      >0     RCV.NXT =< SEG.SEQ < RCV.NXT+RCV.WND



to



          0      >0     RCV.NXT =< SEG.SEQ =< RCV.NXT+RCV.WND



(Here disregarding the left side of the inequality). Our TCP implementation
follows this approach.



The second issue is relevant in order to allow for processing of delayed
ACK info sent in window-probes. The second issue would demand for an
adjustment of

the row

           >0       0     not acceptable



or possibly this is just a clarification of the text: “If the RCV.WND is
zero, no [data] segments will be acceptable, but
special allowance should be made to accept valid ACKs”.



The third issue is relevant to have clarified in order to ensure that ACK
information of OoO segments are processed immediately and that such
processing

not be subject to head-of-line blocking.



Detailed Comments – “in scope”:

---------------------------------------------



Simultaneous open situation, section 3.1:



The proposed solution does not accommodate for data sent together with SYN.



An alternative solution (I believe that this is our implementation choice)
is to accept the SYN, ACK segment if the segment is adjacent to the left
side of the window

[i.e., SEG.SEQ+SEG.LEN = RCV.NXT] in SYN-RECEIVED state. This solution is
robust towards SYN + DATA.



BR, Karen