NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/38396: sshd does not work
The following reply was made to PR bin/38396; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
martin%duskware.de@localhost
Cc:
Subject: Re: bin/38396: sshd does not work
Date: Sun, 13 Apr 2008 11:20:41 -0400
On Apr 13, 1:55pm, ad%netbsd.org@localhost (Andrew Doran) wrote:
-- Subject: Re: bin/38396: sshd does not work
| http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/monitor_fdpass.c
| http://www.openbsd.org/cgi-bin/cvsweb/src/sys/kern/uipc_usrreq.c
|
| > char buf[CMSG_SPACE(sizeof(int))];
|
| Hmm, CMSG_SPACE() isn't constant on NetBSD as far as I can tell. Naively we
| could do this, but I haven't read enough of the surrounding code yet to know
| if its safe.
|
| 1021 /* Sanity check the control message header. */
| 1022 if (cm->cmsg_type != SCM_RIGHTS || cm->cmsg_level != SOL_SOCKET
||
| 1023 cm->cmsg_len > control->m_len)
| 1024 return (EINVAL);
|
| Andrew
Something is seriously wrong with amd64 recent kernels. I can get them to
crash with any network activity including ftp. I've also have not upgraded
ssh, just the kernel (I am now running current/generic) and it is still
easy to kill it by transferring a large file either via ftp or scp. Looks
like something is wrong and I am running out of kstack, or kstack gets
corrupted. Most of the time, the machine just freezes.
christos
Home |
Main Index |
Thread Index |
Old Index