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
dmiller
e4417d132e
Fix a stack overrun in ncat's -g option
...
Because of the postincrement and <= operators, the parsing could write
as many as 10 struct in_addr into an array allocated for only 8.
Execution would stop because of a later check. Instead, we use
preincrement and < operator to do bounds checking, and check for the
"too many specified" condition with another call to strtok (which should
return NULL if there were no more hops to parse)
2014-11-11 22:15:50 +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
jay
742b267c67
When Ncat is compiled without OpenSSL and if --ssl argument(s) are given, then show error message that OpenSSL was not compiled in.
2014-05-22 10:22:37 +00:00
dmiller
1575c63d7d
Spellcheck for Ncat, Nping source files
2014-02-20 21:22:22 +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
david
42ce2bc9cc
Apply my refactoring changes from r31989.
2013-09-12 08:12:03 +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
3ada0d56c3
Don't use global o.cmdexec in lua_setup.
...
Pass the name of the file to read as a parameter.
2013-09-05 20:35:50 +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
68dc04479d
Add --test option.
...
This will be used to control the printing of test messages that say when
a connection is ready to use, to reduce delays in ncat-test.
2013-08-16 08:02:50 +00:00
david
fef7fc0e6d
Hide new logdebug messages unless o.debug.
2013-08-06 03:59:00 +00:00
david
4f2f09d502
Make failure to resolve "::" non-fatal.
...
David Millis noticed this error on Windows XP with IPv6 disabled:
Ncat: Failed to resolve default IPv6 address: No such host is known. . QUITTING.
http://seclists.org/nmap-dev/2013/q3/96
2013-08-06 01:59:39 +00:00
fyodor
6e01ecd452
Update an email address, fix a typo, and slightly reword a sentence.
2013-07-30 00:02:00 +00:00