Friday Jul 16, 2010

nmap 5.35DC1 Compile on OpenSolaris

The formal OpenSolaris offering of nmap is out of date, and nmap 5.35DC1 has been released. I found that a small patch to libnetutil was needed to get a compile.

$ bunzip2 -c nmap-5.35DC1.tar.bz2 | tar -xf - $ patch -p1 nmap-5.35DC1.solaris.patch

From there, my prior instructions to compile nmap work fine. To the best of my knowledge, the caveats with Solaris still hold (namely having to run unprivileged).

:wq

Tuesday Mar 30, 2010

nmap 5.30 (BETA1) Compile on OpenSolaris

The formal OpenSolaris offering of nmap is out of date. I used the following to compile nmap 5.30BETA1 on OpenSolaris build 134.

$ ac_cv_dnet_linux_pf_packet=no CPPFLAGS="-I/usr/include/pcre" \\ ./configure \\ --with-libpcap=/usr \\ --with-libpcre=/usr $ make $ pfexec make install

This assumes you already have the libpcap and libpcre packages installed. You can check with:

$ pkg list |egrep "pcap|pcre" library/pcre (opensolaris.org) 7.8-0.134 installed ----- system/library/libpcap (opensolaris.org) 1.0.0-0.134 installed -----

And repeating from my last nmap blog:

Alas, there are still issues lingering with later versions of nmap on OpenSolaris. See this networking-discuss thread as well as this (yet unanswered) nmap-dev posting. In the latter, it's suggested that non-root scans have better success - that's been my experience thus far. The obvious downside being scans needing raw Ethernet access can't be used (or use the --unprivileged option to nmap).

:wq

Tuesday Feb 23, 2010

nmap 5.21 Compile on OpenSolaris

The formal OpenSolaris offering of nmap is out of date. After a bit of experimentation, I used the following to compile nmap 5.21 on OpenSolaris build 133.

$ ac_cv_dnet_linux_pf_packet=no ./configure \\ --with-libpcap=/usr \\ --with-libpcre=/usr $ make $ pfexec make install

This assumes you already have the libpcap and libpcre packages installed. You can check with:

$ pkg list |egrep "pcap|pcre" library/pcre 7.8-0.133 installed ----- system/library/libpcap 1.0.0-0.133 installed -----

Alas, there are still issues lingering with later versions of nmap on OpenSolaris. See this networking-discuss thread as well as this (yet unanswered) nmap-dev posting. In the latter, it's suggested that non-root scans have better success - that's been my experience thus far. The obvious downside being scans needing raw Ethernet access can't be used (or use the --unprivileged option to nmap).

:wq

About

user9148476

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today