nmap/libdnet-stripped
david 48c6e7b820 Move the body of eth_get_pcap_devname back into intf_get_pcap_devname, leaving
eth_get_pcap_devname as a wrapper.

In addition to the hardware address check, add a check of the textual interface
descriptions in order better to distinguish interfaces. It appears to me that
the pcap description (pdev->description) is the same as what is returned by a
call to PacketRequest with an OID of OID_GEN_FRIENDLY_NAME, so that's what I'm
comparing. That differs from OID_GEN_VENDOR_NAME, which is what you get in
ifrow.bDescr from GetIfTable.

We've found that simply comparing hardware addresses is not enough when using
Windows "teamed" (link-aggregated) interfaces. In a simple example, two NICs
are teamed together, leading to three interfaces visible to libdnet: the two
physical NICs and the virtual teamed interface. All three of these have the
same MAC address. What was happening was the eth0 interface was being assigned
to one of the physical NICs, packets were sent over it, but the replies were
not necessarily coming back to the same physical NIC.
2010-05-13 04:06:53 +00:00
..
config Make the Autoconf check for PF_PACKET support Linux-specific. Recent 2010-04-27 23:33:17 +00:00
include Move the body of eth_get_pcap_devname back into intf_get_pcap_devname, leaving 2010-05-13 04:06:53 +00:00
src Move the body of eth_get_pcap_devname back into intf_get_pcap_devname, leaving 2010-05-13 04:06:53 +00:00
acconfig.h Add semicolons to the socklen_t typedefs, thanks again to Michael 2010-01-14 06:04:17 +00:00
aclocal.m4 autoreconf with Autoconf 2.63, Automake 1.10.1, and libtool 2.2.6. 2009-08-06 22:00:34 +00:00
configure Don't build a shared libdnet library by default. We always link directly 2010-05-07 21:08:32 +00:00
configure.in Don't build a shared libdnet library by default. We always link directly 2010-05-07 21:08:32 +00:00
dnet-config.in
INSTALL
libdnet-stripped.vcproj o Added initial SCTP port scanning support to Nmap. SCTP is 2009-06-03 23:15:45 +00:00
LICENSE
Makefile.am Don't use the removed directorie man, python, and test in Makefile.am. 2009-08-06 21:45:19 +00:00
Makefile.am.common
Makefile.in autoreconf with Autoconf 2.63, Automake 1.10.1, and libtool 2.2.6. 2009-08-06 22:00:34 +00:00
NMAP_MODIFICATIONS Don't build a shared libdnet library by default. We always link directly 2010-05-07 21:08:32 +00:00
README
THANKS
TODO

libdnet
-------

libdnet provides a simplified, portable interface to several low-level
networking routines, including network address manipulation, kernel
arp(4) cache and route(4) table lookup and manipulation, network
firewalling, network interface lookup and manipulation, IP tunnelling,
and raw IP packet and Ethernet frame transmission.

WWW: http://libdnet.sourceforge.net/

$Id: README 578 2005-02-14 21:00:17Z dugsong $