From owner-freebsd-net@freebsd.org Wed Sep 2 05:30:50 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D85329C847F for ; Wed, 2 Sep 2015 05:30:50 +0000 (UTC) (envelope-from pkelsey@gmail.com) Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92B2C1B1 for ; Wed, 2 Sep 2015 05:30:50 +0000 (UTC) (envelope-from pkelsey@gmail.com) Received: by qgx61 with SMTP id 61so11711278qgx.3 for ; Tue, 01 Sep 2015 22:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=9s/Aq34FOOMGQcKWfSSZEr3aB6M0DUdM8V57v2/i1RU=; b=IOrXE21pMwNI8P+iw1s/7rDVKGxkT24XiMjXwp6K6Ni0lQja9HCyd52egF+/ecckZ3 Qz5FFWaYw4laCRKcNFAx+kmGh08Vkg+hYidG72pz/eDUrXArq/akW1LWRjsvA1YhCH1T 1BXhJH0uk5oeqV8psGYkOG6Q7tgWjzENjrhCnEY53IQv5V0RLxv4mL66BGPQdrifXEqF PtjlmMKOsfdRwS/A2amFI2aEC7QOuvzyy/QZW7zZAv/Z3jm5bkAV04G9pMlfiRULShab 6vQuYHtXCluZJJNsGvpRH/raE+WLjQPCPJwbrn2BHF3j30DyblPQb+oeUjSUJcpKy/Eq MmZQ== X-Received: by 10.140.194.145 with SMTP id p139mr57385884qha.84.1441171849694; Tue, 01 Sep 2015 22:30:49 -0700 (PDT) Received: from [10.218.90.20] ([166.170.28.215]) by smtp.gmail.com with ESMTPSA id x4sm2905649qha.24.2015.09.01.22.30.49 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Sep 2015 22:30:49 -0700 (PDT) Sender: Patrick Kelsey Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: TCP Fast Open (RFC7413) for FreeBSD From: Patrick Kelsey X-Mailer: iPhone Mail (12F70) In-Reply-To: <1441169643.1183.12.camel@me.com> Date: Wed, 2 Sep 2015 01:30:48 -0400 Cc: "freebsd-net@freebsd.org" , "jones@sdf.org" , "sara@sinodun.com" Content-Transfer-Encoding: quoted-printable Message-Id: References: <1441169643.1183.12.camel@me.com> To: Rui Paulo X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2015 05:30:50 -0000 > On Sep 2, 2015, at 12:54 AM, Rui Paulo wrote: >=20 >> On Tue, 2015-09-01 at 21:19 -0400, Patrick Kelsey wrote: >> Hi, >>=20 >> About two weeks from now, I will be starting work on server-side TCP=20 >> Fast >> Open (TFO) support for FreeBSD head and stable/10, with the intention=20 >> of >> having patches up for review by November. This message is an attempt=20 >> to >> uncover any existing work on TFO for FreeBSD, as the existence of=20 >> such work >> may change my plans. >>=20 >> Copying Sara Dickinson and Tom Jones due to this thread: >> https://lists.freebsd.org/pipermail/freebsd-net/2015 >> -January/040910.html. >=20 > Have you performed any measurements on the likelihood that stateful > packet inspectors (firewalls, NATs, etc.) will allow a SYN or a SYN/ACK > to pass with data in it? I have not performed any such measurements. This issue is discussed in sect= ion 7.1 of the RFC, which cites such studies and summarizes the finding as b= eing that 6% of the probed internet paths dropped SYN packets with data or w= ith unknown TCP options. >=20 > How would this interact with our syncache? Does it just need to store > the cookie? >=20 The exact interaction with the syncache is still TBD, but I do not expect to= be storing TFO cookies in the syncache as the cookies are per client-server= IP pair and not per-connection. -Patrick=