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

163 Commits

Author SHA1 Message Date
dmiller
7d57e7d6b1 Update Lua to 5.4.4 2023-05-01 17:44:45 +00:00
dmiller
24b26317c7 Merge #2088: Update Zenmap to Python 3 and PyGObject
Note: Ndiff build will be broken until subsequent changes are made.
Deprecation warnings will need to be addressed in future changes.
Closes #2088
2022-12-07 20:34:03 +00:00
dmiller
aa1f5b42f7 Avoid extra check for EC crypto, use OpenSSL-defined macros 2022-08-31 13:43:38 +00:00
nnposter
5afd9c60e6 Validate OpenSSL libraries even in custom locations
Fixes #2420, closes #2436
2022-03-03 02:58:32 +00:00
dmiller
210adf941e Remove nmap-update
This feature was never publicly released, and has not been distributed
in our binary builds for a couple versions now. It needed to be removed
in order to reduce the number of places Nmap looks for data files. See #2051
2020-08-27 19:13:31 +00:00
dmiller
30110f911e Add needed header checks, clean up unused ones. See #1887 2020-01-12 06:09:37 +00:00
dmiller
ec30dbab3f Actually use custom libssh2 lib/header path if given 2019-10-07 04:04:25 +00:00
dmiller
bbdac0e8fe Don't make libz support contingent on libssh2, since http.lua uses it now 2019-05-24 18:28:49 +00:00
nnposter
12f1894f97 Removes leftovers from past tests for PCAP_NETMASK_UNKNOWN
Test first implemented in r33774 (80f18a2bc7),
finally removed in r37527 (f8004b792c)
2019-02-19 01:47:13 +00:00
dmiller
a0f55317f3 Fix inclusion of Lua headers. See #1355
We will need to do something similar for Ncat.
2018-10-16 05:18:31 +00:00
dmiller
f836c164e0 Define LUA_INCLUDED when configuring --with-liblua=included 2018-10-16 05:18:29 +00:00
dmiller
e48361523b Fix the check for pcap_set_immediate_mode, which was failing every time. 2018-10-04 17:35:53 +00:00
dmiller
d6a04c465e Call pcap_set_immediate_mode to get results back immediately. 2018-08-21 04:51:33 +00:00
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
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