Call for testing: OpenSSH-6.2

Darren Tucker dtucker at zip.com.au
Wed Mar 6 14:57:20 EST 2013


On Wed, Mar 6, 2013 at 4:07 AM, Kevin Brott <kevin.brott at gmail.com> wrote:
[...]
> WARNING: ssh privsep/sandbox+proxyconnect protocol 1 failed
> Connection closed by UNKNOWN

OK, I've reproduced this one too. Here's what I did (Colin, this may
provide some hints for your case too): I stuck "exit 1" at the bottom
of the "fail" function in test-exec.sh then ran:

$ env TEST_SSH_LOGFILE=/tmp/sshd.log SUDO=sudo make tests LTESTS=connect-privsep

and in /tmp/sshd.log I found:
ssh_sandbox_child: setrlimit(RLIMIT_NOFILE, { 0, 0 }): Invalid
argument [preauth]

so, setrlimit is the problem, but only for
UsePrivilegeSeparation=sandbox.  Not sure why though (or, for that
matter, why the test in configure didn't catch it).

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list