Re: [tcpm] (ref. RFC 7323) Increase of shift count from 14 to 15.

Sanjeev Ranot <sanjeev.ranot.81@gmail.com> Sun, 28 August 2016 08:55 UTC

Return-Path: <sanjeev.ranot.81@gmail.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 CAFB712D5A0 for <tcpm@ietfa.amsl.com>; Sun, 28 Aug 2016 01:55:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.739
X-Spam-Level:
X-Spam-Status: No, score=-1.739 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_FREEMAIL_DOC_PDF=0.01] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 trBMULKS3CI8 for <tcpm@ietfa.amsl.com>; Sun, 28 Aug 2016 01:55:11 -0700 (PDT)
Received: from mail-ua0-x229.google.com (mail-ua0-x229.google.com [IPv6:2607:f8b0:400c:c08::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 62F9C12D1AE for <tcpm@ietf.org>; Sun, 28 Aug 2016 01:55:11 -0700 (PDT)
Received: by mail-ua0-x229.google.com with SMTP id k90so202647663uak.1 for <tcpm@ietf.org>; Sun, 28 Aug 2016 01:55:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bkF3br3yCqjV+2oE/s4eff5BUoaUD2ZmiV0t1XDvCvg=; b=UhnaZi1bfqHrZYYIvYZdJ4uDicQ6fh7CbFR62Q8cR1F9jDC5Dn/7BqZmTzf6RnQCj8 HQRuzaM/zwLdgaKVjj9L5g6CbzrZwSTq4lavvmby5hiX2DqWFGeLZBqU7WFB6Z3CEdep EMkcuJdbxVoHh4iKnoutFpQTt9Yprt2W5IxsOJnfBBOuXmdNziapPBZTz3MaSkez74oZ yTkRjIDhyt2Djy0DDkCU1HPG4z+6NELdFSBr4RtklryPTB9lIrSn8IFpYAXs4Fi/WrmV 7sAgDKqV0pL4VAONQyGj++a9w4BotSBtlpZdvFzKP2Otx99w71xwWG8frHMcXGiXU0nw AkJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bkF3br3yCqjV+2oE/s4eff5BUoaUD2ZmiV0t1XDvCvg=; b=kLja5rvOZGzwFmkWQzYHksPxYUTCzSsEgTL+UONLh50RMQQxBTEH+wnCzh2e+xUMl3 A2mKNwebXFENyuj4Yh8gEO5BiB2e9H/1Ne97yvd+50E5/G98Jbku3ih24uuWpMeAesMy 3OZWGz/gC/KYU8+HJJw0bJolpMeD/ft7UfouSEpKxmA8irdaTOd585KyEmwfilc4YD9b 6ZmwEyMcE/LwuMptjwMl5+ZWr0oZv73V3b5Ug+VczC3+scThqp85OMC7TrWcFpFV5yj8 htkUatJA2f34Z6W0f1b9Q+73c3T+/fdtQLnaUhYUfUd5Mk88tzp2x4Iqx6wSt25sO6ov /JaQ==
X-Gm-Message-State: AE9vXwOvCG/dfYPwSDXHHVRqe5RdPe9rA5VlgJZwsO4Vr7WXCNmLpqEPxWZ5zdrbOs7ynkaxlDd+scXR25Tr1A==
X-Received: by 10.31.61.10 with SMTP id k10mr5844367vka.19.1472374510413; Sun, 28 Aug 2016 01:55:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.4.199 with HTTP; Sun, 28 Aug 2016 01:55:09 -0700 (PDT)
In-Reply-To: <CAO249yfGEdZ_XJwJQ_DrB=5yQrVUY30nHX5DM3WEu7aNg6mM3A@mail.gmail.com>
References: <CA+EURmrJdrCf0QdnOrgVwkwHgkDkk7Q4Qdm6_xnQ1RjvA4ryag@mail.gmail.com> <CAO249yfGEdZ_XJwJQ_DrB=5yQrVUY30nHX5DM3WEu7aNg6mM3A@mail.gmail.com>
From: Sanjeev Ranot <sanjeev.ranot.81@gmail.com>
Date: Sun, 28 Aug 2016 14:25:09 +0530
Message-ID: <CA+EURmq_jBf_bnqRWfiNkyTYh+pCgtPHp8GjqiYEOn3w3k7Ugw@mail.gmail.com>
To: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
Content-Type: multipart/mixed; boundary="001a114d9492ab9370053b1de7cd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/FdMy27sCSfjCJglYzx14X9cWsvs>
X-Mailman-Approved-At: Sun, 28 Aug 2016 08:05:20 -0700
Cc: "tcpm@ietf.org" <tcpm@ietf.org>
Subject: Re: [tcpm] (ref. RFC 7323) Increase of shift count from 14 to 15.
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Sun, 28 Aug 2016 08:55:13 -0000

Hi Yoshi,

thanks for replying. I have done some work in these couple of days on
how exchange and interoperability of shift count 15 or greater will work.

Basically my idea is for the new TCP stack (which will support shf.cnt >=
15)
to exchange shf.cnt even in Data Transfer Phase and not only in connection
establishment. I have presented this exchange work in the document enclosed.

Please have a look at the document and let me know for any info or
clarification
required. I hope it helps in your related studies and work.

Please feel free to write and discuss.

Thanks & Regards,
Sanjeev Ranot


On 26 August 2016 at 00:31, Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
wrote:

> Hello Sanjeev,
>
> I wrote a draft about it before.
> I am still working on it as I need to do some studies a bit more, but I
> think it's probably ok to use 15 as a shift count.
> A question would be how to migrate it even if using 15 is possible.
> Or, we can publish this draft as reference information as we've seen this
> question from time to time.
>
> https://tools.ietf.org/html/draft-nishida-tcpm-maxwin-00
>
> Thanks,
> --
> Yoshi
>
> On Thu, Aug 25, 2016 at 1:29 AM, Sanjeev Ranot <sanjeev.ranot.81@gmail.com
> > wrote:
>
>> Hi,
>>
>> please can the team explain why we don't use 15 as a shift count instead
>> of 14 as mentioned in RFC 7323. Is it because of machines not supporting
>> unsigned storage or is it more than sufficient guard for denying old or
>> unwanted segment retransmissions from the previous window.
>>
>> My understanding:
>> We know that 2^32 sequence counter (sequence counter is the the sequence
>> field in TCP header) has valid sequence numbers from 0 to 4294967295. To
>> determine if a data segment is "old" or "new" it sets the window size to
>> floor((2^32-1 )/2) +1 since sender's and receiver's window can be out of
>> phase by at-most 1 window.
>> 1st part has valid range of sequence numbers from = 0 to 2147483647 and
>> since its contained inside size of of 2^32 therefore we get another valid
>> range of sequence numbers from 2147483648 to 4294967295. So if the sender
>> has sent all its packets within the window from 0 to 2147483647 and
>> receiver
>> has accepted all the packets and sent cumulative acks as well for all of
>> these then it advances RCV.NXT to start of next maximum available range
>> of sequence numbers.
>> Upon receiving all cumulative acks the sender also advance to next set of
>> available sequence numbers. Otherwise, if considering the scenario when
>> spurious retransmission occurs or another scenario where all cumulative
>> acks
>> are lost and retransmission timeout or another scenario when cumulative
>> ack
>> carrying widow update information is lost, then in such cases the sender
>> will retransmit segment with sequence number that will fail receiver's
>> segment acceptability test.
>>
>> If there is a reason behind this then please cite in response. Also
>> please
>> tell if such change is valid then do we need to report it as correction
>> or as a
>> change for RFC 7323.
>>
>> Thanks & Regards,
>> Sanjeev Ranot
>>
>> _______________________________________________
>> tcpm mailing list
>> tcpm@ietf.org
>> https://www.ietf.org/mailman/listinfo/tcpm
>>
>>
>