Hi,
we're using SSH-1.5-OpenSSH-1.2.2 and SSH-1.5-OpenSSH-2.2.0p1
on solaris for x86 (Solaris 2.8). Both Versions seem to have a problem
in forwarding ports that may concern htonl/ntohl:
SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090600f).
debug: Seeding random number generator
debug: ssh_connect: getuid 0 geteuid 0 anon 1
debug: Connecting to 6.0.1.1 [6.0.1.1] port 22.
debug: Connection established.
debug: Remote protocol version 1.5, remote software version 1.3.6 F-SECURE
SSH
debug: Local version string SSH-1.5-OpenSSH_2.2.0p1
debug: Waiting for server public key.
debug: Received server public key (768 bits) and host key (1024 bits).
debug: Host '6.0.1.1' is known and matches the RSA host key.
debug: Seeding random number generator
debug: Encryption type: 3des
debug: Sent encrypted session key.
debug: Installing crc compensation attack detector.
debug: Received encrypted confirmation.
debug: Doing password authentication.
a116017 at 6.0.1.1's password:
debug: Requesting pty.
debug: Connections to local port 8888 forwarded to remote address
localhost:389
debug: Local forwarding listening on 1.0.0.127 port 8888.
bind: Cannot assign requested address
Disconnecting: cannot listen port: 8888
debug: Calling cleanup 0x8077c9c(0x0)
Using truss you can see that the local bind fails:
bind(5, 0x081104C0, 16, 3) Err#126 EADDRNOTAVAIL
Thanks for your help
Marc