| Summary: | Improper reverse IP lookup | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Andy Berkvist <berkvist> |
| Component: | sshd | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED WORKSFORME | ||
| Severity: | major | CC: | orion |
| Priority: | P2 | ||
| Version: | 3.7.1p1 | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
|
Description
Andy Berkvist
2003-09-19 23:34:01 AEST
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? seven months, no reply == no bug Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. I ran into something like this just now with the switch to UseDNS to no. Setting it back to yes allowed HostbasedAuthentication to work again. |