[Bug 689] Improper reverse IP lookup

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Dec 20 11:30:27 EST 2004


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





------- Additional Comments From djm at mindrot.org  2004-12-20 11:30 -------
I don't see any problems with the code: the second getaddrinfo call is supposed
to be called with 'name' and not 'ntop' - it is testing whether 'name' can be
parsed as is a numeric address (see the comment immediately above it). 

The use of a "0" for servname is consistent with other calls in OpenSSH - Itojun
explained it to me once a while ago, but I forget the rationale.

What does a reverse lookup using 'dig' show for the offending host?



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




More information about the openssh-bugs mailing list