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, Mar 1, 9:11 AM
Unknown Object (File)
Tue, Feb 25, 4:55 PM
Unknown Object (File)
Tue, Feb 18, 8:13 AM
Unknown Object (File)
Mon, Feb 17, 6:39 AM
Unknown Object (File)
Feb 6 2025, 6:09 PM
Unknown Object (File)
Feb 5 2025, 4:08 PM
Unknown Object (File)
Feb 4 2025, 2:50 AM
Unknown Object (File)
Feb 3 2025, 12:17 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