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)
Sat, Aug 8, 6:05 PM
Unknown Object (File)
Thu, Aug 6, 1:03 PM
Unknown Object (File)
Thu, Aug 6, 11:31 AM
Unknown Object (File)
Thu, Aug 6, 1:30 AM
Unknown Object (File)
Thu, Aug 6, 12:32 AM
Unknown Object (File)
Wed, Aug 5, 9:17 PM
Unknown Object (File)
Sun, Aug 2, 7:34 PM
Unknown Object (File)
Sun, Aug 2, 12:58 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62005
Build 58889: arc lint + arc unit