Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [PATCH] [Ncat] Add address family hint to resolve()
From: David Fifield <david () bamsoftware com>
Date: Thu, 30 Apr 2009 16:13:56 -0600

On Thu, Apr 30, 2009 at 11:20:21PM +0200, Daniel Roethlisberger wrote:
The attached patch fixes Ncat on BSD libc platforms, where bugs
in getaddrinfo(3) until recently have prevented Ncat to resolve
hostnames to addresses due to the combination of used parameters,
especially in combination with the numerical service name and no
socket type hint provided.  Since we provide a numerical service
name, the actual socket type given does not matter.

Thanks Daniel. It works for me on GNU/Linux.

Does the function resolve_name in ncat_hostmatch.c need this too?

David Fifield

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]