Nmap Development mailing list archives

Re: about nmap6.01 work on NOKIA N900.


From: David Fifield <david () bamsoftware com>
Date: Wed, 12 Sep 2012 20:17:57 -0700

On Tue, Jul 03, 2012 at 01:01:06PM +0800, 汪超慧 wrote:
NOKIA N900 is a linux phone,i success compiled nmap6.01 on N900,
but when execute any scan ,it output:route_dst_netlink "can't find
interface wlan0"
nmap --iflist ,it output:interface (not found) router (not found)

i google it ,and find some message ,i comment 517 line in
/nmap6.01/libdnet-stripped/src/intf.c (/*             if
(addr_ston(&ifr.ifr_addr, &entry->intf_link_addr) < 0)
                      return (-1);*/

and recompile ,,nmap can found interface,execute scan(nmap nmap.org,work find).
but when i scan LAN,nmap can't found any alive host
nmap 192.168.1.1
output::::
Starting Nmap 6.02 ( http://nmap.org ) at 2012-07-02 21:58 PDT
Initiating ARP Ping Scan at 21:58
Scanning 192.168.1.1 [1 port]
Completed ARP Ping Scan at 21:58, 0.47s elapsed (1 total hosts)
Nmap scan report for 192.168.1.1 [host down]
Read data files from: /usr/local/bin/../share/nmap
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 1.11 seconds
           Raw packets sent: 2 (56B) | Rcvd: 0 (0B)

can somebody know how to fix it,thanks!

This may be related to the lack of support for some interface types,
that was fixed recently.

http://seclists.org/nmap-dev/2012/q2/449
http://seclists.org/nmap-dev/2012/q2/478
http://seclists.org/nmap-dev/2012/q3/676

You might try a recent Subversion checkout and see if that works.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: