Page MenuHomeFreeBSD

tcp: Add a sysctl to affect listening socket behaviour
Needs ReviewPublic

Authored by markj on Fri, Jan 24, 5:04 PM.
Tags
None
Referenced Files
F108446631: D48663.diff
Fri, Jan 24, 8:52 PM
F108430688: D48663.diff
Fri, Jan 24, 5:27 PM
F108430676: D48663.diff
Fri, Jan 24, 5:27 PM
Subscribers

Details

Reviewers
glebius
Group Reviewers
network
transport
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