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
F11655532: D3655.diff
Sat, Sep 6, 15:02
F11654514: D3655.id.diff
Sat, Sep 6, 12:26
Unknown Object (File)
Fri, Sep 5, 12:42
Unknown Object (File)
Fri, Sep 5, 12:41
Unknown Object (File)
Fri, Sep 5, 12:39
Unknown Object (File)
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