1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 18:39:03 +00:00
Commit Graph

410 Commits

Author SHA1 Message Date
dmiller
74e9104173 OpenSSL 1.1.X renamed libs: libeay32->libcrypto ssleay32->libssl 2020-09-03 17:49:21 +00:00
nnposter
7d6cf3ae0c Implementation of TLS SNI override in Ncat
Closes #2087, closes #1928, fixes #1927, fixes #1974
2020-08-22 15:54:14 +00:00
nnposter
535e6382d4 Implement Ncat proxy creds via environment variable. Fixes #2060, closes #2073 2020-07-12 00:28:16 +00:00
dmiller
0d613e3b4b Allow --ssl with --proxy for ncat. Fixes #2065 2020-06-17 22:42:49 +00:00
dmiller
1b1a85cc6b Clarify proxy type support in Ncat server. Fixes #1901 2020-02-03 20:18:44 +00:00
dmiller
a66c287b06 Loop over client FDs, avoiding unused ones
As the FIXME comment had said, looping over every integer up to maxfd is
inefficient, especially if FDs are not continuous. This change has the
added benefit of skipping a call to get_fdinfo(), which also loops over
all the client FDs looking for a particular value. Unlikely to be a huge
performance gain, but the code is cleaner. #1834 - FIXME comment.
2020-01-02 16:04:30 +00:00
dmiller
f3f3a8367e Don't check for char greater than CHAR_MAX. #1834 2019-12-30 16:14:09 +00:00
dmiller
866dc375e4 Correctly print VM socket address. Closes #1868 2019-12-30 00:53:23 +00:00
dmiller
1059e25a7b Avoid hiding global with parameter. #1834 2019-12-29 06:18:33 +00:00
dmiller
d5b57a8cd9 Replace ncat's custom hexdump function with the one from nbase. 2019-12-28 20:12:45 +00:00
dmiller
be0818a664 Use different variable name for local vs param. #1834 2019-12-25 20:01:18 +00:00
dmiller
bb346e24c0 Reorder AC_CHECK_FUNCS and AC_SEARCH_LIBS for future safety. 2019-11-14 17:34:20 +00:00
nnposter
9e8852a7c7 Rectify undefined behavior of out-of-range shift op
Fixes #1717, closes #1718
2019-09-03 21:56:31 +00:00
dmiller
862054bf5d Always delete old IOD before attempting reconnect
Trying to connect on the same IOD was leaking sockets, and may have
contributed to high CPU usage on Windows (See #1688)
2019-08-15 18:31:59 +00:00
dmiller
944963dcdc regen docs [ci skip] 2019-08-15 18:31:58 +00:00
dmiller
a36a34aa69 Bump version to 7.80SVN after release 2019-08-14 18:56:24 +00:00
dmiller
f05296d7f7 Merge changes from Nmap 7.80 release branch 2019-08-11 05:30:19 +00:00
dmiller
a668cdb9c7 Remove some unused windows headers and silence warnings 2019-05-29 16:39:05 +00:00
dmiller
274b8f979c Remove checks and unnecessary includes of sys/timeb.h (handled within nbase) 2019-05-29 13:22:13 +00:00
dmiller
d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +00:00
nnposter
dd77fa1dac Further clean-up of port parsing in ncat 2019-05-25 23:57:52 +00:00
dmiller
0ffdd07894 Use long long for prevalidated (negative ok) ports and unsigned int for post-validated 2019-05-24 16:14:44 +00:00
dmiller
c661979637 Use explicit integer widths for port numbers.
Avoids problems on 32-bit systems:
21f51ff822 (r33609264)
2019-05-22 02:26:42 +00:00
dmiller
21f51ff822 AF_VSOCK support. Closes #1075 2019-05-20 16:21:41 +00:00
dmiller
3de7a0177b Allow connections to port 0. Fixes #1560 2019-04-18 16:18:16 +00:00
nnposter
504e9d767e Mandatory use of square-bracket notation for literal IPv6 proxy address
Closes #1441
2019-02-23 23:23:47 +00:00
nnposter
dbed133fc5 Ability to control hostname resolution for ncat proxy destinations
Closes #1214, fixes #1230, closes #1439
2019-02-23 22:34:13 +00:00
nnposter
8e7bcbbe4c Normalizes index references 2019-01-21 23:43:05 +00:00
nnposter
bdf8830296 Adds missing option description 2019-01-21 23:09:26 +00:00
nnposter
b1f7158101 Replaces square brackets with appropriate XML tags 2019-01-21 21:17:56 +00:00
nnposter
88b4a4b65e Adds missing initialization 2019-01-21 03:25:54 +00:00
nnposter
453cd5ea53 Adds missing option initialization 2019-01-21 02:20:29 +00:00
nnposter
735abe6c3f Cleans up error handling 2019-01-21 02:19:11 +00:00
nnposter
cb9559b342 Rectifies SOCKS5 protocol field overrun hazards 2019-01-19 23:50:18 +00:00
nnposter
6bb36b1ca2 Shortens the line to prevent an extraneous empty line 2019-01-19 23:48:01 +00:00
nnposter
4b4d67d4fb Strips off tabs and trailing spaces 2019-01-19 22:59:37 +00:00
nnposter
25db5fbb0d Increases ncat temporary RSA key size to 2048 bits
This resolves a compatibility issue with OpenSSL library configured with
security level 2, as seen on current Debian or Kali. Closes #1310, closes #1409
2018-12-20 02:04:02 +00:00
fyodor
434de730f5 Update copyright year for Ncat and Ncat Guide 2018-12-09 02:00:55 +00:00
dmiller
5c83c3d2a5 Fixes for Windows build from Lua header rearrangements 2018-11-08 04:55:29 +00:00
dmiller
824f9dcb2f Rearrange declarations to put all addrset functions in nbase.h, hide struct addrset internals. 2018-11-01 04:35:00 +00:00
dmiller
86d1f7e66e Don't quit on ERROR_IO_INCOMPLETE. Closes #1372 2018-10-26 20:50:58 +00:00
dmiller
e3d08f7e94 Avoid shutting down SSL descriptor twice. Fixes #1365 2018-10-25 04:53:59 +00:00
dmiller
d8c1d935f1 Move Npcap headers and lib stuff to nmap-mswin32-aux 2018-10-18 03:28:39 +00:00
dmiller
36e9588d5e Update cert store used by Ncat on some platforms 2018-10-16 14:47:28 +00:00
dmiller
33dd005714 Similar improvements to finding Lua for Ncat 2018-10-16 14:34:39 +00:00
fyodor
b3cece27e0 Update Npcap URL to new SSL version 2018-09-28 23:42:55 +00:00
dmiller
4824a5a074 Use Nsock error string instead of socket_strerror for timeouts; wasn't working on Windows. Fixes #1324 2018-09-17 15:29:56 +00:00
fyodor
02bad7c702 Change refentry id to avoid duplicate id complaint from xsltproc 2018-09-04 03:34:46 +00:00
dmiller
7629f3b997 Fix a typo in a previous fix 2018-08-21 19:12:36 +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