Important fix (sshd && binding). Portable version only.

Kevin Steves stevesk at sweden.hp.com
Sun Feb 18 03:31:53 EST 2001


On Sat, 17 Feb 2001, Arkadiusz Miskiewicz wrote:
: > i don't know why the test for !ai->ai_next was added?  anyone?
: It's to avoid error message

that change is broken, because it skips displaying valid error messages,
and also displays invalid error messages; in this case port 22 is
already bound:

# ./sshd -d
debug1: sshd version OpenSSH_2.5.0p1
debug1: load_private_key_autodetect: type 0 RSA1
debug1: read SSH2 private key done: name dsa w/o comment success 1
debug1: load_private_key_autodetect: type 2 DSA
debug1: Seeding random number generator
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
debug1: Bind to port 24 on 0.0.0.0.
Server listening on 0.0.0.0 port 24.
Generating 768 bit RSA key.
debug1: Seeding random number generator
RSA key generation complete.






More information about the openssh-unix-dev mailing list