Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2015 09:05:22 +0100
From:      Marc "UBM" Bocklet <ubm@u-boot-man.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Dec 2015 19:09:49 +0000 (UTC)
Patrick Kelsey <pkelsey@FreeBSD.org> 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><client-ip>).  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=<num-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151225090522.983637f3b4763736e87a9207>