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.
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org
- [PATCH] [Ncat] Add address family hint to resolve() Daniel Roethlisberger (Apr 30)