Page MenuHomeFreeBSD

tcp: Add a sysctl to affect listening socket behaviour
ClosedPublic

Authored by markj on Fri, Jan 24, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 6, 6:09 PM
Unknown Object (File)
Wed, Feb 5, 4:08 PM
Unknown Object (File)
Tue, Feb 4, 2:50 AM
Unknown Object (File)
Mon, Feb 3, 12:17 AM
Unknown Object (File)
Sat, Feb 1, 8:24 AM
Unknown Object (File)
Sat, Feb 1, 7:02 AM
Unknown Object (File)
Wed, Jan 29, 11:54 PM
Unknown Object (File)
Tue, Jan 28, 12:05 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 62005
Build 58889: arc lint + arc unit