Page MenuHomeFreeBSD

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

Authored by des on Mon, Nov 3, 4:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 17, 4:23 PM
Unknown Object (File)
Sun, Nov 16, 4:56 PM
Unknown Object (File)
Wed, Nov 5, 9:03 PM
Unknown Object (File)
Wed, Nov 5, 9:03 PM
Unknown Object (File)
Wed, Nov 5, 9:02 PM
Unknown Object (File)
Wed, Nov 5, 6:56 PM
Unknown Object (File)
Wed, Nov 5, 8:59 AM
Unknown Object (File)
Wed, Nov 5, 8:59 AM
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.Mon, Nov 3, 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.Mon, Nov 3, 8:14 PM