Re: [debian@onerussian.com: /usr/sbin/sshd: wrong DISPLAY is due to hijacking someone other's one...]
Am Montag 05 März 2007 19:59 schrieb Russ Allbery:
> Yaroslav Halchenko <debian@onerussian.com> writes:
> > and if socket on IPv4 is taken already? this is what lead to the
> > original issue.
> >
> > So should that "continue" should then be taken only if ai->ai_family ==
> > AF_INET6 ?
>
> Maybe. I don't know that part of the code well. Looking at INN, we ran
> into the problem with listen() rather than bind(), so maybe this is a
> different issue.
>
> /* Walk the list of file descriptors, listen on each, and create new
> channels for each. Some IPv6 systems already listening on the IPv6
> wildcard address will return EADDRINUSE when trying to listen to the
> IPv4 socket; just ignore that error. */
Well, you _could_ use the socket option to disable IPv4-mapped addresses, too.
However, from the logs it looks as if ssh is already doing that so that
problem should not appear.
HS
Reply to: