Nmap Development mailing list archives

Re: nmap v6.00 - problems if a wlan interface is installed/activated


From: Djalal Harouni <tixxdz () opendz org>
Date: Sun, 3 Jun 2012 23:01:11 +0100

Hi,

On Sun, Jun 03, 2012 at 06:26:39PM +0200, Tom Eichstaedt wrote:
Am 02.06.2012 22:25, schrieb Djalal Harouni:

For Linux based devices you should apply this patch:
http://seclists.org/nmap-dev/2012/q2/att-549/libdnet-stripped_radiotap_monitor.patch
to
libdnet-stripped/include/dnet/arp.h
libdnet-stripped/src/addr.c

Thanks.

Hi Djalal,

first of all many thanks for the work and the patch.
You're welcome.

Here is the output of nmap 6.00 (--iflist) after applying the patch:

=======================================================================
Starting Nmap 6.00 ( http://nmap.org ) at 2012-06-03 17:55 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)     10.100.1.10/24 ethernet    up   1500 
00:1D:0F:FE:BF:C4
mon.wlan-1 (mon.wlan-1) (null)/0       ethernet    up   1500 
00:1D:0F:FE:BF:C4
ppp0       (ppp0)       xxx.xxx.xxx.xxx/32 point2point up   1492

ROUTES: NONE FOUND(!)
=======================================================================

As you can see, nmap 6.00 works now but there are still no routes found.
Ok, thanks for reporting this.

Could you please run these commands and send us results (with that
patch).

# ./nmap --iflist -d3
# ifconfig -a
# cat /proc/net/route
# ip addr show
# ip route show


If you can also send the same results of Nmap v5.51 that would be a plus.

[...]
I don't know if this is really important. I just want to let you know 
about this issue. If you need further information, please let me know.
Well, (1) Nmap should be able to list all interfaces, then (2) choose the
appropriate interface and contruct headers... so we need to fix them...

I'll try to investigate it.

Thanks.

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

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


Current thread: