On Wed, Dec 14, 2016 at 12:54:01PM +1100, Damien Miller wrote: > On Tue, 13 Dec 2016, The Doctor wrote: > > > > Point of concern > > ... > > > > run test forwarding.sh ... > > Could you please rerun the test with tracing on? That will show the > failed test: > > make tests LTESTS=forwarding TEST_SSH_TRACE=yes SKIP_UNIT=1 make tests LTESTS=forwarding TEST_SSH_TRACE=yes SKIP_UNIT=1 [ -d `pwd`/regress ] || mkdir -p `pwd`/regress [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests [ -d `pwd`/regress/unittests/test_helper ] || mkdir -p `pwd`/regress/unittests/test_helper [ -d `pwd`/regress/unittests/sshbuf ] || mkdir -p `pwd`/regress/unittests/sshbuf [ -d `pwd`/regress/unittests/sshkey ] || mkdir -p `pwd`/regress/unittests/sshkey [ -d `pwd`/regress/unittests/bitmap ] || mkdir -p `pwd`/regress/unittests/bitmap [ -d `pwd`/regress/unittests/hostkeys ] || mkdir -p `pwd`/regress/unittests/hostkeys [ -d `pwd`/regress/unittests/kex ] || mkdir -p `pwd`/regress/unittests/kex [ -d `pwd`/regress/unittests/match ] || mkdir -p `pwd`/regress/unittests/match [ -d `pwd`/regress/unittests/utf8 ] || mkdir -p `pwd`/regress/unittests/utf8 [ -d `pwd`/regress/misc/kexfuzz ] || mkdir -p `pwd`/regress/misc/kexfuzz [ -f `pwd`/regress/Makefile ] || ln -s `cd . && pwd`/regress/Makefile `pwd`/regress/Makefile (cd openbsd-compat && make) BUILDDIR=`pwd`; TEST_SSH_SCP="${BUILDDIR}/scp"; TEST_SSH_SSH="${BUILDDIR}/ssh"; TEST_SSH_SSHD="${BUILDDIR}/sshd"; TEST_SSH_SSHAGENT="${BUILDDIR}/ssh-agent"; TEST_SSH_SSHADD="${BUILDDIR}/ssh-add"; TEST_SSH_SSHKEYGEN="${BUILDDIR}/ssh-keygen"; TEST_SSH_SSHPKCS11HELPER="${BUILDDIR}/ssh-pkcs11-helper"; TEST_SSH_SSHKEYSCAN="${BUILDDIR}/ssh-keyscan"; TEST_SSH_SFTP="${BUILDDIR}/sftp"; TEST_SSH_SFTPSERVER="${BUILDDIR}/sftp-server"; TEST_SSH_PLINK="plink"; TEST_SSH_PUTTYGEN="puttygen"; TEST_SSH_CONCH="conch"; TEST_SSH_IPV6="yes" ; TEST_SSH_UTF8="yes" ; TEST_SSH_ECC="yes" ; cd ./regress || exit $?; make .OBJDIR="${BUILDDIR}/regress" .CURDIR="`pwd`" BUILDDIR="${BUILDDIR}" OBJ="${BUILDDIR}/regress/" PATH="${BUILDDIR}:${PATH}" TEST_ENV=MALLOC_OPTIONS="AJRX" TEST_MALLOC_OPTIONS="AJRX" TEST_SSH_SCP="${TEST_SSH_SCP}" TEST_SSH_SSH="${TEST_SSH_SSH}" TEST_SSH_SSHD="${TEST_SSH_SSHD}" TEST_SSH_SSHAGENT="${TEST_SSH_SSHAGENT}" TEST_SSH_SSHADD="${TEST_SSH_SSHADD}" TEST! _SSH_SSHK EYGEN="${TEST_SSH_SSHKEYGEN}" TEST_SSH_SSHPKCS11HELPER="${TEST_SSH_SSHPKCS11HELPER}" TEST_SSH_SSHKEYSCAN="${TEST_SSH_SSHKEYSCAN}" TEST_SSH_SFTP="${TEST_SSH_SFTP}" TEST_SSH_SFTPSERVER="${TEST_SSH_SFTPSERVER}" TEST_SSH_PLINK="${TEST_SSH_PLINK}" TEST_SSH_PUTTYGEN="${TEST_SSH_PUTTYGEN}" TEST_SSH_CONCH="${TEST_SSH_CONCH}" TEST_SSH_IPV6="${TEST_SSH_IPV6}" TEST_SSH_UTF8="${TEST_SSH_UTF8}" TEST_SSH_ECC="${TEST_SSH_ECC}" TEST_SHELL="sh" EXEEXT="" tests && echo all tests passed test "x" = "x" || mkdir -p /usr/source/openssh-SNAP-20161214/regress//valgrind-out set -e ; if test -z "1" ; then V="" ; test "x" = "x" || V=/usr/source/openssh-SNAP-20161214/regress/valgrind-unit.sh ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/sshbuf/test_sshbuf ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/sshkey/test_sshkey -d /usr/source/openssh-SNAP-20161214/regress/unittests/sshkey/testdata ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/bitmap/test_bitmap ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/kex/test_kex ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/hostkeys/test_hostkeys -d /usr/source/openssh-SNAP-20161214/regress/unittests/hostkeys/testdata ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/match/test_match ; if test "xyes" = "xyes" ; then $V /usr/source/openssh-SNAP-20161214/regress/unittests/utf8/test_utf8 ; fi fi /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2.prv | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv tr '\n' '\r' </usr/source/openssh-SNAP-20161214/regress/rsa_ssh2.prv > /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_cr.prv /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_cr.prv | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv awk '{print $0 "\r"}' /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2.prv > /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_crnl.prv /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_crnl.prv | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv cat /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv > /usr/source/openssh-SNAP-20161214/regress//t2.out chmod 600 /usr/source/openssh-SNAP-20161214/regress//t2.out /usr/source/openssh-SNAP-20161214/ssh-keygen -yf /usr/source/openssh-SNAP-20161214/regress//t2.out | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub /usr/source/openssh-SNAP-20161214/ssh-keygen -ef /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub >/usr/source/openssh-SNAP-20161214/regress//t3.out /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress//t3.out | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub /usr/source/openssh-SNAP-20161214/ssh-keygen -E md5 -lf /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub | awk '{print $2}' | diff - /usr/source/openssh-SNAP-20161214/regress/t4.ok /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub | awk '{print $2}' | diff - /usr/source/openssh-SNAP-20161214/regress/t5.ok /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/dsa_ssh2.prv > /usr/source/openssh-SNAP-20161214/regress//t6.out1 /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/dsa_ssh2.pub > /usr/source/openssh-SNAP-20161214/regress//t6.out2 chmod 600 /usr/source/openssh-SNAP-20161214/regress//t6.out1 /usr/source/openssh-SNAP-20161214/ssh-keygen -yf /usr/source/openssh-SNAP-20161214/regress//t6.out1 | diff - /usr/source/openssh-SNAP-20161214/regress//t6.out2 /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t7.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t7.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t8.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t8.out > /dev/null test "yes" != yes || /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t9.out > /dev/null test "yes" != yes || /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t9.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t10.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t10.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -E sha256 -lf /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub | awk '{print $2}' | diff - /usr/source/openssh-SNAP-20161214/regress/t11.ok /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t12.out.pub | grep test-comment-1234 >/dev/null run test forwarding.sh ... generate keys wait for sshd start forwarding, fork to background transfer over forwarded channels and check result exit on -L forward failure, proto 2 exit on -R forward failure, proto 2 simple clear forwarding proto 2 clear local forward proto 2 clear remote forward proto 2 stdio forwarding proto 2 config file: start forwarding, fork to background config file: transfer over forwarded channels and check result Exit request sent. transfer over chained unix domain socket forwards and check result wait for sshd to exit ok local and remote forwarding all tests passed With FreeBSD non-modified openssl 1.0.2 And for the freebsd with daily modified openssl-1.0.2 make tests LTESTS=forwarding TEST_SSH_TRACE=yes SKIP_UNIT=1 [ -d `pwd`/regress ] || mkdir -p `pwd`/regress [ -d `pwd`/regress/unittests ] || mkdir -p `pwd`/regress/unittests [ -d `pwd`/regress/unittests/test_helper ] || mkdir -p `pwd`/regress/unittests/test_helper [ -d `pwd`/regress/unittests/sshbuf ] || mkdir -p `pwd`/regress/unittests/sshbuf [ -d `pwd`/regress/unittests/sshkey ] || mkdir -p `pwd`/regress/unittests/sshkey [ -d `pwd`/regress/unittests/bitmap ] || mkdir -p `pwd`/regress/unittests/bitmap [ -d `pwd`/regress/unittests/hostkeys ] || mkdir -p `pwd`/regress/unittests/hostkeys [ -d `pwd`/regress/unittests/kex ] || mkdir -p `pwd`/regress/unittests/kex [ -d `pwd`/regress/unittests/match ] || mkdir -p `pwd`/regress/unittests/match [ -d `pwd`/regress/unittests/utf8 ] || mkdir -p `pwd`/regress/unittests/utf8 [ -d `pwd`/regress/misc/kexfuzz ] || mkdir -p `pwd`/regress/misc/kexfuzz [ -f `pwd`/regress/Makefile ] || ln -s `cd . && pwd`/regress/Makefile `pwd`/regress/Makefile (cd openbsd-compat && make) BUILDDIR=`pwd`; TEST_SSH_SCP="${BUILDDIR}/scp"; TEST_SSH_SSH="${BUILDDIR}/ssh"; TEST_SSH_SSHD="${BUILDDIR}/sshd"; TEST_SSH_SSHAGENT="${BUILDDIR}/ssh-agent"; TEST_SSH_SSHADD="${BUILDDIR}/ssh-add"; TEST_SSH_SSHKEYGEN="${BUILDDIR}/ssh-keygen"; TEST_SSH_SSHPKCS11HELPER="${BUILDDIR}/ssh-pkcs11-helper"; TEST_SSH_SSHKEYSCAN="${BUILDDIR}/ssh-keyscan"; TEST_SSH_SFTP="${BUILDDIR}/sftp"; TEST_SSH_SFTPSERVER="${BUILDDIR}/sftp-server"; TEST_SSH_PLINK="plink"; TEST_SSH_PUTTYGEN="puttygen"; TEST_SSH_CONCH="conch"; TEST_SSH_IPV6="yes" ; TEST_SSH_UTF8="yes" ; TEST_SSH_ECC="yes" ; cd ./regress || exit $?; make .OBJDIR="${BUILDDIR}/regress" .CURDIR="`pwd`" BUILDDIR="${BUILDDIR}" OBJ="${BUILDDIR}/regress/" PATH="${BUILDDIR}:${PATH}" TEST_ENV=MALLOC_OPTIONS="AJRX" TEST_MALLOC_OPTIONS="AJRX" TEST_SSH_SCP="${TEST_SSH_SCP}" TEST_SSH_SSH="${TEST_SSH_SSH}" TEST_SSH_SSHD="${TEST_SSH_SSHD}" TEST_SSH_SSHAGENT="${TEST_SSH_SSHAGENT}" TEST_SSH_SSHADD="${TEST_SSH_SSHADD}" TEST! _SSH_SSHK EYGEN="${TEST_SSH_SSHKEYGEN}" TEST_SSH_SSHPKCS11HELPER="${TEST_SSH_SSHPKCS11HELPER}" TEST_SSH_SSHKEYSCAN="${TEST_SSH_SSHKEYSCAN}" TEST_SSH_SFTP="${TEST_SSH_SFTP}" TEST_SSH_SFTPSERVER="${TEST_SSH_SFTPSERVER}" TEST_SSH_PLINK="${TEST_SSH_PLINK}" TEST_SSH_PUTTYGEN="${TEST_SSH_PUTTYGEN}" TEST_SSH_CONCH="${TEST_SSH_CONCH}" TEST_SSH_IPV6="${TEST_SSH_IPV6}" TEST_SSH_UTF8="${TEST_SSH_UTF8}" TEST_SSH_ECC="${TEST_SSH_ECC}" TEST_SHELL="sh" EXEEXT="" tests && echo all tests passed test "x" = "x" || mkdir -p /usr/source/openssh-SNAP-20161214/regress//valgrind-out set -e ; if test -z "1" ; then V="" ; test "x" = "x" || V=/usr/source/openssh-SNAP-20161214/regress/valgrind-unit.sh ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/sshbuf/test_sshbuf ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/sshkey/test_sshkey -d /usr/source/openssh-SNAP-20161214/regress/unittests/sshkey/testdata ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/bitmap/test_bitmap ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/kex/test_kex ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/hostkeys/test_hostkeys -d /usr/source/openssh-SNAP-20161214/regress/unittests/hostkeys/testdata ; $V /usr/source/openssh-SNAP-20161214/regress/unittests/match/test_match ; if test "xyes" = "xyes" ; then $V /usr/source/openssh-SNAP-20161214/regress/unittests/utf8/test_utf8 ; fi fi /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2.prv | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv tr '\n' '\r' </usr/source/openssh-SNAP-20161214/regress/rsa_ssh2.prv > /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_cr.prv /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_cr.prv | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv awk '{print $0 "\r"}' /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2.prv > /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_crnl.prv /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/rsa_ssh2_crnl.prv | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv cat /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.prv > /usr/source/openssh-SNAP-20161214/regress//t2.out chmod 600 /usr/source/openssh-SNAP-20161214/regress//t2.out /usr/source/openssh-SNAP-20161214/ssh-keygen -yf /usr/source/openssh-SNAP-20161214/regress//t2.out | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub /usr/source/openssh-SNAP-20161214/ssh-keygen -ef /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub >/usr/source/openssh-SNAP-20161214/regress//t3.out /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress//t3.out | diff - /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub /usr/source/openssh-SNAP-20161214/ssh-keygen -E md5 -lf /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub | awk '{print $2}' | diff - /usr/source/openssh-SNAP-20161214/regress/t4.ok /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161220161214/regress/t5.ok /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/dsa_ssh2.prv > /usr/source/openssh-SNAP-20161214/regress//t6.out1 /usr/source/openssh-SNAP-20161214/ssh-keygen -if /usr/source/openssh-SNAP-20161214/regress/dsa_ssh2.pub > /usr/source/openssh-SNAP-20161214/regress//t6.out2 chmod 600 /usr/source/openssh-SNAP-20161214/regress//t6.out1 /usr/source/openssh-SNAP-20161214/ssh-keygen -yf /usr/source/openssh-SNAP-20161214/regress//t6.out1 | diff - /usr/source/openssh-SNAP-20161214/regress//t6.out2 /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t7.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t7.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t8.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t8.out > /dev/null test "yes" != yes || /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t9.out > /dev/null test "yes" != yes || /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t9.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t10.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -Bf /usr/source/openssh-SNAP-20161214/regress//t10.out > /dev/null /usr/source/openssh-SNAP-20161214/ssh-keygen -E sha256 -lf /usr/source/openssh-SNAP-20161214/regress/rsa_openssh.pub | awk '{print $2}' | diff - /usr/source/openssh-SNAP-20161214/regress/t11.ok /usr/source/openssh-SNAP-20161214/ssh-keygen -lf /usr/source/openssh-SNAP-20161214/regress//t12.out.pub | grep test-comment-1234 >/dev/null run test forwarding.sh ... generate keys wait for sshd start forwarding, fork to background transfer over forwarded channels and check result failed copy of /bin/ls cmp: EOF on /usr/source/openssh-SNAP-20161214/regress/copy corrupted copy of /bin/ls exit on -L forward failure, proto 2 exit on -R forward failure, proto 2 simple clear forwarding proto 2 clear local forward proto 2 clear remote forward proto 2 stdio forwarding proto 2 config file: start forwarding, fork to background config file: transfer over forwarded channels and check result Exit request sent. transfer over chained unix domain socket forwards and check result wait for sshd to exit failed local and remote forwarding *** Error code 1 Stop. make[1]: stopped in /usr/source/openssh-SNAP-20161214/regress *** Error code 1 Stop. make: stopped in /usr/source/openssh-SNAP-20161214 > > There might also be some clues in regress/failed* > > -d > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev@xxxxxxxxxxx > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev -- Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism Merry Christmas 2016 and Happy New Year 2017 _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev