[Bug 1742] sshconnect should use port returned by getaddrinfo

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Sep 6 11:03:36 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1742

--- Comment #7 from Jim Rees <rees at merit.edu> 2011-09-06 11:03:36 EST ---
I believe that if there is no SRV record, getaddrinfo will return the
same port as getservbyname. I can check on this. If that's the case,
the risk seems low.

The question is, if there is a SRV record, and it returns something
different from what getservbyname does, what port should be used for
known_hosts? If we can decide on the correct behavior, I can make sure
the patch does the right thing.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list