Call for testing: OpenSSH 6.8

Todd C. Miller Todd.Miller at courtesan.com
Sat Feb 28 05:22:17 AEDT 2015


On Fri, 27 Feb 2015 11:19:22 -0700, "Todd C. Miller" wrote:

> What OS is this?  ISTR that getpeername() or getsockname() on some
> systems may not support AF_UNIX.

This is probably due to getpeername().  We can probably change:

        /* Unix domain sockets don't have a port number. */
        if (from.ss_family == AF_UNIX)
                return 0;

To:

        /* Non-inet sockets don't have a port number. */
        if (from.ss_family != AF_INET && from.ss_family != AF_INET6)
                return 0;

 - todd


More information about the openssh-unix-dev mailing list