Page MenuHomeFreeBSD

tcp: Add a sysctl to affect listening socket behaviour
ClosedPublic

Authored by markj on Jan 24 2025, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 10, 6:08 PM
Unknown Object (File)
Sun, Nov 30, 9:46 PM
Unknown Object (File)
Fri, Nov 28, 10:02 PM
Unknown Object (File)
Thu, Nov 27, 4:35 AM
Unknown Object (File)
Thu, Nov 27, 1:53 AM
Unknown Object (File)
Wed, Nov 26, 12:16 AM
Unknown Object (File)
Nov 4 2025, 10:47 PM
Unknown Object (File)
Oct 18 2025, 8:31 AM
Subscribers

Details

Summary

Introduce the net.inet.tcp.bind_all_fibs tunable, set to 1 by default
for compatibility with current behaviour. When set to 0, all TCP
listening sockets are private to their FIB. Inbound connection requests
will only succeed if a matching inpcb is bound to the same FIB as the
request.

No functional change intended, as the new behaviour is not enabled by
default.

Sponsored by: Klara, Inc.
Sponsored by: Stormshield

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable