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)
Tue, Feb 24, 6:41 PM
Unknown Object (File)
Sat, Feb 21, 7:09 AM
Unknown Object (File)
Wed, Feb 18, 6:56 AM
Unknown Object (File)
Sun, Feb 8, 3:33 PM
Unknown Object (File)
Sat, Feb 7, 8:16 PM
Unknown Object (File)
Jan 31 2026, 2:47 PM
Unknown Object (File)
Jan 25 2026, 4:47 PM
Unknown Object (File)
Jan 25 2026, 11:59 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