Call for testing: OpenSSH 6.8

Todd C. Miller
2015-02-27T18:22:17Z

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