Nmap Development mailing list archives

Re: DNS broken in 5.21


From: David Fifield <david () bamsoftware com>
Date: Thu, 28 Jan 2010 12:06:41 -0700

On Thu, Jan 28, 2010 at 01:35:57AM +0100, Simon wrote:
On 01/28/2010 01:19 AM, Simon wrote:

i'll try to see if i can find an old fedora10 install and see if it has
the same problems with 5.x

just to reply to myself, starting nscd fixes the problem on f12, as i
noticed in the stack trace:

connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)

bit odd to *rely* on nscd being used, even for local host lookups, i've
not seen any other software suffer in that way....

Thanks for checking this out. At least, it may help future web
searchers. Can you tell what function call is leading to that connect?
My guess is that it's gethostbyname but it could be something else.

It is quite a strange error. As I said, Nmap is just doing
gethostbyname. Ncat uses getaddrinfo for all its name resolution, so
that may be the difference.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: