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, Apr 21, 6:22 PM
Unknown Object (File)
Tue, Apr 21, 12:21 AM
Unknown Object (File)
Mon, Apr 20, 9:32 PM
Unknown Object (File)
Mon, Apr 20, 2:00 PM
Unknown Object (File)
Mon, Apr 20, 12:06 PM
Unknown Object (File)
Sun, Apr 19, 11:30 AM
Unknown Object (File)
Tue, Apr 14, 8:39 AM
Unknown Object (File)
Thu, Apr 9, 10:21 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