Hello, Darren Tucker asked me to file a bug report here. Short: OpenSSH 3.8p1 breaks on my Solaris 8 boxes (sparc and x86) when using 4in6 mapped addresses. IPv6 connections work fine. Longer: http://marc.theaimsgroup.com/?l=secure-shell&m=107850542916554 Build with gcc 3.3.3 and this configure line: ./configure --prefix=/usr/opt/ssh --with-zlib=../zlib-1.2.1 --with-ssl-dir=../openssl-0.9.7d Server: Solaris8 sparc+x86, with OpenSSH3.8.1p1 using "ListenAddress ::" on dual IPv4/6 stack or IPv4-only Client: Linux, Solaris, OpenSSH3.8.1p1, ssh.com 3.2.5 Remark: All connections are non-local (always two machines are involved) Debug logs follow shortly. Regards Markus
Created attachment 582 [details] Server 1, Solaris8/sparc, dual stack, sshd -ddd
Created attachment 583 [details] Client 1, Solaris8/sparc, IPv4 only, ssh -vvv
Created attachment 584 [details] Server 2, Solaris8/x86, IPv4 only, sshd -ddd
Created attachment 585 [details] Client 2, Linux/x86, dual stack, ssh -vvv
*** Bug 824 has been marked as a duplicate of this bug. ***
Just another note: * OpenSSH 3.7.1p2 works fine * configure reports: Translate v4 in v6 hack: no while the Changelog says: 20031123 - (djm) [canohost.c] Move IPv4inV6 mapped address normalisation to its own function and call it unconditionally * Checking the source proves the Changelog right (see the "fix" in my original posting to the mailinglist which revokes the "unconditionally" part)
OK, I can now reproduce it. Should fix for 3.8.1p1 (not sure how yet).
Created attachment 587 [details] Call check_ip_options before mapped address normalisation This is dying because we found IP options, but this check (for now) is supposed to be IPv4 only. Unfortunately we have normalised the address format before this is conditionally called, so it was being called for mapped IPv6 addresses too. Please try this patch.
Comment on attachment 587 [details] Call check_ip_options before mapped address normalisation Patch fixes the problem for me.
Hello, the patch fixes this problem for me on Solaris/sparc+x86 while it does not break linux. ;-) Great! Thanks for the quick fix. Regards Markus
Patch has been committed and will be in 3.8.1p1. Thanks for the report.
Closed with release of portable OpenSSH 3.8.1p1