[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#512209: Please don't touch sshd from interfaces-up



Russ Allbery <rra@debian.org> writes:
> Colin Watson <cjwatson@debian.org> writes:
>
>> I vaguely remember some problem where INADDR_ANY meant "all the
>> interfaces that happen to be up at bind() time" rather than "all the
>> interfaces that are up whenever packets arrive". Am I hallucinating?
>
> I think this can be true if the interfaces differ by protocol.  If you
> only have an IPv4 interface available and then later add an IPv6
> interface, I don't think INADDR_ANY will pick up the IPv6 connections.
>
> I haven't tested, though.

This would be my concern as well: are all new interfaces really picked
up? If a test proves yes, then I suppose it is okay not to restart,
otherwise a restart is safest.

Perry



Reply to: