Page MenuHomeFreeBSD

openssh: Don't try to bind to unsupported addresses
ClosedPublic

Authored by des on Nov 3 2025, 4:32 PM.
Tags
None
Referenced Files
F144218488: D53561.id.diff
Fri, Feb 6, 4:03 PM
Unknown Object (File)
Sun, Feb 1, 6:18 PM
Unknown Object (File)
Thu, Jan 29, 1:29 PM
Unknown Object (File)
Fri, Jan 16, 12:18 AM
Unknown Object (File)
Jan 7 2026, 8:31 PM
Unknown Object (File)
Jan 5 2026, 10:21 PM
Unknown Object (File)
Dec 29 2025, 4:08 PM
Unknown Object (File)
Dec 11 2025, 8:13 PM
Subscribers

Details

Summary

When selecting an address to bind to, skip IPv4 addresses if the kernel
does not support the inet feature, and IPv6 addresses if the kernel does
not support the inet6 feature.

PR: 195231

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

des requested review of this revision.Nov 3 2025, 4:32 PM

Is there a reason we can't go through upstream for this?

feature_present() is FreeBSD-only

With appropriate autoconf machinery then

I guess this is not too likely to result in a conflict in the future so OK, but would still prefer to loop through upstream.

This revision is now accepted and ready to land.Nov 3 2025, 8:14 PM