[Bug 515] BindAddress and -b not working

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Mar 24 01:07:26 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=515





------- Additional Comments From dtucker at zip.com.au  2003-03-24 01:07 -------
Created an attachment (id=253)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=253&action=view)
Comment out AI_PASSIVE from sshconnect.c

It looks like getaddrinfo() in openbsd-compat doesn't do the right thing when
AI_PASSIVE is set.  It will always return a null address even when an address
is specified (either via ssh -b or sshd's ListenAddress).

The patch fixes the ssh -b thing (should AI_PASSIVE be set on a socket that's
not going to be listening?) but fake-getaddrinfo seems to need some work for
the sshd ListenAddress case too.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-unix-dev mailing list