 
Nmap Development mailing list archives
Re: Nmap on OpenBSD
From: Kent Fritz <kfritz () wolfman devio us>
Date: Sun, 15 Jun 2014 10:51:34 -0400
On Thu, Jun 12, 2014 at 12:40:14AM -0400, Kent Fritz wrote:
I believe it's broken (and has been for some time). http://marc.info/?t=140175047900002&r=1&w=2
The problem was this function in libnetutil/netutil.cc needed OPENBSD added: 
/* Other than WIN32, what these systems have in common is that they use BPF for
   packet capture. (Solaris 10 and earlier used DLPI and had valid selectable
   fds.) */
#if defined(WIN32) || defined(MACOSX) || defined(OPENBSD) || (defined(FREEBSD) && (__FreeBSD_version < 500000) || 
defined(SOLARIS_BPF_PCAP_CAPTURE))
/* Returns whether the system supports pcap_get_selectable_fd() properly */
int pcap_selectable_fd_valid() {
  return 0;
}
This file is heavily patched in OpenBSD ports (see previous FTBFS post), so
I'll try to get it added to the current patches there.
Kent.
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
Current thread:
- Nmap on OpenBSD Kent Fritz (Jun 11)
- Re: Nmap on OpenBSD Kent Fritz (Jun 15)
- Re: Nmap on OpenBSD Daniel Miller (Jun 16)
 
 
- Re: Nmap on OpenBSD Kent Fritz (Jun 15)


