Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2018 20:33:07 +0200
From:      Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
To:        Pieter de Goeje <pieter@degoeje.nl>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Does TCP_FASTOPEN actually work?
Message-ID:  <9B19385C-CBD4-4C12-9E84-E12CAAF23092@lurchi.franken.de>
In-Reply-To: <8f67a706-a650-bba2-a7dc-c25e676e1c97@degoeje.nl>
References:  <8f67a706-a650-bba2-a7dc-c25e676e1c97@degoeje.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 5. Jul 2018, at 17:23, Pieter de Goeje <pieter@degoeje.nl> wrote:
> 
> I'm trying to test this new feature, but I have trouble getting the client to actually send a cached cookie. It keeps requesting new ones and as a consequence it never sends data in the initial SYN packet. Tcpdump shows that the server correctly replies to a cookie request with a cookie.
Can you provide a tracefile?
> 
> Or am I misunderstanding how it should work and is the cookie cache per-process instead of system wide?
No, the cache is system wide. You can use
https://reviews.freebsd.org/D14554
to see the entries.
> 
> I'm using the test programs from https://people.freebsd.org/~pkelsey/tfo-tools/ for this purpose.
How are you using the client and server?
> 
> Server and client run on r335760 or later, with no changes to net.inet.tcp.fastopen except that server_enable was set to 1.
Is client_enable = 1?
> 
> Related issue is that TCP_FASTOPEN is currently undocumented in tcp(4).
> 
> - Pieter
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B19385C-CBD4-4C12-9E84-E12CAAF23092>