Re: [tcpm] Progressing draft-ietf-tcpm-converters

Jeremy Harris <jgh@wizmail.org> Mon, 03 June 2019 18:09 UTC

Return-Path: <jgh@wizmail.org>
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 D350A120461 for <tcpm@ietfa.amsl.com>; Mon, 3 Jun 2019 11:09:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=wizmail.org
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 MjbgV4b2du6o for <tcpm@ietfa.amsl.com>; Mon, 3 Jun 2019 11:09:23 -0700 (PDT)
Received: from wizmail.org (wizmail.org [IPv6:2a00:1940:107::2:0:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D085712047E for <tcpm@ietf.org>; Mon, 3 Jun 2019 11:09:20 -0700 (PDT)
ARC-Seal: i=1; cv=none; a=rsa-sha256; d=wizmail.org; s=r201803; t=1559585360; b=zOVDb9CD73CKif//m4tOHnanHJjCsfnyp6bQ6xYA3hn+EMU/XEZvY8Lw4M7jiXgC7XO3kYrd70 OF2PfFHvHRFwCwUP5xCGJlZcQRJGSnCpaFAwnKk6QjGfN4BNHiI+Xu4iFpkrl3czL4hN1PYAAt JjwhYeFqtlnZQ7AHO6j5d18=;
ARC-Authentication-Results: i=1; wizmail.org; iprev=pass (vgate18.wizint.net) smtp.remote-ip=2a00:1940:107::1:2f:0; auth=pass (PLAIN) smtp.auth=jgh@wizmail.org
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=wizmail.org; s=r201803; t=1559585360; bh=fELKrQbv6cPwvOba1A9rN1RK3ga3DO4ltjy5OKeAJqo=; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:DKIM-Signature; b=rpgTQGEVQ4cBdrEsrVPCcD8malcmhWheIeetkKF5DCIEOdmekXgAEq1oFZfjtx6/KuxKsDeyf1 1ZCtk6eY2hb7D/cHla+OTjmvVTJnf5SRxMkgcl6puIaY0tcgFhTLDhuIj25xC9vX4jh/Znp2Zp SnqR2pjL1EoBOT9fsPvKPWU=;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=wizmail.org ; s=r201803; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:From:Sender:Reply-To: Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=eYJetdoRnXpk0uo0LoDcHyxF6nvonOpnIu9fJERE34E=; b=Q tDO7XIFOqX8c8I1+e2nIkfc0DoVBua92E9gO4wzyYrfpj/sLyotn9oowefr4Mm5Ke8PnpijMn3RGq 00UZyHHzOZVt458P9Np+khccKThZraQLiNEP48jEHansnsYcKISkirSs0v7uab8X1jfFstBC+gAgi fX7DOkV9n0hjSv6w=;
Authentication-Results: wizmail.org; iprev=pass (vgate18.wizint.net) smtp.remote-ip=2a00:1940:107::1:2f:0; auth=pass (PLAIN) smtp.auth=jgh@wizmail.org
Received: from vgate18.wizint.net ([2a00:1940:107::1:2f:0] helo=lap.dom.ain) by wizmail.org (Exim 4.92.114) (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) with esmtpsa id 1hXrOY-0002PS-Vm for tcpm@ietf.org (return-path <jgh@wizmail.org>); Mon, 03 Jun 2019 18:09:19 +0000
To: "tcpm@ietf.org Extensions" <tcpm@ietf.org>
References: <F92BF1E2-60EB-4E48-84A4-1C82589A056A@tessares.net> <CAK6E8=f-TAUWs3x4P9XHUHbvRhOqBhH9GU910Yoy5v_0vzUxAQ@mail.gmail.com> <A0496204-331F-4D8E-A1C1-83D3E1CE759B@tessares.net> <CAK6E8=e0RVzfRA0j=y8EZK0HonH6vaMBL6m-U3L+8cNO-zpqqw@mail.gmail.com> <787AE7BB302AE849A7480A190F8B93302EA8E8EF@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <CAK6E8=cDrLB0Oop2act7jCe_CYnNd2gJZU06ZHg_zJXXh_VOXg@mail.gmail.com> <MW2PR2101MB1049E8330D990998817F1A82B6020@MW2PR2101MB1049.namprd21.prod.outlook.com> <787AE7BB302AE849A7480A190F8B93302EA8F7C3@OPEXCAUBMA2.corporate.adroot.infra.ftgroup> <MW2PR2101MB10493385260DA9D53B92B1A4B61E0@MW2PR2101MB1049.namprd21.prod.outlook.com> <4258DCF5-1588-4B97-9C05-F0722E053072@tessares.net> <MW2PR2101MB1049AF12221F9EE37133F603B61F0@MW2PR2101MB1049.namprd21.prod.outlook.com> <3d979013-16d3-689f-45cb-e5b007fe7f13@wizmail.org> <CAK6E8=fjfk=EMfvRL_eqco3-Siz1fHN46hAANwspDzK8vf+1kA@mail.gmail.com>
From: Jeremy Harris <jgh@wizmail.org>
Openpgp: preference=signencrypt
Autocrypt: addr=jgh@wizmail.org; prefer-encrypt=mutual; keydata= mQENBFWABsQBCADTFfb9EHGGiDel/iFzU0ag1RuoHfL/09z1y7iQlLynOAQTRRNwCWezmqpD p6zDFOf1Ldp0EdEQtUXva5g2lm3o56o+mnXrEQr11uZI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ZABEBAAGJAR8EGAECAAkFAlWABsQC GwwACgkQvOWMjOQfMt9N6Af8CS2CTrMQFdhkGEtBXmL4ifD8UHFkBRBGmM8ZL2fWUBTZXT8m rdRMOK6tcPnKWaCvWvKr0knt970j/DyAgFmH8hgOi3yctigFecVDjjilAeCJMq38s1tYKYiL DbBdHWtdkA9uHZwq3lfd3QxcEEO3QamQF+dO7h8gAOXlG+po87Hm+E0wz4swIB8+S37Jzrx9 uu0LSFDfJCTK+TIKGa5Un8LxPxyq9WnnNDh72zK7BiRidk/s40KcNod83NM4Hn/sbGfyLa8s S0F3ME0S+ocSMOiu/ZHHOiwpLYNbwTJ7stZxGsrguWeT9P+amxbA/YlK95LedstwvN+WcHZ7 d++Arg==
Message-ID: <70e482bb-b1d6-f50b-2032-4707013ccfc9@wizmail.org>
Date: Mon, 03 Jun 2019 19:09:18 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CAK6E8=fjfk=EMfvRL_eqco3-Siz1fHN46hAANwspDzK8vf+1kA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
X-Pcms-Received-Sender: vgate18.wizint.net ([2a00:1940:107::1:2f:0] helo=lap.dom.ain) with esmtpsa
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/aKsURnJPjqO7uMFBTTlSz9shDr4>
Subject: Re: [tcpm] Progressing draft-ietf-tcpm-converters
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 03 Jun 2019 18:09:25 -0000

On 03/06/2019 18:58, Yuchung Cheng wrote:
> On Mon, Jun 3, 2019 at 7:37 AM Jeremy Harris <jgh@wizmail.org> wrote:
>>
>> On 29/05/2019 17:27, Praveen Balasubramanian wrote:
>>> 2. Ability to RECEIVE data in SYN payload on server. This is only supported on all OS *after* 3WHS is completed. This is per RFC 793. The only exception is if TFO API is used, and then if cookie is validated the application will  receive early-data. There is no way to retrieve early data otherwise.
>>
>> There is a bit in the tcp_fastopen sysctl for Linux described so:
>>
>>     0x200: (server) accept data-in-SYN w/o any cookie option present.
>>
>> It doesn't say explicitly that the data is presented to the application
>> (neither does the doc for the with-cookie server TFO control bit).
>> Does anybody know whether it is?
> I am not sure what you mean - what is "it" in your last question?

Whether the data, that arrived on the SYN, is available to the
application (before, the item I forgot to specify, the ACK for the
SYN,ACK arrives at the server).

> when this option is used (0x200), TFO will accept the data in SYN w/o
> or w/ any cookie. Accept(2) will return in 3WHS. but note that SYN-ACK
> is returned immediately upon receiving SYN-data in this mode. so this
> mode will not support the latest tcpm-converter proposal where SYN-ack
> is delayed upon (in-data) cookie verification and proxy 3WHS
> completion. This change requires non-trivial implementation for a
> listener handling millions of requests in Linux.

That's a separate point of interest, as is whether it will ever be
feasible to carry data on the SYN,ACK (either for cookieless or
cookieful mode).

-- 
Cheers,
  Jeremy