Commit graph

96 commits

Author SHA1 Message Date
dmiller
25a76d7876 Fix compilation with OpenSSL 1.0.1 2026-02-25 20:43:12 +00:00
dmiller
95d380b836 Bump copyright date to 2026 [skip ci] 2026-02-16 22:33:40 +00:00
dmiller
6db5c9cb85 Bump copyright date 2025-02-26 17:44:43 +00:00
dmiller
dd4a7906d6 Change Ncat default behavior to avoid TCP half-closed connections 2024-11-25 22:09:10 +00:00
dmiller
f72c0df772 Docs for -q option. Fixes #2422 2024-11-18 18:13:17 +00:00
dmiller
1db532209e Add -q option to Ncat 2024-11-16 17:55:50 +00:00
dmiller
98c6ec85af Don't test for SSL_set_alpn_protos, present in all supported OpenSSL versions 2024-04-02 21:32:24 +00:00
dmiller
ba26cc78f2 Replace check for DTLS_client_method with OPENSSL_NO_DTLS 2024-04-02 21:32:23 +00:00
dmiller
f999182d0f Bump date and reapply header templates 2024-02-28 18:46:45 +00:00
dmiller
6f6b2de214 Apply new license templates, bump copyright date 2023-04-14 17:11:46 +00:00
dmiller
6a9acb1f1a Make sure Unix socket path is null-terminated, per unix(7) 2022-10-14 00:58:22 +00:00
dmiller
4e6c8feb15 Enable multiple UDP connections in listen mode. Fixes #1223 2022-10-10 20:48:14 +00:00
dmiller
872f40491a Be smarter about single argument: if it's clearly not a port, assume it's a target 2022-09-21 19:17:21 +00:00
dmiller
04c4c70c77 Support decimal integer representation of target addresses. Fixes #375 2022-09-21 01:53:19 +00:00
dmiller
dd690b3e0b Bump copyright date and update some links [ci skip] 2022-02-18 17:38:46 +00:00
fyodor
3aec3f3a07 Update to latest copyright templates. Main change is that Insecure.Com LLC is now Nmap Software LLC 2021-11-23 16:04:37 +00:00
dmiller
c23d0f8345 Clarify braces around ifdefs 2021-07-19 23:06:49 +00:00
nnposter
f6b40614e4 Fix a Unix domain socket crash. Fixes #2154 2020-10-16 02:54:52 +00:00
dmiller
ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +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
1b1a85cc6b Clarify proxy type support in Ncat server. Fixes #1901 2020-02-03 20:18:44 +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
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
dmiller
824f9dcb2f Rearrange declarations to put all addrset functions in nbase.h, hide struct addrset internals. 2018-11-01 04:35:00 +00:00
nnposter
45229e0fbd Adds missing --no-shutdown description. Closes #1200 2018-04-26 19:44:58 +00:00
nnposter
68220585cd Selects correct default port for a given proxy type. Closes #1139 2018-03-05 01:53:34 +00:00
nnposter
a2c93e87d0 Remediates proxy port parsing hazards 2018-03-05 01:32:12 +00:00
fyodor
ff62300249 Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text 2018-01-28 21:18:17 +00:00
nnposter
49c88de5a1 Avoids potential integer overflows caused by excessive timer values
specified in Ncat command-line options. Fixes #1006
2017-09-23 23:42:15 +00:00
dmiller
fdfc36778b Add DTLS and ALPN support to Ncat. Closes #446 2017-07-29 05:55:30 +00:00
dmiller
9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
dmiller
4629f6d836 Ncat supports DNS failover, including fallback to IPv4 from IPv6 2017-03-16 21:54:26 +00:00
fyodor
4bd67aa2fb Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml 2016-12-14 00:12:23 +00:00
dmiller
fb56c01177 Fix a typo in getopt option string causing ncat's -n to consume the next option. 2016-09-21 20:04:16 +00:00
abhishek
d1a10dfc63 Adds zero-byte option(-z) for Ncat. Fixes #22 and #225 2016-07-19 10:07:58 +00:00
dmiller
6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
dmiller
1b4c4a9ef3 Add new --no-shutdown option to Ncat. Closes #151, fixes #142 2015-11-10 21:07:30 +00:00
dmiller
df5d9a7489 Fix a write overrun in the -g option to Ncat
Due to the use of do{}while; the bounds were checked *after* writing to
the array of source routes. Reproduce:
ncat $(perl -E 'say "-g 1.1.1.1 "x100') scanme.nmap.org 80
2015-06-23 03:59:41 +00:00
dmiller
68409b2226 Update copyright date to 2015 2015-06-03 13:01:29 +00:00
dmiller
40ca4cb396 Document --ssl-ciphers. Fixes #20 2015-01-11 23:38:00 +00:00
dmiller
2353d5a913 Allow user to specify SSL ciphersuite choices
Fixes #19
2014-12-11 19:07:04 +00:00