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

169 Commits

Author SHA1 Message Date
dmiller
4deb24fec4 Change configure check for libpcap to require pcap_create (libpcap 1.0.0 or later). See #1291 2018-08-20 22:08:55 +00:00
dmiller
53e4e92e32 Fix libssh2 detection. Fixes #1058. Closes #1059 2017-11-01 22:55:49 +00:00
dmiller
3f8baf17b2 Mark something that doesn't work. 2017-07-31 19:09:47 +00:00
dmiller
011ebd731b Fixes to configure for libssh2+libz 2017-07-31 16:56:48 +00:00
evangel
0c142333bb Merged gsoc-ssh branch. Closes #910 2017-06-29 21:27:35 +00:00
dmiller
bace81fa5c Add check for stdint.h needed by nse_utility.h 2016-09-06 18:14:57 +00:00
vincent
a2b5a1a5f9 Check for EVP_PKEY_get1_EC_KEY(), based on @jer-gentoo's work 2016-08-02 12:20:06 +00:00
dmiller
9058596e1e Separate CFLAGS from CXXFLAGS. Was breaking with -std=c++11 on clang 2016-07-06 16:20:56 +00:00
batrick
7f5ec526fe Merge branch 'nse-lua53'
Lua 5.3 adds several awesome features of particular interest to nmap including
bitwise operators and integers, a utf8 library, and standard binary pack/unpack
functions.

In addition to adding Lua 5.3, this branch changes:

o Complete removal of the NSE bit library (in C), It has been replaced with
  a new Lua library wrapping Lua 5.3's bit-wise operators.

o Complete removal of the NSE bin library (in C). It has been replaced with a
  new Lua library wrapping Lua 5.3's string.pack|unpack functions.

o The bin.pack "B" format specifier (which has never worked correctly) is
  unimplemented.  All scripts/libraries which use it have been updated. Most
  usage of this option was to allow string based bit-wise operations which are no
  longer necessary now that Lua 5.3 provides integers and bit-wise operators.

o The base32/base64 libraries have been reimplemented using Lua 5.3's new
  bitwise operators. (This library was the main user of the bin.pack "B" format
  specifier.)

o A new "bits" library has been added for common bit hacks. Currently only has
  a reverse function.

Thanks to David Fifield, Daniel Miller, Jacek Wielemborek, and  Paulino
Calderon for testing this branch.
2016-07-02 17:02:27 +00:00
dmiller
799048e9fc Avoid linking to libsvn_client-1 except for nmap-update 2016-04-07 13:50:13 +00:00
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
0297e68141 Regenerate configure 2015-05-27 19:50:07 +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
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
dmiller
add985a2d1 Update configure from configure.ac after r33055 (whitespace) 2014-06-26 02:53:55 +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
jay
b0303ac883 Add randomizer to configure script so that a random ASCII art from docs/leet-nmap-ascii-art*.txt is printed 2014-05-31 10:34:11 +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
44e251306e Re-autoconf the configure scripts (using 2.69) 2013-12-11 23:17:47 +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
fyodor
ea05ae2586 Latest auto-generated files in prep for upcoming 6.20BETA1 release 2012-11-16 00:54:16 +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
david
7e5c9a8914 Regen with Autoconf 2.68 and aclocal 1.11.6.
for DIR in . nbase ncat nsock/src nping;
	do (echo $DIR; cd $DIR && aclocal --force && autoconf --force);
done
2012-09-19 16:41:35 +00:00
david
cb68c85409 Don't use exit in PCAP_IS_SUITABLE.
John Spencer reported that musl libc doesn't automatically include
<stdlib.h>, as Glibc does, so the configure check was wrongly failing.

conftest.c: In function 'main':
conftest.c:35:5: error: implicit declaration of function 'exit'
2012-09-08 19:44:24 +00:00
fyodor
5fc6887c01 Regenerate configure. This regenerated version seems to include more of the Lua 5.2 changes than appear in trunk 2012-06-16 19:44:25 +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