Package: nmap
Version: 6.00-0.2
Severity: important

nmap errors out at startup if it is run as root and the system has any
network interface which is in monitor mode:

root@cascade:~# nmap scanme.nmap.org

Starting Nmap 6.00 ( http://nmap.org ) at 2012-12-20 16:26 EST
route_dst_netlink: can't find interface "eth0"
root@cascade:~# ifconfig mon.wlan0
mon.wlan0 Link encap:UNSPEC  HWaddr
F8-D1-11-19-DD-F6-B0-1E-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:266716 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:63082415 (60.1 MiB)  TX bytes:0 (0.0 B)

This bug is fixed upstream in nmap-6.01. Here is the relevant changelog entry:

o Fixed a bug that caused Nmap to fail to find any network interface when
  at least one of them is in the monitor mode. The fix was to define the
  ARP_HRD_IEEE80211_RADIOTAP 802.11 radiotap header identifier in the
  libdnet-stripped code. Network interfaces that are in this mode are used
  by radiotap for 802.11 frame injection and reception. The bug was
  reported by Tom Eichstaedt and Henri Doreau.
  http://seclists.org/nmap-dev/2012/q2/449
  http://seclists.org/nmap-dev/2012/q2/478
  [Djalal Harouni, Henri Doreau]

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nmap depends on:
ii  libc6        2.13-37
ii  libgcc1      1:4.7.2-4
ii  liblinear1   1.8+dfsg-1
ii  liblua5.1-0  5.1.5-4
ii  libpcap0.8   1.3.0-1
ii  libpcre3     1:8.30-5
ii  libssl1.0.0  1.0.1c-4
ii  libstdc++6   4.7.2-4
ii  python       2.7.3~rc2-1

nmap recommends no packages.

nmap suggests no packages.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to