dmiller
6db5c9cb85
Bump copyright date
2025-02-26 17:44:43 +00:00
dmiller
8cb2701827
Do not busy-wait for next packet; select will tell us when to try again
2024-12-09 19:58:30 +00:00
dmiller
53d2a7587d
Ncat: Don't call SSL_shutdown if --no-shutdown
2024-12-06 18:41:57 +00:00
dmiller
1db532209e
Add -q option to Ncat
2024-11-16 17:55:50 +00:00
dmiller
14142ce874
Use nbase's usleep, not select, for delay timer in Ncat
2024-10-11 20:59:34 +00:00
dmiller
f999182d0f
Bump date and reapply header templates
2024-02-28 18:46:45 +00:00
dmiller
3be01efb1c
Handle special case SSL_ERROR_ZERO_RETURN == close_notify/EOF
2023-07-31 17:18:31 +00:00
dmiller
6cdc9ea14b
Ncat: catch SSL errors with 0 return value
2023-07-31 17:18:30 +00:00
dmiller
6f6b2de214
Apply new license templates, bump copyright date
2023-04-14 17:11:46 +00:00
dmiller
1251467f88
Detect send errors and shut down the connection when they happen
2022-10-14 00:58:23 +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
28bfe0dfd2
Use checked versions of FD_* macros. Closes #2202
2021-01-07 17:52:24 +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
dmiller
d5b57a8cd9
Replace ncat's custom hexdump function with the one from nbase.
2019-12-28 20:12:45 +00:00
dmiller
d639a53088
Bump copyright date in license headers
2019-05-28 21:36:04 +00:00
dmiller
21f51ff822
AF_VSOCK support. Closes #1075
2019-05-20 16:21:41 +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
453cd5ea53
Adds missing option initialization
2019-01-21 02:20: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
420618c0db
Check for SSL_ERROR_WANT_READ after SSL_write error. Possibly related: #1267
2018-07-19 05:39:02 +00:00
dmiller
72a68d8acd
Reset err, fix logical test. Fixes #1157
2018-03-22 16:31:30 +00:00
dmiller
8582bb5efe
Do a 2nd SSL_read if necessary for renegotiation.
...
This fix was previously applied to ncat_listen's read_socket in r36652
(ac8b866 ) as a fix for #773 . It didn't fully solve the problem, though,
since the fix should have been applied in ncat_core's fdinfo_recv, right
after the call to SSL_read. This commit moves the fix where it belongs,
which also simplifies the code.
Fixes #197 and #1049 .
2018-03-11 03:50:53 +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
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
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
46947d1183
Fix ncat -lU on OS X crashing in getnameinfo. Fixes #193 . Closes #192
2015-10-28 17:40:25 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +00:00
dmiller
2353d5a913
Allow user to specify SSL ciphersuite choices
...
Fixes #19
2014-12-11 19:07:04 +00:00
dmiller
5adfb3b1de
Update copyright notice to 2014
2014-08-16 01:52:33 +00:00
jay
8d5ec9e310
Reapply r33420, r33421. Fix a missing right parenthesis. https://xkcd.com/859/
2014-08-15 12:09:22 +00:00
fyodor
f6f59a7cd7
Auto regeneration with latest template files, etc.
2014-08-13 22:57:43 +00:00
jay
d4cf544df6
Fix a missing bracket at the end of the IMPORTANT NMAP LICENSE TERMS part in each file
2014-08-02 19:29:50 +00:00
dmiller
1575c63d7d
Spellcheck for Ncat, Nping source files
2014-02-20 21:22:22 +00:00
d33tah
9365d50cad
Fix coding style.
2014-02-12 09:50:27 +00:00
d33tah
b53187bad7
Apply a patch related to MSVC, reported by Gisle Vanem: http://seclists.org/nmap-dev/2014/q1/161
2014-02-12 09:49:39 +00:00
henri
21b7e3818d
[Ncat] Added support for socks5 and corresponding regression tests.
...
[Marek Lucaszuk, Petr Stodulka]
2014-02-09 14:10:04 +00:00
david
28599f1567
Revert r32301..r32306.
...
Committed accidentally.
2013-09-12 08:20:13 +00:00
david
8d796f8981
Add ncat_main.c facilities for -L. Currently still with the ugly
...
o.script name.
2013-09-12 08:12:11 +00:00
d33tah
ccd0c02a4c
Add a lacking space in the license comment. The command I used to do this is:
...
for file in `grep "* including the terms and conditions of this license text as well. \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well. \*/* including the terms and conditions of this license text as well. */g" -i $file; done
2013-09-11 19:06:20 +00:00
david
502339c92c
Revert to r32212.
...
My recent changes are causing problems when I try to integrate them into
the ncat-sa-take2 branch.
2013-09-06 06:16:13 +00:00
david
a16dd65503
Get rid of static lua-exec state.
...
Have lua_setup return the state it creates. Store the state created from
--lua-exec in the global options table. Use a temporary local for
--lua-exec-internal.
2013-09-05 20:35:49 +00:00
david
1c0e86596e
Split Windows/POSIX implementations of ncat_openlog.
...
O_BINARY doesn't exist on POSIX.
2013-08-16 21:33:41 +00:00
david
ec311d78c5
Open log files in binary mode.
...
This avoids CRLF translation on Windows.
2013-08-16 17:08:46 +00:00