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

Neal Cardwell <ncardwell@google.com> Wed, 14 December 2016 16:42 UTC

Return-Path: <ncardwell@google.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 A3BB112962F for <tcpm@ietfa.amsl.com>; Wed, 14 Dec 2016 08:42:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.596
X-Spam-Level:
X-Spam-Status: No, score=-5.596 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-2.896, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 yo3iwEep4T6f for <tcpm@ietfa.amsl.com>; Wed, 14 Dec 2016 08:42:34 -0800 (PST)
Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (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 D6B61129418 for <tcpm@ietf.org>; Wed, 14 Dec 2016 08:42:33 -0800 (PST)
Received: by mail-oi0-x233.google.com with SMTP id y198so26170693oia.1 for <tcpm@ietf.org>; Wed, 14 Dec 2016 08:42:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=39kXskXmPtMrKes4esCqO9q1rHpZDgFaFSeRieAJZ2o=; b=j12mosDdCIe/eIGOWQ06IMbEGfs6RyH1Ao8LMqprPMOqvOIQ6X8vBPCiWHNZOF8QDO IggR8xSNr6SgvnAsmLlKdlH5DXF2ofDQZBr+66JmRJZGYF0bZd9v3kr73QxNxgFw1RaD SU17TvdJyhfvNjnGuaQN1YHiNd3A7poBYPjD4/4tVcG2nkcHfJ5dRqV9nMTPz0+1iiIj FK6sHnZvtkYmuiufxuk1p3I+5Z2Yf5fYvnHJs/OGt97W/s6HPu6yab+O63txRxs1C6Ef DNN82eU4TmsqwNu8afMUf6R7i/U8qwlULyAHiTFfcp7VRT7K2YSYsxY5Gar13PXYn+uI rUjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=39kXskXmPtMrKes4esCqO9q1rHpZDgFaFSeRieAJZ2o=; b=CbvkwTLUTf7twShw9H5KVcvq4JyPXbZgyWmIAfTunsmzb4yQN8HxYmSaIf5m3cn9yj lG36NUMXGQHPEby43CzowQeJWs4zst+Uxslg5rL3OZbWTpYOyX/Vx8ScBjezp+DKPBk4 82qfRM7hPJGAhPyn4aGwQIYEHzvToytuLBITXoqWUQ1bm00Lon3yOIxzxRgBp9nHkm1Q lVt2yo/6CBL89h17AKuSafhg6tP4L2+VZruV47ORF022zKcVWXOC8WAggkSmpIqrYqDV bSplYRIJ9MkKIIYAij3buTOWg8WUfwwUmvFGCTrsdN31GyAUs08wPrhP4Op6HrEA5QGz Dgog==
X-Gm-Message-State: AKaTC01bKOcxNa4k70g9kxA9oTKTncH48+rD352aOIGlyH+LEYMKmlbbqX2d9gPvETaub/SUIYuPiEqrMfVEXVzg
X-Received: by 10.157.2.36 with SMTP id 33mr61493879otb.180.1481733753118; Wed, 14 Dec 2016 08:42:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.202.240.213 with HTTP; Wed, 14 Dec 2016 08:42:02 -0800 (PST)
In-Reply-To: <F5E879E2C81D446DACD3D10EAC498A86@srichardlxp2>
References: <6b1695de-c94f-d4ef-6321-c74665432762@mti-systems.com> <CAGD1bZZRxEOYLA9NZGnerQg=iPdWHgsAOFuhPwPXt13yDb1yRw@mail.gmail.com> <CADVnQynX9Oimmye0DnnygaAZYLzUkxfX2DRWGeWGzADVWifkoQ@mail.gmail.com> <F5E879E2C81D446DACD3D10EAC498A86@srichardlxp2>
From: Neal Cardwell <ncardwell@google.com>
Date: Wed, 14 Dec 2016 11:42:02 -0500
Message-ID: <CADVnQy=p4sua59S6TiQd4mvxg=yCPyDA4ZwT0_69p3ezhSXWqQ@mail.gmail.com>
To: Richard Scheffenegger <rs.ietf@gmx.at>
Content-Type: multipart/alternative; boundary="94eb2c04432c01e59f0543a10665"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/jXc6yhpN1SojKQAyt1RrsOifx98>
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, Eric Dumazet <edumazet@google.com>
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: Wed, 14 Dec 2016 16:42:36 -0000

Hi Richard,

Thanks for your note. Unfortunately, I've been busy with other projects
recently (largely BBR) and haven't had time to read your draft on improving
timestamps (draft-scheffenegger-tcpm-timestamp-negotiation-05). It looks
like a very nice, thorough draft. So, rest assured that I will read it
before our team embarks on any draft related to the timestamp code we are
running within Google (which was written by Eric Dumazet, cc-ed).

thanks,
neal


On Tue, Dec 13, 2016 at 4:06 AM, Richard Scheffenegger <rs.ietf@gmx.at>
wrote:

> 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/
> >
> >
>