1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-04 05:39:01 +00:00
Commit Graph

1224 Commits

Author SHA1 Message Date
david
cac1f8cf09 Pass CC to the liblua build. Also simplify the code handling Lua CFLAGS a bit. 2008-05-20 05:52:06 +00:00
david
fac8d52c1c Remove a test for the existence of $CXX in configure.ac. This was already done
better by AC_PROG_CXX and caused a failure when configured with ccache:

CXX="ccache /usr/bin/g++-4.0" ./configure
checking build system type... i386-apple-darwin9.2.2 
checking host system type... i386-apple-darwin9.2.2 
checking for gcc... ccache /usr/bin/gcc-4.0 
checking for C compiler default output file name... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether ccache /usr/bin/gcc-4.0 accepts -g... yes 
checking for ccache /usr/bin/gcc-4.0 option to accept ISO C89... none needed 
checking for inline... inline 
checking for gcc... (cached) ccache /usr/bin/gcc-4.0 
checking whether we are using the GNU C compiler... (cached) yes 
checking whether ccache /usr/bin/gcc-4.0 accepts -g... (cached) yes 
checking for ccache /usr/bin/gcc-4.0 option to accept ISO C89... 
(cached) none needed 
checking whether we are using the GNU C++ compiler... yes 
checking whether ccache /usr/bin/g++-4.0 accepts -g... yes 
checking for ccache /usr/bin/g++-4.0... MISSING 
configure: error: Could not locate a C++ compiler. If it exists, add it 
to your PATH or give configure the CXX=path_to_compiler argument. 
Otherwise, install a C++ compiler such as g++ or install a binary 
package of Nmap (see http://nmap.org/download.html ))
2008-05-20 05:31:53 +00:00
kris
7d38c4dc6e o Nmap now understands the RFC 4007 percent syntax for IPv6 Zone IDs.
On Windows, this ID has to be a numeric index.  On Linux and some
  other OS's, this ID can instead be an interface name.  Some examples
  of this syntax:
    fe80::20f:b0ff:fec6:15af%2
    fe80::20f:b0ff:fec6:15af%eth0

This was a lot simpler than the method I previously implemented and posted
to nmap-dev.  Now I just extract the zone ID from the already available
getaddrinfo() data rather than parsing it out myself.
2008-05-20 05:21:29 +00:00
fyodor
ce3ce4f541 change recursive query dns test from isc.sans.org to www.wikipedia.org 2008-05-16 22:17:41 +00:00
michael
b32c2df695 Here is the updated changelog for my preceeding patch. 2008-05-15 22:44:50 +00:00
michael
47e4b7aee5 Fixed a bug in nmap_dns.cc where the endian of the platform that nmap ran on
might negitivly effect how efficiently nmap stores cache values in a hash 
table. Now ntohl is called to correctly reorder the values on little endian 
platforms before the hash calculation is preformed.
2008-05-15 22:41:49 +00:00
jurand
0708d3144d Fixed the nmap_command_path bug in Zenmap. The variable now actually accesses the nmap_command_path in zenmap.conf file. It is
accessed by a new class in UmitConf called PathsConfig, which represents the [paths] section in zenmap.conf. [Jurand Nogiec]
2008-05-15 21:10:20 +00:00
david
75dad22d50 Commit the results of integrating about 10 OS submissions (while testing the
new fingerprint tool).
2008-05-15 20:47:26 +00:00
fyodor
7376e1eee1 note preferred format for --script-args option 2008-05-15 19:09:21 +00:00
kris
b7b8fef7f4 Removing "Recursion not enabled" from dns-test-open-recursion.nse because it only adds clutter to the output 2008-05-15 15:12:58 +00:00
fyodor
c868e31105 fix signature match for scanme.nmap.org 2008-05-14 23:26:31 +00:00
kris
2881b4faab HTTP_open_proxy.nse fix: tags{} -> categories{} 2008-05-14 21:02:27 +00:00
kris
d2a8535ebc Fixing r7470 (patch for ICMP ping + IPv6)--it stopped every IPv6 scan 2008-05-14 16:55:09 +00:00
kris
abe470fba8 Change SSLv2-support.nse to only print cipher list if verbosity>=2 or debugging>0 2008-05-14 04:08:07 +00:00
bmenrigh
1018992e15 Loosened the non-HTTP regexp so that Skype is properly identified more
often.  Also added a product string so that the version column isn't
blank.
2008-05-13 20:19:38 +00:00
david
8aabab33ab Remove a duplicate parameter entity definition of attr_percent in nmap.dtd. 2008-05-12 15:54:14 +00:00
fyodor
732c32a09e Quite if user tries ICMP echo/netmask/timestamp request ping with IPv6, sine we don't yet support it. Patch from Jah. 2008-05-12 03:04:01 +00:00
kris
e7eafc8928 Whoops, I missed running --script-updatedb for r7439 (removing mswindowsShell.nse) 2008-05-11 05:49:02 +00:00
kris
48a8bd757c Removing mswindowsShell.nse--there is a version detection match to accomplish the same thing 2008-05-10 20:52:16 +00:00
david
1f440038b7 Update macosx README for nmap-4.62-test7. 2008-05-10 15:06:31 +00:00
david
0a52f1e459 Update macosx README for nmap-4.62-test6. 2008-05-10 03:34:17 +00:00
david
4b3073de6c Add a little changelog to the macosx README. 2008-05-10 03:20:36 +00:00
fyodor
e843583ef3 o Nmap now reports scan start and end times for individual hosts
within a larger scan. The information is added to the XML host
  element like so: [host starttime="1198292349" endtime="1198292370"]
  (but of couse with angle brackets rather than square ones).  It is
  also printed in normal output if -d or "-v -v" are
  specified. [Brandon, Kris, Fyodor]
2008-05-09 05:21:44 +00:00
david
ce83ee9a43 Add to CHANGELOG:
o "make uninstall" now uninstalls Zenmap as well. The uninstall_zenmap
  script now deletes directories that were installed. [David]
2008-05-07 18:25:12 +00:00
david
326424ebdb Call the Zenmap setup.py uninstaller from the uninstall-zenmap target. 2008-05-07 02:42:22 +00:00
david
7b3be0483b Remove the listing of zenmap.1.gz from nmap.spec.in, and remove the manual
installation of that file from zenmap.spec.in because that is now handled by
the makefile.
2008-05-06 23:56:13 +00:00
david
67739dfa73 Create $(DESTDIR)$(mandir)/man1 before trying to install zenmap.1 into it in
Makefile.in.
2008-05-06 23:55:25 +00:00
fyodor
bad1caa2e0 o Fixed a bug which caused Nmap to send bad checksums on Solaris 10
x86.  This was due to a workaround for an Ancient Solaris 2.1 bug
  which activated when the OS string matched "solaris2.1*".  The
  problem has now been resolved until Solaris 20 comes out and hits
  our "solaris2.2*" bug workarounds. Thanks to Nathan Bills for the
  problem report.  Fixed by Fyodor.
2008-05-06 23:28:34 +00:00
doug
976ebc0414 Anchored the hunchentoot server line on a CRLF boundary thanks
to suggestion from Fyodor.
2008-05-06 22:36:32 +00:00
bmenrigh
65c650382f Simple typeo (XP->Vista) fix 2008-05-06 07:32:44 +00:00
fyodor
5e8515e5fd o We now compile in IPv6 support on Windows. In order to use this,
you need to have IPv6 set up.  It is installed by default on XP, but
  must be downloaded from MS for XP.  See
  http://www.microsoft.com/technet/network/ipv6/ipv6faq.mspx . [Kris]
2008-05-06 07:16:38 +00:00
david
97e78f4722 Update macosx/Makefile to reflect that it builds an installer for both Nmap and
Zenmap now.
2008-05-06 05:14:46 +00:00
doug
72453fc4ed New match line for hunchentoot lisp httpd 2008-05-06 05:07:15 +00:00
bmenrigh
9b9d2bd85e Updated all the stray calls to rand() to use nbase_rnd instead. The
only code left in Nmap that still uses rand() is in the Lua math 
library.  Perhaps at some point we'll need to expose high-quality random 
numbers to Lua via our custom nmap library.
2008-05-06 01:05:51 +00:00
bmenrigh
19f44f6648 This service patch-cycle has taken quite a bit longer because feedback
for remaining services on campus has been exceptionally poor.

* Added LANDesk Management Suite Targeted Multicast Service

* Changed Microsoft-HTTPAPI (SSDP/UPnP) match to be more generic to 
  better match the errors it returns

* Added OpenVMS 8.3 Alpha telnetd

* Changed vmware-auth matches to slightly generalize them so they catch 
  more auth settings

* Changed Snap Appliance webadmin to catch cases where a non-401
  response is given

* Changed a generic Apache match to use non-greedy .* to fix
  capturing too much (more work/testing needed to fully fix)

We still have a few hundred services to go on my todo list; I'm still
working on them...
2008-05-05 20:01:06 +00:00
david
4fa44aecbf Split Zenmap uninstallation into its own makefile target uninstall-zenmap, to
make it easier when we actually support uninstalling Zenmap with the makefile.
2008-05-05 18:33:21 +00:00
david
a816e2d4dc Install the zenmap man page in the install-zenmap target, not the install-nmap
target.
2008-05-05 18:12:19 +00:00
david
7cd445591c Use DESTDIR in the uninstall target in Makefile.in. This is, for example, what
Automake does. Otherwise, when you run an uninstall, it will delete
/usr/bin/nmap, not the nmap you might be staging elsewhere. This has no effect
if DESTDIR is undefined.
2008-05-05 18:00:31 +00:00
david
298fe63173 Add to CHANGELOG:
o The Zenmap installer and uninstaller are more careful about escaping
  filenames and dealing with an installation root (DESTDIR). [David]
2008-05-05 17:33:23 +00:00
fyodor
10b54b773b minor license template updates from Kris--fix gnu.org link to GPLv2 (moved) and openssl license filename (COPYING.OpenSSL) 2008-05-05 04:10:00 +00:00
fyodor
d622c98e4b o Fix a couple bugs in the way the Nmap built system checked for an
existing LUA library.  A bashism caused one test to fail on system
  which don't use bash as /bin/sh, and another bug fixed --with-liblua
  configure option for specifying your own liblua. [Daniel
  Roethlisberger]
2008-05-04 19:27:34 +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
38fd81df2d latest rendered docs 2008-05-03 08:31:44 +00:00
fyodor
ce040e2431 Finish CHANGELOG for upcoming 4.62 release 2008-05-03 08:22:18 +00:00
fyodor
1007c60d5a o Added release dates for each version to this CHANGELOG going back to
Nmap 3.00 (July 31, 2002).  Dates are in MM/DD/YY format.  If someone
  wants to track down dates for the last 22% of the file (pre-3.00), you
  are welcome to do so and send a patch.  Searching Google for the
  version number and site:seclists.org seems to work well.

o Also started the process of preparing changelog for next release.
2008-05-03 06:19:49 +00:00
david
7b9cc11e1e Undo r7283 (doAnyOutstandingRestransmits performance improvements) pending
further testing on Windows.
2008-05-03 05:42:16 +00:00
fyodor
2b35d4d1c5 regenerated 2008-05-02 22:34:06 +00:00
david
85c8ece184 Document some limitations of decoys in the source and in the reference
guide. They don't honor scan delay and may violate congestion control.

Both this things should be fixed. I was going to do it by having
get_next_target_probe just return the same probe multiple times, and
then either extend struct probespec to include a source address or have
sendIPScanProbe keep track of the decoy index and fill in source
addresses. But I was stopped by timing pings. Those should certainly be
decoyed, but in the code they are just sent as they are needed, and
don't have a dispatching function to modify. What would be good is a
global queue of probes waiting to be sent you could just insert all your
spoofed probes into, and then let the rest of the code take care of
scheduling them.
2008-05-02 20:38:27 +00:00
david
9c96ad1340 Merge from /nmap-exp/david/nmap-fixed-rate.
This change keeps a list of probes awaiting retransmit so that
doAnyOutstandingRetransmits doesn't have to search for them. At high
scan rates this function could take 100 ms or more. Now I have measured
it to take 2 ms or less.

The variable num_probes_waiting_retransmit has been renamed
num_probes_timed_out to better explain its purpose. This list of probes
that can be retransmitted immediately is called
probes_waiting_retransmits, but not all timed-out probes can be
retransmitted immediately. I've done my best to explain the distinction
in comments.

I thought long and hard about how to address this issue, and this is
what I decided on. But of course, every little optimization brings some
complexity and the chance of making a mistake. I'd appreciate someone
taking a look at this change.
2008-05-02 05:42:55 +00:00
david
0d64547038 Make some modifications to the installer, such as including the readme and license. 2008-04-30 00:00:58 +00:00