From owner-svn-src-all@freebsd.org Fri Dec 25 08:29:50 2015 Return-Path: Delivered-To: svn-src-all@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 57471A5027E for ; Fri, 25 Dec 2015 08:29:50 +0000 (UTC) (envelope-from ubm@u-boot-man.de) Received: from mail.server41.configcenter.info (mail.server41.configcenter.info [31.47.242.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1D5541D0F for ; Fri, 25 Dec 2015 08:29:49 +0000 (UTC) (envelope-from ubm@u-boot-man.de) Received: from ubm.strangled.net (ipbcc30645.dynamic.kabel-deutschland.de [188.195.6.69]) (Authenticated sender: web4) by mail.server41.configcenter.info (Postfix) with ESMTP id A012E142A0A5 for ; Fri, 25 Dec 2015 09:05:42 +0100 (CET) Date: Fri, 25 Dec 2015 09:05:22 +0100 From: Marc "UBM" Bocklet To: svn-src-all@freebsd.org Subject: Re: svn commit: r292706 - in head/sys: conf netinet Message-Id: <20151225090522.983637f3b4763736e87a9207@u-boot-man.de> In-Reply-To: <201512241909.tBOJ9nlX070850@repo.freebsd.org> References: <201512241909.tBOJ9nlX070850@repo.freebsd.org> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.server41.configcenter.info [0.0.0.0]); Fri, 25 Dec 2015 09:05:42 +0100 (CET) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2015 08:29:50 -0000 On Thu, 24 Dec 2015 19:09:49 +0000 (UTC) Patrick Kelsey wrote: > Added: head/sys/netinet/tcp_fastopen.c > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/sys/netinet/tcp_fastopen.c Thu Dec 24 19:09:48 2015 (r292706) > @@ -0,0 +1,442 @@ > +/*- > + * Copyright (c) 2015 Patrick Kelsey > + * All rights reserved. > + * > + * Redistribution and use in source and binary forms, with or without > + * modification, are permitted provided that the following conditions > + * are met: > + * 1. Redistributions of source code must retain the above copyright > + * notice, this list of conditions and the following disclaimer. > + * 2. Redistributions in binary form must reproduce the above copyright > + * notice, this list of conditions and the following disclaimer in the > + * documentation and/or other materials provided with the distribution. > + * > + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND > + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE > + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE > + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE > + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL > + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT > + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY > + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > + * SUCH DAMAGE. > + */ > + > +/* > + * This is a server-side implementation of TCP Fast Open (TFO) [RFC7413]. > + * > + * This implementation is currently considered to be experimental and is not > + * included in kernel builds by default. To include this code, add the > + * following line to your kernel config: > + * > + * options TCP_RFC7413 > + * > + * The generated TFO cookies are the 64-bit output of > + * SipHash24(<16-byte-key>). Multiple concurrent valid keys are > + * supported so that time-based rolling cookie invalidation policies can be > + * implemented in the system. The default number of concurrent keys is 2. > + * This can be adjusted in the kernel config as follows: > + * > + * options TCP_RFC7413_MAX_KEYS= > + * > + * > + * The following TFO-specific sysctls are defined: > + * > + * net.inet.tcp.fastopen.acceptany (RW, default 0) There's a typo here, it should probably be "acceptancy"? Bye, Marc