On Wed, 30 Aug 2006, Damien Miller wrote:
> Running the regression tests supplied with Portable does not require
> installation, just run:
>
> $ ./configure && make tests
>
> Testing on suitable non-production systems is also appreciated. Please send
> reports of success or failure to openssh-unix-dev@mindrot.org, including
> details of your platform, compiler and configure options.


On RHL73 with gcc 2.96, 'make tests' doesn't finish and appears to get
stuck (strace shows the process is in wait()). There were a number of
compilation warnings. The ones coming from ciphers and macs appear to
be old, but these are new and at least implicit decls should be easily
fixable:

warning: __nonnull__' attribute directive ignored (50+ times)
uidswap.c: In function Permanently_drop_suid':
uidswap.c:142: warning: implicit declaration of function Setresuid'
uidswap.c: In function Permanently_set_uid':
uidswap.c:224: warning: implicit declaration of function Setresgid'
md5crypt.c: In function To64':
md5crypt.c:31: warning: implicit declaration of function Memset'
md5crypt.c: In function s_md5_salt':
md5crypt.c:43: warning: implicit declaration of function Strncmp'
md5crypt.c:43: warning: implicit declaration of function Strlen'
md5crypt.c: In function Md5_crypt':
md5crypt.c:73: warning: implicit declaration of function Memcpy'

OpenSSH has been configured with the following options:
User binaries: /usr/local/bin
System binaries: /usr/local/sbin
Configuration files: /usr/local/etc
Askpass program: /usr/local/libexec/ssh-askpass
Manual pages: /usr/local/share/man/manX
PID file: /var/run
Privilege separation chroot path: /var/empty
sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Manpage format: doc
PAM support: yes
KerberosV support: no
SELinux support: no
Smartcard support: no
S/KEY support: no
TCP Wrappers support: yes
MD5 password support: yes
libedit support: no
IP address in $DISPLAY hack: no
Translate v4 in v6 hack: yes
BSD Auth support: no
Random number source: OpenSSL internal ONLY

Host: i686-pc-linux-gnu
Compiler: gcc
Compiler flags: -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -std=gnu99
Preprocessor flags:
Linker flags:
Libraries: -lresolv -lcrypto -lutil -lz -lnsl -lcrypt


The last messages are:

....
run test dynamic-forward.sh ...
skipped (no suitable ProxyCommand found)
run test forwarding.sh ...
bind: Address already in use
Waiting for forwarded connections to terminate...
The following connections are open:
#9 direct-tcpip: listening port 3322 for 127.0.0.1 port 3372,
connect from 127.0.0.1 port 44310 (t4 r17 i0/0 o0/0 fd 18/18 cfd -1)
#10 direct-tcpip: listening port 3372 for 127.0.0.1 port 3321,
connect from 127.0.0.1 port 44311 (t4 r18 i0/0 o0/0 fd 19/19 cfd -1)
#11 direct-tcpip: listening port 3321 for 127.0.0.1 port 3371, connect
from 127.0.0.1 port 44312 (t4 r19 i0/0 o0/0 fd 20/20 cfd -1) #12
direct-tcpip: listening port 3371 for 127.0.0.1 port 3320, connect
from 127.0.0.1 port 44313 (t4 r20 i0/0 o0/0 fd 21/21 cfd -1) #13
direct-tcpip: listening port 3320 for 127.0.0.1 port 3370, connect
from 127.0.0.1 port 44314 (t4 r21 i0/0 o0/0 fd 22/22 cfd -1) #14
direct-tcpip: listening port 3370 for 127.0.0.1 port 3312, connect
from 127.0.0.1 port 44315 (t4 r22 i0/0 o0/0 fd 23/23 cfd -1) #15
direct-tcpip: listening port 3312 for 127.0.0.1 port 3362, connect
from 127.0.0.1 port 44316 (t4 r23 i0/0 o0/0 fd 24/24 cfd -1) #16
direct-tcpip: listening port 3362 for 127.0.0.1 port 3311, connect
from 127.0.0.1 port 44317 (t4 r24 i0/0 o0/0 fd 25/25 cfd -1) #17
direct-tcpip: listening port 3311 for 127.0.0.1 port 3361, connect
from 127.0.0.1 port 44318 (t4 r25 i0/0 o0/0 fd 26/26 cfd -1) #18
direct-tcpip: listening port 3361 for 127.0.0.1 port 3310, connect
from 127.0.0.1 port 44319 (t4 r26 i0/0 o0/0 fd 27/27 cfd -1)
[[ almost 10 minute timeout ]]
ssh_exchange_identification: Connection closed by remote host
cmp: EOF on /home/pekkas/op/openssh/regress/ls.copy
corrupted copy of /bin/ls
bind: Address already in use
[[ about 5 minute timeout ]]
failed local and remote forwarding
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory `/home/pekkas/op/openssh/regress'
make: *** [tests] Error 2

I suspect (but didn't check) bind() errors may be due to the way
mapped addresses affect bind() (I'm also using v6).

HTH,

--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev