Has anyone got nmap working on an RS6000 with setup as I have listed?
I installed nmap 2.53 on AIX 4.3.3 ML8. I am using gcc 2.95 as my
compiler. Everytime I tried to run nmap, I get the following error:
nmap -v myhost.mydomain
)
No tcp,udp, or ICMP scantype specified, assuming vanilla tcp connect()
scan. Use -sP if you really don't want to portscan (and just want to
see what hosts are up).
WARNING! The following files exist and are readable:
/usr/local/share/nmap/nmap-services and ./nmap-services. I am
choosing /usr/local/share/nmap/nmap-services for security reasons.
set NMAPDIR=. to give priority to files in your local directory
pcap_open_live: /dev/lo0: No such file or directory
There are several possible reasons for this, depending on your
operating system:
LINUX: If you are getting Socket type not supported, try modprobe
af_packet or recompile your kernel with SOCK_PACKET enabled.
*BSD: If you are getting device not configured, you need to recompile
your kernel with Berkeley Packet Filter support. If you are getting
No such file or directory, try creating the device (eg cd /dev;
MAKEDEV <device>; or use mknod).
SOLARIS: If you are trying to scan localhost and getting '/dev/lo0:
No such file or directory', complain to Sun. I don't think Solaris
can support advanced localhost scans. You can probably use "-P0 -sT
localhost" though.
I tried configured nmap with ./configure --host=rs6000-ibm-aix4.3.3.0
and then I ran make and then make install.
I also downloaded nmap-2.54 beta30, but it will not compile. The error
I get is below:
tcpip.c: In function `getsourceip':
tcpip.c:954: warning: passing arg 3 of `ngetsockname' from
incompatible pointer type
tcpip.c: In function `max_rcvbuf':
tcpip.c:1500: warning: passing arg 5 of `getsockopt' from incompatible
pointer type
gcc -g -I/usr/local/include -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"2.54BETA30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-ibm-aix4.3.3.0\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified -c
nmap_error.c
gcc -g -I/usr/local/include -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"2.54BETA30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-ibm-aix4.3.3.0\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified -c
utils.c
gcc -g -I/usr/local/include -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"2.54BETA30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-ibm-aix4.3.3.0\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified -c
idle_scan.c
gcc -g -I/usr/local/include -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"2.54BETA30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-ibm-aix4.3.3.0\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified -c
osscan.c
osscan.c: In function `get_fingerprint':
osscan.c:459: parse error before `100'
osscan.c:461: invalid lvalue in assignment
make: 1254-004 The error code from the last command is 1.
Thanks, all help is appreciated,
--Mike