Bug 54 - ssh does not respect /etc/host.conf
Summary: ssh does not respect /etc/host.conf
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: ix86 Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL: http://bugs.debian.org/cgi-bin/bugrep...
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-19 11:20 AEDT by Simon Law
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Law 2001-12-19 11:20:33 AEDT
It looks like ssh is looking at /etc/host.conf AFTER reading /etc/resolv.conf
and trying to do a DNS lookup.  This is not good, because then it doesn't
respect the host.conf ordering on name resolution.

A Debian ticket has been opened, and is listed in the URL.  You will find an
strace of the problem there.

(I'm not sure if sshd has this problem, when it comes to reverse DNS checking. 
Can we confirm this as well?)
Comment 1 Markus Friedl 2001-12-20 04:21:59 AEDT
what's host.conf?

ssh does not even look at resolv.conf
Comment 2 Simon Law 2001-12-20 05:40:55 AEDT
Further investigation reveals that this is not an SSH bug.
Comment 3 Damien Miller 2004-04-14 12:24:17 AEST
Mass change of RESOLVED bugs to CLOSED