Page MenuHomeDevCentral

Enable TCP Fast Open on FreeBSD for role dns
AcceptedPublic

Authored by dereckson on Wed, Sep 3, 19:01.
Tags
None
Referenced Files
F11646775: D3655.id9467.diff
Fri, Sep 5, 12:42
F11646765: D3655.id.diff
Fri, Sep 5, 12:41
F11646745: D3655.diff
Fri, Sep 5, 12:39
F11646544: D3655.diff
Fri, Sep 5, 11:46
Subscribers
None
Tokens
"Y So Serious" token, awarded by dereckson.

Details

Reviewers
DorianWinty
Summary

While FreeBSD 14 kernel is built by default with support for
TCP Fast Open (option TCP_RFC7413), it's only enabled on boot
for clients, not for servers.

As Knot uses TCP Fast Open, we need to explicitly enable it.

Solves the following issue:

Sep  3 18:35:18 dns-001 knot[81075]: warning:
failed to enable TCP Fast Open on 178.32.70.109@53 (unknown system error)

References:

  • tcp(4)
Test Plan
  • sysctl logic tested on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
knot-tcp-fast-open
Build Status
Buildable 5854
Build 6136: arc lint + arc unit