[Bug 2512] Use IP_FREEBIND if available for sshd listening socket

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Dec 23 20:58:23 AEDT 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2512

--- Comment #3 from Jakub Jelen <jjelen at redhat.com> ---
(In reply to Damien Miller from comment #1)
> Why can't systemd start sshd after the interfaces have been brought
> up?

It is the default behaviour to depend on network.target, which waits
before interface is up. But bringing device up is not bringing device
online and setting the correct IP, especially when there is DHCP (if I
understand it well). This works fine on fast DHCP or static setups.

You can set the dependency on network-online.target, but it brings
other dependencies in the boot sequence and slows down the boot.

Having the possibility to use IP_FREEBIND as a configuration option
(ListenAddressFreeBind or some prefix (-) in front of address itself?)
would give us fast boot itself and possibility to tune the network
addresses behaviour if needed.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list