Home page logo
/

nmap-dev logo Nmap Development mailing list archives

[PATCH] [Ncat] Add address family hint to resolve()
From: Daniel Roethlisberger <daniel () roe ch>
Date: Thu, 30 Apr 2009 23:20:21 +0200

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.

The patch has been included in the FreeBSD port for a while, but
please verify whether this breaks on other platforms.

-- 
Daniel Roethlisberger
http://daniel.roe.ch/

Attachment: ncat.resolve-socktype.diff
Description:


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

  By Date           By Thread  

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