Nmap Development mailing list archives
Re: Nmap on OpenBSD
From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 16 Jun 2014 09:31:32 -0500
Kent, Thanks for taking the time to run this to ground. We'll try to review and test it soon. I see that it is already in the OpenBSD ports[1], so that should help folks until we can get to it. Dan [1] http://www.openbsd.org/cgi-bin/cvsweb/ports/net/nmap/patches/patch-libnetutil_netutil_cc.diff?r1=1.5;r2=1.6 On Sun, Jun 15, 2014 at 9:51 AM, Kent Fritz <kfritz () wolfman devio us> wrote:
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=2The 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/
_______________________________________________ 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)