1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00
Commit Graph

42 Commits

Author SHA1 Message Date
kris
d23556c513 Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
david
8bc4a2ced3 Document something in NMAP_MODIFICATIONS I forgot to document before. It's from
when I adapted some libdnet 1.11 code to convert a dnet name to a pcap name by
matching hardware addresses. I removed an earlier comment that this one
supersedes.
2008-08-30 04:39:30 +00:00
david
ba27a7308c Copy libdnet-stripped/include/dnet/os.h from libdnet 1.12. This avoids a
duplicate typedef of ssize_t.
2008-08-29 20:23:56 +00:00
fyodor
2c4f8d1a67 o The Nmap Windows self-installer now automatically installs the MS
Visual C++ 2008 runtime components if they aren't already installed
  on a system.  These are some reasonably small DLLs that are
  generally necessary for applications compiled with Visual C++ (with
  dynamic linking).  Many or most systems already have these installed
  from other software packages.  The lack of these components led to
  the error message "The Application failed to intialize properly
  (0xc0150002)." with Nmap 4.65.  A related change is that Nmap on
  Windows is now compiled with /MD rather than /MT so that it
  consistently uses these runtime libraries.  The patch was created by
  Rob Nicholls.
2008-06-29 04:52:00 +00:00
david
38c50f3ac3 In eth_get_pcap_devname (nee intf_get_pcap_devname), fall back on matching MAC
addresses if matching IP addresses fails. I have a feeling this is more
reliable than matching IP addresses, but as I'm not sure, I have made it the
backup so that nothing will stop working that was working before. The MAC
address matching works fine for me if I disable the IP address matching. The
code is adapted from libdnet 1.11.
2008-06-20 20:57:40 +00:00
david
09cc37f7f0 Rename intf_get_pcap_devname to eth_get_pcap_devname to reflect its new home. 2008-06-20 20:44:54 +00:00
david
b145c5549d Move intf_get_pcap_devname from intf-win32.c to eth-win32.c. Pending changes
are going to make that function use a struct eth_t, so it needs to be here to
be in scope for that struct's internals.
2008-06-20 20:36:21 +00:00
david
f557cbe90e Remove the unused (and broken) intf_get_desc function from libdnet-stripped. It
used to be used to get the interface description back when the eth_open
correlation code worked that way.
2008-06-20 20:32:51 +00:00
david
450052603b In intf_get_pcap_devname, compare each of the pcap device's addresses against
all of the dnet device's addresses, not just the first one. This is a long shot
to fix the "dnet: Failed to open eth4" problem on Vista, but it's the right
thing anyway.
2008-06-20 19:44:13 +00:00
kris
44f6087b94 Merging changes from my vc2008-testing branch. This moves Windows development
to VC++2008.
2008-06-13 05:58:11 +00:00
kris
85edc7a005 Merging over from /nmap-exp/kris/assert-testing
Ensuring the safety of assert() calls by keeping NDEBUG undefined throughout
Nmap, Nbase and Nsock.

I've tested this on Linux and Windows XP without problems.  On Windows I've
removed the definitions of _DEBUG and NDEBUG from the *.vcproj files.
2008-05-03 17:58:48 +00:00
fyodor
356352cfa7 regenerated autoconf configure files using autoconf-2.61-9.fc8 2008-03-15 10:23:08 +00:00
david
3e3f0d8d39 Canonicalize interface type numbers used internally by libdnet. Also
recognize devices with type INTF_TYPE_IEEE80211 as Ethernet devices.
This ought to make wireless network scanning work on Windows Vista. For
more background see http://seclists.org/nmap-dev/2007/q4/0391.html.
2007-12-03 23:51:26 +00:00
david
62823cb379 Back out r6322, which added a debugging message to libdnet. The bug which
necessitated the message will be fixed in a pending commit.
2007-12-03 23:44:02 +00:00
david
dfb9c157c7 Delete auxiliary scripts config.guess, config.sub, depcomp, install-sh,
ltmain.sh, and missing from subdirectories. Autoconf automatically looks
in the parent directory for these files. I had to copy the files
depcomp, ltmain.sh, and missing into the root of the source tree.
2007-11-27 06:22:46 +00:00
david
e1a5a6424d Show a warning in libdnet whenever a Windows interface type is unrecognized.
(These get mapped to interfaces beginning with "net": net0, net1, etc.) I
originally planned to make this a debugging message to be displayed at a
certain debuggin level whether the interface type is recognized or not. It
looked to be a pain to give libdnet visibility of Nmap debugging level, so
instead it just prints a message to stderr only when the interface type is
unrecognized.
2007-11-27 00:39:01 +00:00
david
d08af8a057 List all interface aliases on Windows. All aliases of one interface will be
given the same name, e.g., "eth0". Use -e to choose the interface and -S to
choose the source address.
2007-11-26 23:44:20 +00:00
fyodor
b361685be8 NSE committed 2006-12-11 00:34:26 +00:00
fyodor
9c686d4a12 about to do more os fingerprint integration 2006-12-03 00:34:19 +00:00
fyodor
3d9ccee8ff I think I'm done with pcap upgrade and doug's pcap selectable_fd patch 2006-08-17 00:23:03 +00:00
fyodor
5a9fea3b39 portability fixes, fixed UDP phantom port bug, fixed --version-intensity crash, changed mass_dns to give warning rather than error if cannot find dns servers 2006-06-10 21:23:27 +00:00
fyodor
bb10b6a8f3 moved everything to VS Express 2005 2006-05-31 23:01:19 +00:00
fyodor
0b33f41633 About to do Nmap 4.03 2006-04-22 23:00:09 +00:00
fyodor
c9dd83e327 about to apply Doug DNS fix patch 2006-02-07 07:15:32 +00:00
fyodor
76acd0a496 Nmap 3.98BETA1 2006-01-21 23:57:49 +00:00
fyodor
e2b19b36a3 a bunch of misc. changes 2005-12-29 11:34:45 +00:00
fyodor
0551dc6964 Time to start working on verifying/fixing alleged memorly leak on large scans 2005-12-03 04:20:52 +00:00
fyodor
908942d57a use windows config.h instead of normal config.h on windows 2005-09-12 09:03:38 +00:00
fyodor
a14f8bc51c close to 3.92 release 2005-09-12 08:08:35 +00:00
fyodor
87e4e19e02 bug fixing 2005-08-24 19:22:11 +00:00
fyodor
b3923483ea 3.84ALPHA1 release imminant 2005-08-11 05:07:01 +00:00
fyodor
02397959b3 removed winip lib 2005-08-10 04:16:18 +00:00
fyodor
f2e62cf403 Windoze just about working 2005-08-09 04:20:41 +00:00
fyodor
bdf2caa2a4 vcproj for nmap 2005-08-08 05:48:49 +00:00
fyodor
68aaae4a0c removed some generated files that really never should have been checked in 2005-07-27 02:47:33 +00:00
fyodor
aafb4a0a82 Arp sp00fing c0de 2005-07-26 06:26:00 +00:00
fyodor
db7794d596 Mostly seems to be working on Solaris, though I am having some problems with libpcap not timing out 2005-07-23 04:05:31 +00:00
fyodor
2b834d90d2 Have it compiling on Solaris, and soon should have it working. Bwahahahahahahaha 2005-07-22 10:08:53 +00:00
fyodor
9e7384fd63 truly close to 3.83SOC2 release 2005-07-21 00:59:11 +00:00
fyodor
555c986ac3 Whew -- big reorganization to allow ethernet sends of IP packets 2005-07-19 05:07:51 +00:00
fyodor
7adc678b19 misc 2005-07-03 22:16:17 +00:00
fyodor
4d2beed7c3 libdnet stripped and integrated, ARP ping scan starting to work pretty well 2005-04-30 05:12:29 +00:00