1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00
Commit Graph

140 Commits

Author SHA1 Message Date
dmiller
bc3ece44c9 Check for Lua 5.2 instead of Lua >=5.2. Closes #259 2016-01-07 05:45:47 +00:00
dmiller
f4619edece Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
dmiller
ef7c910908 Strictly use autoconf-generated build targets for nmap dependencies. Fixes #227 2015-10-28 03:56:01 +00:00
gio
c3b069b0ea normalized *_check target to check-* target 2015-08-20 19:50:39 +00:00
gio
263872f60b Normalize some forgotten target 2015-08-20 19:50:37 +00:00
gio
90edf7ba5c normalized *_[dist]clean target to [dist]clean-* target 2015-08-20 19:50:34 +00:00
gio
3b42a41f44 normalized *_build target to build-* target 2015-08-20 19:50:29 +00:00
gio
08e9abbc62 Fixes #181 keep track and print resume of enabled/disabled Nmap features 2015-07-09 08:48:22 +00:00
gio
b705866220 Print warning if OpenSSL is not found but not explicitely disabled 2015-07-09 08:48:18 +00:00
gio
bf22689ef7 Fail only if python2 components requested Fixes #158 2015-06-11 05:26:40 +00:00
gio
ead27df538 Fixes #86 look only for 2.4 <= python < 3 in configure as python3 is not supported 2015-05-31 16:36:57 +00:00
dmiller
14d5f4a600 New Nmap configure art 2015-05-27 19:48:59 +00:00
dmiller
3b5cdcc054 Fix configure art using wrong awk on Solaris (Fixes #131) 2015-05-26 13:36:20 +00:00
dmiller
580c2555ea Disable libnl by default when building with included libpcap
Libpcap only needs libnl for monitor-mode sniffing. Disabling it lets us
not worry about which -lnl or -lnl-3 linker argument to include in our
own LIBS, so Nmap builds properly no matter whether libnl is present or
not.
2015-03-03 17:52:12 +00:00
dmiller
7dacfcefa4 Prevent redeclaration of PCAP_NETMASK_UNKNOWN when using included libpcap 2014-12-30 22:38:32 +00:00
dmiller
6898478ae4 Let configure find the ascii art even when building in a different directory 2014-11-28 21:31:42 +00:00
dmiller
6271177458 Add an uninstall option to ndiff's setup.py 2014-11-13 13:24:41 +00:00
dmiller
80f18a2bc7 Add configure test for PCAP_NETMASK_UNKNOWN 2014-10-31 13:28:12 +00:00
dmiller
53135e80b9 Remove large files support from nse_fs
This was a hassle to support on AIX (several broken implmentations) and
the move to a more portable solution (using autoconfig macros) was also
troublesome. Upon review, nse_fs.cc only uses directory and link
functions, so large files support shouldn't matter. Stripping it out.
2014-09-15 13:59:01 +00:00
dmiller
9847a701e4 Make large files support conditional
nse_fs.cc was forcing large files support, and it was broken on AIX due
to this GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20366

Now we let autoconf handle setting the appropriate defines, and also
check for this particular bug before defining.
2014-09-09 05:04:17 +00:00
dmiller
467bc7d3a5 Correct an incompatibility (#define X 1 instead of /**/) 2014-08-26 20:02:24 +00:00
dmiller
cdc4260b6e Add templates/definitions for AC_DEFINEd symbols 2014-08-26 13:35:24 +00:00
batrick
de27812fe4 Revert libssh2 branch, for now.
$ svn merge -r r33518:r33513 .

and removed added scripts to the script.db.

The branch needs further refinement/testing for Windows and Mac before merging
into the trunk. There is also the latent EOF bug which is giving performance
issues.

Further work on the branch will continue in Devin's latest branch:

/nmap-exp/devin/nmap-libssh2
2014-08-18 03:12:00 +00:00
devin
63f997ed28 Merged libssh2-integration branch 2014-08-14 02:09:00 +00:00
d33tah
6327679f15 Fix whitespace in configure.ac. 2014-06-24 09:25:09 +00:00
jay
5f27fb12a6 The change in the configure script done in r32919 would be overwritten next time someone ran autoconf.
Changed configure.ac instead and ran autoconf 2.69 to regenerate configure.
2014-06-06 07:10:18 +00:00
dmiller
2e047114f6 Improve support for non-included libpcap in nsock 2014-01-26 16:38:22 +00:00
dmiller
393b4b21ee Add Ndiff tests to "make check" 2014-01-10 16:26:42 +00:00
dmiller
434efb1266 Cause make check to run nmap --script=unittest 2014-01-10 16:26:40 +00:00
dmiller
96141b431e Implement "make check" for zenmap
Currently, this just uses Python's unittest module to autodiscover
tests, which may skip some, but is better than nothing. TODO: move tests
to their own module and let the zenmap_check target test them directly.
2014-01-09 16:39:39 +00:00
dmiller
fc49e4ade6 Let "make check" only check appropriate things
When configuring --without-ncat, "make check" was trying to run Ncat's
test suite. This commit splits the check target into ncat_check and
nsock_check, and makes each conditional on that subsystem's configure
status.
2014-01-07 19:04:12 +00:00
dmiller
a379a8ba2b Use CPPFLAGS for -I, not CFLAGS or CXXFLAGS
CPPFLAGS is for the C Pre-Processor, and should be used for -I flags. In
a couple cases (nping, nmap) this was resulting in duplicate -Ilibpcap
arguments.
2013-12-11 23:17:42 +00:00
david
6b7b428cb9 Remove COMPAT_SRCS and COMPAT_OBJS.
These appear not to have any effect any more. They were initially used
to conditionally compile and link some files with replacements for
standard library functions, but seem not to have been used after r828
("Moved to nbase system for compatability funcs").
2013-05-13 04:21:11 +00:00
david
c4d08dc391 Correcly append to CXXFLAGS with --with-localdirs.
Patch by arrowdodger. http://seclists.org/nmap-dev/2012/q4/34.
2012-10-06 20:23:05 +00:00
batrick
000f6dc4d9 Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
2012-05-27 08:53:32 +00:00
david
685f5fa4c3 Define SOLARIS_BPF_PCAP_CAPTURE for Solaris 11.
Solaris 11 uses BPF packet capture rather than DLPI, which requires
different handling in many cases. The new preprocessor symbol tells when
this is the case; it is additional granularity on top of SOLARIS.
2012-04-07 08:07:41 +00:00
david
9bf94d5027 Don't config in nmap-update without APR and libsvn1. 2012-02-01 00:38:43 +00:00
david
899a1314d3 Add --with-apr using the APR_FIND_APR macro from Apache. 2012-02-01 00:38:41 +00:00
david
83f1d573c0 Add --with-subversion to configure scripts. 2012-02-01 00:38:39 +00:00
david
17aaa5b6f1 Allow svn include files to be in /usr/include or a subversion-1
subdirectory.
2011-12-19 05:16:20 +00:00
david
f8e4071164 Add configure/Makefile stuff for libsvn1 detection.
nmap-update is built optionally, only if libsvn1 is present.
2011-12-19 05:16:17 +00:00
david
bd0e7b9b32 Obey the user's command to use a system liblinear.
Do this even if a system copy doesn't appear to be installed. Now you
get an error when that happens instead of Nmap silently using its own
version.
2011-12-14 22:14:42 +00:00
djalal
bce8764047 Add a missing comma to separate liblinear AC_HELP_STRING macro
arguments.
2011-12-14 14:42:58 +00:00
david
4fb375b96d Check for libcrypt on AIX, otherwise static linking doesn't work. 2011-10-19 22:40:49 +00:00
david
8e832d6067 Move the HAVE_SOCKADDR_SA_LEN test to nbase. 2011-09-26 22:26:51 +00:00
david
9bf2ec3884 Merge from /nmap-exp/luis/nmap-os6.
svn merge --ignore-ancestry svn://svn.insecure.org/nmap@26621 svn://svn.insecure.org/nmap-exp/luis/nmap-os6

This is the IPv6 OS detection branch. "nmap -6 -O" works now, though at
this point it only prints fingerprints and not OS guesses, because we
need to collect more submissions.
2011-09-19 18:31:46 +00:00
david
4aa4a154f9 Merge from /nmap-exp/david/nmap-ipv6.
This is raw IPv6 packet support for most port and ping scans, Neighbor
Discovery, and traceroute.
2011-06-08 01:24:48 +00:00
david
ff7e265138 o Stopped linking against libnl when not necessary (when linking
dynamically with libpcap). Patch by Kevin Locke.
2011-05-13 21:59:09 +00:00
david
c4cda67b99 Show which libraries are the ones included with Nmap and which are from
the system by prefixing "nmap-" to the former in -V output. Patch by
Ambarisha B.

Hard-code the included/non-included libraries in nmap_winconfig.h:
2011-02-24 21:06:59 +00:00
david
82ec5be065 Assume that any user-provided liblua is recent enough when cross-compiling.
That this was a problem was reported by Nuno Gonçalves.
2010-09-29 16:09:26 +00:00