Nmap Development mailing list archives

Re: lingering problem: route_dst_netlink: can't find interface


From: Djalal Harouni <tixxdz () opendz org>
Date: Tue, 28 Aug 2012 12:44:12 +0100

Hi,

Thanks for sending all that info.

Please see below (I'm not familiar with IP-over-InfiniBand interfaces)

On Thu, Aug 23, 2012 at 08:51:27PM -0400, starlight.2012q3 () binnacle cx wrote:
So it seems to be a problem with 'libdnet'
failing when it sees an Infiniband
interface.  Built latest and ran test:

$ dnet intf show
lo: flags=0x3<UP,LOOPBACK> mtu 16436
        inet 127.0.0.1/8
        alias ::1
sit0: flags=0x8<NOARP> mtu 1480
lt-dnet: intf_loop: Invalid argument

Runs ok on an nearly identical CentOS 5.8
system that has no IB interfaces.

Reported this to 'libdnet' owner/maintainer.
Yes libdnet does not handle this. Plus these IPoIB (IP-over-InfiniBand)
use 20bytes for hardware address, and current libdnet code can store only
upto 16bytes, and I'm not sure how other parts of libdnet will deal
with this.


Another point is can we send ethernet frames in this case ? or only IP
packets ? which I suppose can be handled by the '--send-ip' Nmap switch.

Anyway you can start with the attached patch, and see if it will work,
only 6bytes of hardware address will be reported.

Please try to see if you can send IP packets with Nmap on that interface.


Thanks.

-- 
tixxdz
http://opendz.org

Attachment: nmap_infiniband_intf.patch
Description:

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

Current thread: