warning: Setting TCP Fast Open as server failed

Jaap Akkerhuis jaap at NLnetLabs.nl
Sun Feb 10 10:57:59 UTC 2019

 Chris via Unbound-users writes:

 > Im not a expert. Do I need to do a custom kernal on FreeBSD 12 with 
 > options TCP_RFC7413 ?

Check for it in the kernel configure file:

	$ grep RFC7413 /usr/src/sys/amd64/conf/*
	/usr/src/sys/amd64/conf/GENERIC:options		TCP_RFC7413		# TCP Fast Open

I run 12-STABLE and there it apparently is in default.

 > warning: Setting TCP Fast Open as server failed: Operation not permitted 
 > ; this could likely be because sysctl net.inet.tcp.fastopen.enabled, 
 > net.inet.tcp.fastopen.server_enable, or net.ipv4.tcp_fastopen is disabled
 > Already in sysctl.conf
 > *|net.inet.tcp.fastopen.enabled=1 net.inet.tcp.fastopen.server_enable=1 net.ipv4.tcp_fastopen=1 |*

Just a net.inet.tcp.fastopen.server_enable=1 should be enough. What does "sysctl -a | grep fastopen" tells you?


More information about the Unbound-users mailing list