OpenSSH 5.1: call for testing

Damien Miller djm at mindrot.org
Tue Jul 8 08:37:55 EST 2008


On Mon, 7 Jul 2008, Gert Doering wrote:

> Hi,
> 
> On Mon, Jul 07, 2008 at 09:30:55AM +1000, Damien Miller wrote:
> > OpenSSH 5.1 is almost ready for release, so we would appreciate testing
> > on as many platforms and systems as possible. This release is one of
> > the biggest in recent years, with two hackathons' worth of improvements
> > and fixes for some of our most recalcitrant bugs.
> 
> NetBSD 3.1 on Sparc64, CVS snapshot from "earlier today", has some 
> funnies in the test suite. 
> 
> This test was run as non-root, but root makes no difference, the errors
> are the same.
> 
> Here's the output of "make test" from the point where the errors start:
> 
> (cd openbsd-compat && make)
> ...
> run test forwarding.sh ...
> ok local and remote forwarding
> run test multiplex.sh ...
> test connection multiplexing: envpass
> mm_send_fd: sendmsg(0): Invalid argument
> muxclient: send fds failed
> Falling back to non-multiplexed connection
> mm_receive_fd: recvmsg: expected received 1 got 0
> muxserver_accept_control: failed to receive fd 0 from slave

OpenBSD suffered from a similar problem a while back, it turned out to be
a kernel bug related to CMSG alignment:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.37&r2=1.38
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.40&r2=1.41

Short story: OpenSSH's use of the CMSG_* macros used to incorrect, but
fixing it uncovered this kernel bug.

-d


More information about the openssh-unix-dev mailing list