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

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



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.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>




Reply to: