| Summary: | OpenSSH 3.8p1 breaks on Solaris 8 with 4in6 mapped addresses | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Markus Germeier <mager> |
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | roland.mainz |
| Priority: | P3 | ||
| Version: | 3.8p1 | ||
| Hardware: | All | ||
| OS: | Solaris | ||
| Bug Depends on: | |||
| Bug Blocks: | 821 | ||
| Attachments: | |||
|
Description
Markus Germeier
2004-03-31 02:28:53 AEST
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 |