Changes in tonights snapshot
Darren Tucker
dtucker at zip.com.au
Wed May 14 19:02:06 EST 2003
Darren Tucker wrote:
> Damien Miller wrote:
> > Please report problems with any of the above to bugzilla or this list.
>
> It looks like the SOCK_STREAM -> ai_socktype change broke AIX (at least
> 4.2.1, 4.3.3 & 5.1, possibly others), which was caught by the
> tinderbox[1]. I don't know why yet, I'll do some digging. I did notice
> that AIX defines BROKEN_GETADDRINFO.
Further info: same thing happens on Solaris 7 (which also doesn't have
getaddrinfo at all so also uses fake-getaddrinfo.c). Adding some
debugging to sshd, I get:
debug1: private host key: #2 type 2 DSA
debug3: setting up socket, ai_family 2 ai_socktype 0 ai_protocol 0
socket: Protocol not supported
Cannot bind any address.
How about setting "ai->ai_socktype = SOCK_STREAM;" to malloc_ai()? This
works for me.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list