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, Oct 15, 12:54 PM
Unknown Object (File)
Sep 4 2025, 4:46 PM
Unknown Object (File)
Sep 4 2025, 12:57 PM
Unknown Object (File)
Sep 4 2025, 11:24 AM
Unknown Object (File)
Aug 15 2025, 12:34 AM
Unknown Object (File)
Aug 10 2025, 8:20 PM
Unknown Object (File)
Jul 8 2025, 1:13 AM
Unknown Object (File)
Jul 7 2025, 11:15 PM
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