Nmap Development mailing list archives

Re: BUG REPORT


From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 26 May 2015 12:32:58 -0500

Алексей,

Thanks for this bug report. We get this kind of error fairly regularly due
to new hardware types being supported in Linux (and other OSs to a lesser
degree). I'm attaching the source of a C program that should help us
quickly identify what constant Linux is returning in response to the
SIOCGIFHWADDR ioctl. Please compile and run it like so:

gcc -o ifacediag ifacediag.c
./ifacediag enp2s6

Report the output along with the output of:

uname -r
lshw -class net
lspci -s 2:6

And any other information about the ethernet card or configuration that you
feel would be helpful.

Dan

On Tue, May 26, 2015 at 10:37 AM, Алексей Бадяев <aleksei.badyaev () gmail com>
wrote:

Hi, dear nmap developers!

I just install nmap on my Gentoo box:

# nmap -V

Nmap version 6.47 ( http://nmap.org )
Platform: i686-pc-linux-gnu
Compiled with: liblua-5.2.3 openssl-1.0.1m libpcre-8.35 libpcap-1.6.2
nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select

And nmap by root not working:

# nmap --iflist

Starting Nmap 6.47 ( http://nmap.org ) at 2015-05-26 22:34 KRAT
INTERFACES: NONE FOUND(!)
ROUTES: NONE FOUND(!)

# nmap 192.168.1.1

Starting Nmap 6.47 ( http://nmap.org ) at 2015-05-26 22:35 KRAT
route_dst_netlink: can't find interface "enp2s6"

My network is wired and working perfectly:

# ifconfig
enp2s6    Link encap:Ethernet  HWaddr 84:c9:b2:46:fe:02
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::4a65:b46f:9e99:940b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34424 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33366 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27991726 (26.6 MiB)  TX bytes:10306887 (9.8 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:219291 errors:0 dropped:0 overruns:0 frame:0
          TX packets:219291 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:447052966 (426.3 MiB)  TX bytes:447052966 (426.3 MiB)

Any help please!

--
С уважением, Бадяев Алексей Михайлович

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

Attachment: ifacediag.c
Description:

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

Current thread: