mailing list archives
Re: [PATCH] [Ncat] Add address family hint to resolve()
From: Daniel Roethlisberger <daniel () roe ch>
Date: Thu, 30 Apr 2009 23:26:57 +0200
Daniel Roethlisberger <daniel () roe ch> 2009-04-30:
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.
Argh. s/address family/socket type/g in the subject line.
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org