Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: nmap v6.00 - problems if a wlan interface is installed/activated
From: Daniel Miller <bonsaiviking () gmail com>
Date: Sat, 26 May 2012 19:49:17 -0500

Confirmed, I just updated to a 3.0 kernel (3.2.0-24), and this problem
presents on an old svn build of 5.61test5 with wlan0 in monitor mode:

$ nmap --iflist -ddd

Starting Nmap 5.61TEST5 ( http://nmap.org ) at 2012-05-26 19:37 CDT
Fetchfile found /usr/local/bin/../share/nmap/nmap-services
PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)
INTERFACES: NONE FOUND(!)
Reason: getinterfaces_dnet: intf_loop() failed
ROUTES: NONE FOUND(!)
Reason: getsysroutes_dnet: sysroutes_dnet_find_interfaces() failed


If needed, I can do a debug build and step through this, but I'd
rather not, if someone can identify the issue first.

Dan

On Sat, May 26, 2012 at 6:41 AM, Tom Eichstaedt <wintermute () tom-e de> wrote:
Hi all,


nmap v6.00 has problems if a wlan interface is installed/activated.
OS: GNU/Linux 3.0


My findings (nmap 5.51 vs nmap 6.00):

=======================================================================

(1) nmap 5.51 with deactivated wlan interface (--iflist):

Starting Nmap 5.51 ( http://nmap.org ) at 2012-05-24 12:59 CEST
************************INTERFACES************************
DEV   (SHORT) IP/MASK          TYPE        UP MTU   MAC
lo    (lo)    127.0.0.1/8      loopback    up 16436
lan-1 (lan-1) 10.100.0.10/24   ethernet    up 1500  00:30:18:4B:9E:CD
wan-1 (wan-1) 192.168.2.1/24   ethernet    up 1500  00:30:18:4B:9E:CC
ppp0  (ppp0)  xxx.xxx.xxx.xxx/32 point2point up 1492

**************************ROUTES**************************
DST/MASK         DEV   GATEWAY
217.0.118.108/32 ppp0
10.100.0.0/24    lan-1
192.168.2.0/24   wan-1
0.0.0.0/0        ppp0  xxx.xxx.xxx.xxx

=======================================================================

(2) nmap 6.00 with deactivated wlan interface (--iflist):

Starting Nmap 6.00 ( http://nmap.org ) at 2012-05-24 13:10 CEST
************************INTERFACES************************
DEV      (SHORT)    IP/MASK          TYPE        UP   MTU   MAC
lo       (lo)       127.0.0.1/8      loopback    up   16436
lan-1    (lan-1)    10.100.0.10/24   ethernet    up   1500 00:30:18:4B:9E:CD
wan-1    (wan-1)    192.168.2.1/24   ethernet    up   1500 00:30:18:4B:9E:CC
unused-1 (unused-1) (null)/0         ethernet    down 1500 00:30:18:4B:9E:CB
unused-2 (unused-2) (null)/0         ethernet    down 1500 00:30:18:4B:9E:CA
wlan-1   (wlan-1)   (null)/0         ethernet    down 1500 00:1D:0F:FE:BF:C4
ppp0     (ppp0)     91.57.179.165/32 point2point up   1492

ROUTES: NONE FOUND(!)

=======================================================================

(3) nmap 5.51 with activated wlan interface in master mode (--iflist):

Starting Nmap 5.51 ( http://nmap.org ) at 2012-05-24 13:06 CEST
************************INTERFACES************************
DEV    (SHORT)  IP/MASK          TYPE        UP MTU   MAC
lo     (lo)     127.0.0.1/8      loopback    up 16436
lan-1  (lan-1)  10.100.0.10/24   ethernet    up 1500  00:30:18:4B:9E:CD
wan-1  (wan-1)  192.168.2.1/24   ethernet    up 1500  00:30:18:4B:9E:CC
wlan-1 (wlan-1) 10.100.1.10/24   ethernet    up 1500  00:1D:0F:FE:BF:C4
ppp0   (ppp0)   xxx.xxx.xxx.xxx/32 point2point up 1492

**************************ROUTES**************************
DST/MASK         DEV    GATEWAY
217.0.118.108/32 ppp0
10.100.0.0/24    lan-1
10.100.1.0/24    wlan-1
192.168.2.0/24   wan-1
0.0.0.0/0        ppp0   xxx.xxx.xxx.xxx

=========================================================================

(4) nmap 6.00 with activated wlan interface in master mode (--iflist):

Starting Nmap 6.00 ( http://nmap.org ) at 2012-05-24 13:09 CEST
INTERFACES: NONE FOUND(!)
ROUTES: NONE FOUND(!)

=========================================================================


As you can see, nmap 5.51 works well in any case (1 and 3).
In the second case (2) nmap 6.00 finds no routes (but works).
In the last case (4) nmap 6.00 finds no routes and no interfaces.

Other people with totally different hardware seem to have exactly
the same problem: http://talk.maemo.org/archive/index.php/t-48673.html

I hope my findings will help you to solve the problem.
If you need further information, please let me know.


Cheers, Tom


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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault