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
de17b51988
Add missing stddef.h include for offsetof
2022-12-12 21:01:35 +00:00
dmiller
1251467f88
Detect send errors and shut down the connection when they happen
2022-10-14 00:58:23 +00:00
dmiller
349da3b98a
Make removing fd from fd_list_t a little more efficient
2022-10-14 00:58:22 +00:00
dmiller
ca691d2789
Simplify/unify target string representation
2022-10-14 00:58:21 +00:00
dmiller
c5a7c60381
Silence some code analysis warnings
2022-08-29 17:09:47 +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
ef8213a36c
Reintegrate Nmap 7.90 release branch
2020-10-05 23:00:30 +00:00
dmiller
d639a53088
Bump copyright date in license headers
2019-05-28 21:36:04 +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
824f9dcb2f
Rearrange declarations to put all addrset functions in nbase.h, hide struct addrset internals.
2018-11-01 04:35:00 +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
d0718cd631
Get correct errors from Windows on failure (errno is not set). See #978
2017-10-01 02:50:05 +00:00
dmiller
17c8988817
Add required cast on malloc; VS2013 errors.
2017-07-30 04:09:48 +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
6e33d6ac3c
Bump date in copyright headers
2016-04-04 15:38:44 +00:00
fyodor
5ea7373a25
Fix compilation on systems for which HAVE_SOCKADDR_SA_LEN is not defined. I don't think this issue affects any released version as it seems to have been introduced on r34671. Reported by Schuh Andreas
2015-06-20 21:56:01 +00:00
dmiller
d43967bf99
Fix calculation of namelen param to bind in Ncat. Fixes #166
2015-06-18 04:33:58 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +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
d33tah
2fde134f36
fflush stderr in all messages sent by Ncat. This makes
...
it more comfortable to test Ncat under Cygwin, which
doesn't fflush even if the message contains \n.
(At least not in my ssh+screen+zsh combination).
2013-09-12 14:23:24 +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
f1cfaba9e2
Output a LISTEN test message when do_listen is successful.
2013-08-16 08:02:55 +00:00
david
e2f4833fd1
Add logtest function.
2013-08-16 08:02:52 +00:00
david
573cd469ab
Allow do_listen to return an error.
2013-08-06 02:09:15 +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
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
david
63d9e8b5d5
Use ncat_assert in place of assert everywhere.
2013-01-04 18:59:47 +00:00
david
93b978fba8
Merge 30432:30436 from /nmap-exp/david/ipv6-ranges.
...
This is simple IPv6 unicast ranges. For example,
nmap -6 en.wikipedia.org/120 -sn
The other, more complicated part of this overall change is automatic
multicast scanning of large local subnets. That part isn't done yet.
2012-12-19 01:10:39 +00:00
fyodor
6a42ef47c0
Update the Nmap and Nsock source code headers to note new Nmap dev mailing list email address and a better URL for Nmap license.
2012-12-06 01:21:42 +00:00
david
6531a19892
Implementation of UNIX-domain sockets for Ncat
...
Implementation of UNIX sockets for Ncat using
also UNIX-domain sockets functionality from
Nsock library. Added new argument "-U".
2012-11-12 20:44:40 +00:00
david
3931741c1d
Fix format string errors in Ncat logging functions.
2012-08-28 14:30:08 +00:00
henri
f66e0fcfb9
Ensure that inheritable_socket() returned a valid FD before passing it to Setsockopt().
2012-07-12 17:17:46 +00:00
david
607b209fd4
Whitespace.
...
indent -kr -i4 -nut -l0 -ss -T size_t *.c
with manual adjustments.
2012-06-19 00:21:27 +00:00
david
ed35bfcfc9
Add an #ifdef guard around the use of IPV6_V6ONLY.
...
This definition is missing on Solaris 9. This was initially reported by
Dagobert Michelsen.
http://seclists.org/nmap-dev/2011/q4/15
2012-04-10 03:19:39 +00:00
fyodor
684f42c4ad
One more adjustment to the license text. Notes that Zenmap, Ncat, and Nping use this license. Note that contributions made directly in the src repository are treated the same as those in the mailing list.
2012-03-01 06:53:35 +00:00
fyodor
e96a7b7b24
Update the headers for each code file. This updates code copyright dates to 2012, notes the awesome NSE in the list of technology, and slightly rewords the derivative works clarification
2012-03-01 06:32:23 +00:00
david
a725ad4248
Whitespace.
2011-12-22 02:37:40 +00:00
david
ed2ba4e168
Copy nping, nsock, nbase, zenmap, ncat from their homes in /.
...
If you have trouble updating after this revision you need to follow
these instructions. You have probably just seen an error like this:
svn: URL 'svn://svn.insecure.org/nping' of existing directory 'nping'
does not match expected URL 'svn://svn.insecure.org/nmap/nping'
This is caused by the replacement of SVN externals.
Here's what you need to do. First, save any local changes you might have
in the nping, nsock, nbase, ncat, and zenmap directories. (For example
by running "cd nping; svn diff > ../nping.diff".) If you don't have any
local changes you can skip this step.
Then run these commands:
rm -rf nping/ nsock/ nbase/ ncat/ zenmap/
svn update
svn cleanup
If all else fails, you can just delete your whole working directory and
check out anew:
svn co --username guest --password "" svn://svn.insecure.org/nmap
There may be further discussion in the mailing list thread at
http://seclists.org/nmap-dev/2011/q4/303 .
2011-11-16 21:49:44 +00:00