Hello, nice to meet you all.
I find a thread in the forum by Googling it.
The thread above says:
I know that 'options TCP_RFC7413' has already been added to the default kernel building options in FreeBSD 14, so there is no need to rebuild the kernel.
It seems that the new option is
As a consequence, I set the option
I suspect whether what I did is correct or not, because it still work abnormally for the program which use tcp fast open.
Do I need to set other options?
I find a thread in the forum by Googling it.
The thread above says:
Added 'options TCP_RFC7413' to custom kernel config and added 'net.inet.tcp.fastopen.enabled=1' to /etc/sysctl.conf no errors anymore from bind911.
I know that 'options TCP_RFC7413' has already been added to the default kernel building options in FreeBSD 14, so there is no need to rebuild the kernel.
net.inet.tcp.fastopen.enabled=1
seems obsolete in FreeBSD 14, because I get 'unknown void'.
Code:
# sysctl net.inet.tcp.fastopen.enabled=1
sysctl: unknown oid 'net.inet.tcp.fastopen.enabled'
Code:
#sysctl -a|grep fastopen
net.inet.tcp.fastopen.server_enable: 1
net.inet.tcp.fastopen.psk_enable: 0
net.inet.tcp.fastopen.path_disable_time: 900
net.inet.tcp.fastopen.numpsks: 0
net.inet.tcp.fastopen.numkeys: 2
net.inet.tcp.fastopen.maxpsks: 2
net.inet.tcp.fastopen.maxkeys: 2
net.inet.tcp.fastopen.keylen: 16
net.inet.tcp.fastopen.client_enable: 1
net.inet.tcp.fastopen.ccache_buckets: 2048
net.inet.tcp.fastopen.ccache_bucket_limit: 16
net.inet.tcp.fastopen.autokey: 120
net.inet.tcp.fastopen.acceptany: 0
It seems that the new option is
net.inet.tcp.fastopen.server_enable
from here.As a consequence, I set the option
net.inet.tcp.fastopen.server_enable
to 1.I suspect whether what I did is correct or not, because it still work abnormally for the program which use tcp fast open.
Do I need to set other options?
Code:
# freebsd-version
14.2-STABLE