Nmap Development mailing list archives

route_dst_netlink: can't find interface "tap0"


From: Chris <deutronium () gmail com>
Date: Wed, 3 Oct 2012 17:25:34 +0100

Hi guys,

First off congrats on you're excellent work :)

I'm using r29928 from the SVN repository.

I'm just having problems with nmap not recognising a particular interface.

If I run a connect scan as a normal user, chris@icarus:~/Desktop$ nmap
192.168.1.222
It works fine.

If I run the same connect scan as a root user:

Starting Nmap 6.02 ( http://nmap.org ) at 2012-10-03 14:43 BST
route_dst_netlink: can't find interface "tap0"

Even though "ifconfig tap0" shows the interface is up:

tap0      Link encap:Ethernet  HWaddr 4a:40:62:24:53:5e
          inet6 addr: fe80::4840:62ff:fe24:535e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10116775 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10105187 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:1058003528 (1.0 GB)  TX bytes:989857608 (989.8 MB)

Additionally:

chris@icarus:~/moving$ sudo nmap --iflist
[sudo] password for chris:

Starting Nmap 6.02 ( http://nmap.org ) at 2012-10-03 17:18 BST
************************INTERFACES************************
DEV   (SHORT) IP/MASK                      TYPE     UP MTU   MAC
tap0  (tap0)  (null)/0                     ethernet up 1500  4A:40:62:24:53:5E
tap0  (tap0)  fe80::4840:62ff:fe24:535e/64 ethernet up 1500  4A:40:62:24:53:5E
lo    (lo)    127.0.0.1/8                  loopback up 16436
lo    (lo)    ::1/128                      loopback up 16436
wlan0 (wlan0) 192.168.1.64/24              ethernet up 1500  68:5D:43:4C:97:E4
wlan0 (wlan0) fe80::6a5d:43ff:fe4c:97e4/64 ethernet up 1500  68:5D:43:4C:97:E4
eth0  (eth0)  (null)/0                     ethernet up 1500  D4:BE:D9:40:D7:7C

**************************ROUTES**************************
DST/MASK                      DEV   GATEWAY
192.168.1.222/32              wlan0
192.168.1.0/24                wlan0
169.254.0.0/16                wlan0
0.0.0.0/0                     wlan0 192.168.1.254
::1/128                       lo
fe80::4840:62ff:fe24:535e/128 lo
fe80::6a5d:43ff:fe4c:97e4/128 lo
fe80::/64                     wlan0
fe80::/64                     tap0
ff00::/8                      wlan0
ff00::/8                      tap0



many thanks

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


Current thread: