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
F156959168: D48663.id150630.diff
Sun, May 17, 3:58 PM
F156942019: D48663.id149925.diff
Sun, May 17, 12:54 PM
Unknown Object (File)
Sun, May 17, 5:07 AM
Unknown Object (File)
Sun, May 17, 3:23 AM
Unknown Object (File)
Thu, May 14, 4:42 AM
Unknown Object (File)
Tue, May 12, 1:12 AM
Unknown Object (File)
Tue, May 12, 1:11 AM
Unknown Object (File)
Tue, May 12, 12:40 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