Changes in tonights snapshot

Darren Tucker dtucker at
Wed May 14 18:10:05 EST 2003

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


# ./sshd -ddd -p 2022
debug1: private host key: #2 type 2 DSA
socket: Protocol not supported
Cannot bind any address.

# cvs diff -r 1.239 -r 1.240 sshd.c
-	listen_sock = socket(ai->ai_family, SOCK_STREAM, 0);
+	listen_sock = socket(ai->ai_family, ai->ai_socktype,
+	    ai->ai_protocol);

# cvs up -r 1.239 sshd.c && make sshd
P sshd.c

# ./sshd -ddd -p 2022
debug1: private host key: #2 type 2 DSA
debug1: Bind to port 2022 on
Server listening on port 2022.
Generating 768 bit RSA key.
RSA key generation complete.


Darren Tucker (dtucker at
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