Re: [tcpm] Ref to timestamp negotiation draft (expired)

"Richard Scheffenegger" <rs.ietf@gmx.at> Tue, 13 December 2016 09:27 UTC

Return-Path: <rs.ietf@gmx.at>
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 9AC6E129506 for <tcpm@ietfa.amsl.com>; Tue, 13 Dec 2016 01:27:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 CoJVfYL4DN5v for <tcpm@ietfa.amsl.com>; Tue, 13 Dec 2016 01:27:13 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B2A12129582 for <tcpm@ietf.org>; Tue, 13 Dec 2016 01:27:09 -0800 (PST)
Received: from srichardlxp2 ([213.143.121.76]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M1n4s-1cVV191eHK-00tlwr; Tue, 13 Dec 2016 10:26:25 +0100
Message-ID: <F5E879E2C81D446DACD3D10EAC498A86@srichardlxp2>
From: Richard Scheffenegger <rs.ietf@gmx.at>
To: Neal Cardwell <ncardwell@google.com>, Yuchung Cheng <ycheng@google.com>
References: <6b1695de-c94f-d4ef-6321-c74665432762@mti-systems.com> <CAGD1bZZRxEOYLA9NZGnerQg=iPdWHgsAOFuhPwPXt13yDb1yRw@mail.gmail.com> <CADVnQynX9Oimmye0DnnygaAZYLzUkxfX2DRWGeWGzADVWifkoQ@mail.gmail.com>
Date: Tue, 13 Dec 2016 10:06:58 +0100
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0033_01D25528.A41F6760"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157
X-Provags-ID: V03:K0:+g6No+pgn2xUAdr7Qg3M5CGqByffRS/P+xMg2jgg257+Dl4yq1E WE0Q0ZFxgViBDF0dR2/rmwI+3lZvx+KPxYhMrXVvxx6FnosevL81c3GgwdmxapqWsOQKI9R eDN3ZfMS85gJFrSabvUT1ChK46C1S2EFZ/DLcHdB96i/MkWOs4NtX52DgR+Liir7/ATLwWe A922o2XnhMBMjdj4wu/bQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:GKo9MD4osXo=:G+xaAovIBGVRts/Qih56pI 9V6OujILZv6Ba4SUo3DkCaPFIdPuV9YJhetmHcAHMod1YigTtawRg8vDpXUbr8e8r4NNHSG07 CjYO47l8THsJjY7Z1YI1KFVjshuqqu22oPKwmrKV8owypZ+9DEzZkQxZ2AdDBIntX6poHwESS fdPJKgPPCj9suISy7wP3Fc6HTeDW1ySLrKVD8NghL6FegO1l7LzOerauX2FifjjcEVZ/1d+qN SS/aMkcFoyBMkvIsnQrG1Vp5PmVQlMC7gwMlzwsVs04Eqv8CRrl68GmiCd5qSwnj6rVfvqzyh e/wG+sWRWY1rhGsSmYoYcnaLfC3afLpWK8q1HBKir79Gp78uBiI0UqWxl3b0NrTTaZbnSA38Q R1ToXk83iol4vnOoW5ieych66keKk0CWCwol55X1LVrJUgFDGq15nvvW5HOoMclpvW47QKdn+ pRImmU0rQYZgO4qVM2mWB3HvLxditeMDOGyDV4ADytP6CyRJTgjir1dPlLLiUsPTlJCR1767P kOviWzuooIXJ+sr+Ay4Argbn79wzS+QA20jg42HcZOeZapMHzTh9229HDwlifaS74Q3sIcuQg XHY/JT2ioH9/QrRssHtruR/fDDmYRRK2aqOUj67OQHZaFMaylMMmbpVtWRMP5ZNzw9+ShSa1J KGASQGLnA2JnS3Z6V6g2D+L9940as+keHpSW+N0kmJtOw41DGgOtvb41JhURbMHz4hOrVZO5j w5s6OKKTSlyob3K2N4q8PO6zb3NaqHuSsywWBTnCFjo+XFSHq0hmrww8zcUNj3/sDjc4Osm7P hz9sCA9
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/TUdcBZ78pmrGgqZCsItL0ctS9Wo>
Cc: tcpm@ietf.org
Subject: Re: [tcpm] Ref to timestamp negotiation draft (expired)
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: Tue, 13 Dec 2016 09:27:18 -0000

Hi Neal,

did you have time to glance over the timestamp negotiation draft? 

Here is a brief abstract of some of the properties that the proposed negotiation scheme offers. However, at the time, there was too little interest in this (and no other vendor to support development efforts) thus it expired.

a) no additional TCP Option space useage, particular in the initial SYN

b) Up to 24 bits for arbitrary signalling - the draft uses 16 (https://tools.ietf.org/html/draft-scheffenegger-tcpm-timestamp-negotiation-05) to signal the timestamp interval; the value is encoded differently from a IEEE floating point representation to allow further freedom to indicate relative precision of the injected timestamp (ie. envision a NIC capable of hw clocking each segment in a TSO transfer, vs. using a coarse grained software clock in a virtual host)

c) generic mechanism to make (parts of) the  timestamp useful for the receiver, allowing the sender to weakly authenticate returned timestamps (e.g. avoiding the cubic epoch exploit to game a sender by manipulating timestamps)

d) In that basic version, 8 bits would still be available to provide the signals envisioned by your proposal for indicating Max ACK Delay - perhaps using a shift value offset by a constant biad as for the timestamp interval, more granualar signaling would be possible than in your proposal.


Drawback of the scheme: duing 3WHS, the sender needs to keep state of the original TSval (which should be a non-issue for Linux stacks, and is manageable for byte-oriented stacks).

Also, a small probability of falsely activating the TS negotiation. However, against servers on the internet, this probability is smaller than expected as TSval still relates linearly to system uptime, in most implementations; I've investigated this during writing intensively (not what you could do, though) - see section 5.3 

Re-reading, I see that my descriptive language  is perhaps not clear enough, the signals spoken about in the draft are always exchanged in a TSecr field of a TS Option, with the TSecr of the SYN/ACK being the XOR sum of the TSval from the SYN, plus the capabilites signal of the receiver...

Best regards,
  Richard




Great. Thanks, Bob. We'll take a look at these...

neal

On Wed, Nov 16, 2016 at 9:59 AM, Bob Briscoe <ietf@bobbriscoe.net> wrote:

> Neil, [re-sending from correct address, so it is acceptable to the tcpm
> list]
>
> As promised in the discussion just now about your timer negotiation talk
> in tcpm, here's the previous draft on a similar subject:
> Additional negotiation in the TCP Timestamp Option field during the TCP
> handshake
> <https://tools.ietf.org/html/draft-scheffenegger-tcpm-timestamp-negotiation-05>
>
> This was originally prompted by the research here (see section 3.1 for the
> timestamp discussion), which you might also be interested in:
> Chirping for Congestion Control - Implementation Feasibility
> <http://www.bobbriscoe.net/pubs.html#chirp_impl>
>
>
>
> Bob
>
> PS. I can recommend a good search engine to find stuff like this :)
>
>
> --
> ________________________________________________________________
> Bob Briscoe                               http://bobbriscoe.net/
>
>