Nmap Development mailing list archives

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


From: Tom Eichstaedt <wintermute () tom-e de>
Date: Sat, 30 Jun 2012 14:12:04 +0200

Hi Djalal

Am 28.06.2012 02:42, schrieb Djalal Harouni:
Hi Tom,
(...)
I think that we have a workaround for Linux, however currently the
provided solution is still under discussion [1]

Testing the patch will at least confirm to us if the 'find ppp routes'
logic is still working. So could you please try the following:
http://seclists.org/nmap-dev/2012/q2/att-920/nmap_routes_rework.patch

This should apply to Nmap-6.01, use 'patch -p1'.
(...)

Here are the results of nmap 6.01 (--iflist) after applying the patch:

1) ppp-connection enabled:

=================================================================================
Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-30 13:51 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)       91.57.162.137/32 point2point up   1492

**************************ROUTES**************************
DST/MASK       DEV    GATEWAY
10.100.0.0/24  lan-1
10.100.1.0/24  wlan-1
192.168.2.0/24 wan-1
=================================================================================

Some routes are not shown (device ppp0).
nmap 5.51:

=================================================================================
(...)
**************************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   217.0.118.108
=================================================================================


2) ppp-connection disabled:

=================================================================================
Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-30 13:44 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

**************************ROUTES**************************
DST/MASK       DEV    GATEWAY
10.100.0.0/24  lan-1
10.100.1.0/24  wlan-1
192.168.2.0/24 wan-1
=================================================================================

And this is just perfect.
nmap 5.51:

=================================================================================
(...)
**************************ROUTES**************************
DST/MASK       DEV    GATEWAY
10.100.0.0/24  lan-1
10.100.1.0/24  wlan-1
192.168.2.0/24 wan-1
=================================================================================

Thanks a lot for the great work.

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


Current thread: