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
fyodor
83fb10ec56
Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements).
2013-07-28 22:05:05 +00:00
d33tah
f5a142b0d4
make --lua-exec-internal switch STDOUT to binary mode. (this was merged from nmap-exp/d33tah/lua-exec-examples/ncat, r31481)
2013-07-23 12:36:09 +00:00
d33tah
5ebd15fb91
coding style fix
2013-07-04 20:07:04 +00:00
d33tah
b62709eb20
merging in the --lua-exec feature for ncat.
2013-07-02 16:56:03 +00:00
david
5c4207f009
Ncat: Implement idle timeout option for listen mode
...
This patch implements "-i" (idle timeout) option for listen mode.
Signed-off-by: Tomas Hozza <thozza@redhat.com >
2013-06-30 06:08:43 +00:00
henri
7f9f75f6b1
Updated ncat documentation so that it doesn't prevent users from using -v
...
more than three times.
The current rules are:
-v --> verbose mode
-vv... --> debug mode
Debug can be higher than two (use debug>=6 for full nsock logs for instance).
2013-06-24 21:06:19 +00:00
david
d1eae0196a
Tabs to spaces.
2013-06-19 15:19:09 +00:00
d33tah
e9c6e5b925
revert the previous commit, git-svn pushed it to the wrong directory.
2013-06-13 15:10:07 +00:00
d33tah
3e3e87f462
* create d33tah directory at nmap-exp
...
* create a branch ncat-lua in nmap-exp/d33tah based on current nmap trunk
* merge in patches from github into ncat-lua branch
2013-06-13 15:04:23 +00:00
david
fc80b4573c
Track proxy socklen and pass it on to targetlen.
...
Patch by Joachim Henke.
http://seclists.org/nmap-dev/2013/q1/413
2013-05-05 10:43:53 +00:00
david
84773c74a5
Switch to an o.proto option instead of o.udp and o.sctp.
...
This eliminates the ambiguity that could exist when, say, both o.udp and
o.sctp were both set. The code would use whichever it happened to test
first. This also makes TCP mode explicit with IPPROTO_TCP.
2013-02-23 05:56:00 +00:00