Nmap Development mailing list archives

Re: nmap 6.47 compile failure on AIX 7100-03


From: Kevin Brott <kevin.brott () gmail com>
Date: Wed, 10 Sep 2014 15:41:49 -0700

Dan,


On Wed, Sep 10, 2014 at 12:56 PM, Daniel Miller <bonsaiviking () gmail com>
wrote:


Kevin,

This LARGE_FILES support is turning out to be a pain. As far as I know, we
don't need this for anything specific, since we've stripped a lot of the
LFS library out of nse_fs.cc. Try the attached patch which removes it
entirely and see if it works.

Dan


Applied the patch against r33665 - and ./configure + gmake is fine ...
gmake check died here again ...
PASS 'ncat\'
PASS 'ncat\ \'
calloc: Error 0
gmake[1]: *** [check] Error 2
gmake[1]: Leaving directory `/lppdir/build/nmap-svn-r33665/ncat'
gmake: *** [ncat_check] Error 2

But nmap builds and appears to work here ...

root# ./nmap --iflist

Starting Nmap 6.47SVN ( http://nmap.org ) at 2014-09-10 14:56 PDT
************************INTERFACES************************
DEV (SHORT) IP/MASK           TYPE     UP MTU   MAC
ena (ena)   x.x.x.x/24        ethernet up 9000  ##:##:##:##:##:##
enb (enb)   y.y.y.y/24        ethernet up 9000  ##:##:##:##:##:##
lo0 (lo0)   127.0.0.1/8       loopback up 16896
lo0 (lo0)   ::1/0             loopback up 16896

**************************ROUTES**************************
DST/MASK           DEV METRIC GATEWAY
x.x.x.x/32         ena 0      x.x.x.x
x.x.x.x/32         lo0 0      127.0.0.1
x.x.x.255          ena 0      x.x.x.x
y.y.y.0/32         enb 0      y.y.y.y
y.y.y.y/32         lo0 0      127.0.0.1
y.y.y.0/25         enb 0      y.y.y.y
x.x.x.0/24         ena 0      x.x.x.x
x.x.x.0/24         ena 0      x.x.x.x
z.z.z.0/24         ena 0      x.x.x.1
127.0.0.0/8        lo0 0      127.0.0.1
0.0.0.0/0          enb 0      y.y.y.1

user$ ./nmap --iflist

Starting Nmap 6.47SVN ( http://nmap.org ) at 2014-09-10 14:56 PDT
************************INTERFACES************************
DEV (SHORT) IP/MASK           TYPE     UP MTU   MAC
ena (ena)   x.x.x.x/24        ethernet up 9000  ##:##:##:##:##:##
enb (enb)   y.y.y.y/24        ethernet up 9000  ##:##:##:##:##:##
lo0 (lo0)   127.0.0.1/8       loopback up 16896
lo0 (lo0)   ::1/0             loopback up 16896

ROUTES: NONE FOUND(!)

Something not right here ...

root# nmap -A -d scanme.nmap.org


Starting Nmap 6.47SVN ( http://nmap.org ) at 2014-09-10 15:04 PDT
PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)
--------------- Timing report ---------------
  hostgroups: min 1, max 100000
  rtt-timeouts: init 1000, min 100, max 10000
  max-scan-delay: TCP 1000, UDP 1000, SCTP 1000
  parallelism: min 0, max 0
  max-retries: 10, host-timeout: 0
  min-rate: 0, max-rate: 0
---------------------------------------------
NSE: Using Lua 5.2.
NSE: Arguments from CLI:
NSE: Loaded 120 scripts for scanning.
NSE: Script Pre-scanning.
NSE: Starting runlevel 1 (of 2) scan.
Initiating NSE at 15:04
Completed NSE at 15:04, 0.00s elapsed
NSE: Starting runlevel 2 (of 2) scan.
Initiating NSE at 15:04
Completed NSE at 15:04, 0.00s elapsed
Initiating Ping Scan at 15:04
Scanning scanme.nmap.org (74.207.244.221) [4 ports]
Packet capture filter (device enX): dst host x.x.x.x and (icmp or icmp6 or
((tcp or udp or sctp) and (src host 74.207.244.221)))
We got a TCP ping packet back from 74.207.244.221 port 443 (trynum = 0)
Completed Ping Scan at 15:04, 0.03s elapsed (1 total hosts)
Overall sending rates: 127.76 packets / s, 4854.99 bytes / s.
mass_rdns: Using DNS server x.x.x.x
mass_rdns: Using DNS server x.x.x.x
mass_rdns: Using DNS server x.x.x.x
Initiating Parallel DNS resolution of 1 host. at 15:04
mass_rdns: 0.09s 0/1 [#: 3, OK: 0, NX: 0, DR: 0, SF: 0, TR: 1]
Completed Parallel DNS resolution of 1 host. at 15:04, 0.09s elapsed
DNS resolution of 1 IPs took 0.09s. Mode: Async [#: 3, OK: 1, NX: 0, DR: 0,
SF: 0, TR: 1, CN: 0]
Initiating SYN Stealth Scan at 15:04
Scanning scanme.nmap.org (74.207.244.221) [1000 ports]
Packet capture filter (device enX): dst host x.x.x.x and (icmp or icmp6 or
((tcp or udp or sctp) and (src host 74.207.244.221)))
Discovered open port 80/tcp on 74.207.244.221
Discovered open port 22/tcp on 74.207.244.221
Discovered open port 9929/tcp on 74.207.244.221
Completed SYN Stealth Scan at 15:04, 0.77s elapsed (1000 total ports)
Overall sending rates: 1308.68 packets / s, 57582.13 bytes / s.
Initiating Service scan at 15:04
Scanning 3 services on scanme.nmap.org (74.207.244.221)
Completed Service scan at 15:04, 6.05s elapsed (3 services on 1 host)
Packet capture filter (device enX): dst host x.x.x.x and (icmp or (tcp and
(src host 74.207.244.221)))
Initiating OS detection (try #1) against scanme.nmap.org (74.207.244.221)
OS detection timingRatio() == (1410386679.159 - 1410386678.659) * 1000 /
500 == 1.002
Retrying OS detection (try #2) against scanme.nmap.org (74.207.244.221)
OS detection timingRatio() == (1410386681.765 - 1410386681.265) * 1000 /
500 == 1.000
Packet capture filter (device enX): (ip or ip6) and dst host x.x.x.x
Initiating Traceroute at 15:04
Completed Traceroute at 15:04, 0.06s elapsed
Initiating Parallel DNS resolution of 12 hosts. at 15:04
mass_rdns: 0.00s 0/11 [#: 3, OK: 0, NX: 0, DR: 0, SF: 0, TR: 11]
Completed Parallel DNS resolution of 12 hosts. at 15:04, 0.98s elapsed
DNS resolution of 11 IPs took 0.98s. Mode: Async [#: 3, OK: 6, NX: 4, DR:
1, SF: 6, TR: 16, CN: 0]

And it just hangs hard here - even when I scan an internal host.
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: