1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00
Commit Graph

75 Commits

Author SHA1 Message Date
dmiller
6db5c9cb85 Bump copyright date 2025-02-26 17:44:43 +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
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
74e066d356 Another round of const 2021-04-27 19:22:12 +00:00
dmiller
d142d1f808 a few more consts 2021-04-26 15:04:47 +00:00
dmiller
1fd272f8dd const all the things! 2021-04-23 20:37:41 +00:00
dmiller
38671f2225 Enhance output to print proto, reason, and port list for ignored ports
Normal output will report count, protocol, and reason for each group of
ports in an ignored state (usually closed or filtered when there are
more than 25 ports in one of those states).

XML output will contain a consolidated list of port numbers as well.
2020-12-17 22:12:04 +00:00
dmiller
1566da56f8 Reduce/cache calls to getStateCounts 2020-12-15 21:45:56 +00:00
dmiller
ef8213a36c Reintegrate Nmap 7.90 release branch 2020-10-05 23:00:30 +00:00
dmiller
a668cdb9c7 Remove some unused windows headers and silence warnings 2019-05-29 16:39:05 +00:00
dmiller
d639a53088 Bump copyright date in license headers 2019-05-28 21:36:04 +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
9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
dmiller
339283d4b0 Remove some unused/overused includes 2017-04-19 14:53:24 +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
594756bd1d Be more clear: if it's ICMP Dest Unreach, say so. 2016-10-12 15:26:54 +00:00
dmiller
6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
dmiller
2570c860f9 Remove some unused includes of iostream 2015-06-22 14:01:16 +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
jay
f5e438b966 Got rid of (unnecessary) spaces in blank lines in *.cc and *.h files.
sed -i 's/^\s*$//'
2014-06-19 11:36:10 +00:00
d33tah
421176fc00 Get rid of double newline at the EOF I accidentally introduced in the
last commit.
2014-06-18 11:30:02 +00:00
d33tah
e3d1c178e3 Add newlines at the EOF in conformance to Daniel's coding standards
proposal. This only affects Nmap's root directory. We might also need to
modify the code which autogenerates Nmap's source code files such as IPv6
fingerprinting code.
2014-06-18 10:18:58 +00:00
dmiller
3f0d0c16f9 Spellcheck on Nmap, Nsock, Nbase source files 2014-02-20 18:44:12 +00:00
d33tah
4816358475 Replace all tab characters at the beginnings of lines with 8 spaces.
Mixed indentation annoyed my vim.
2014-01-05 19:14:26 +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
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
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
3e50107f23 Use less memory for ip_addr in port_reason.
This was a sockaddr_storage, which is 128 bytes. This is a lot for a
structure that is part of Port. It is now a union of sockaddr_in and
sockaddr_in6, which is 28 bytes. A new set_ip_addr method sets the union
from a sockaddr_storage, where plain assignment was used before.

The sockaddr_storage was introduced in r23778, the first big IPv6 merge.
2012-06-26 03:23:14 +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
weilin
1dcf652410 Added ND ping for local IPv6 nets, merging from /nmap-exp/weilin/nmap-nd. 2011-07-19 02:31:54 +00:00
david
51c82aaccf Add ICMPv6 Parameter Problem reason code. 2011-06-14 19:46:50 +00:00
david
257fe7bd84 Fix the singular for ER_PROTOUNREACH. 2011-06-14 19:46:45 +00:00
david
4aa4a154f9 Merge from /nmap-exp/david/nmap-ipv6.
This is raw IPv6 packet support for most port and ping scans, Neighbor
Discovery, and traceroute.
2011-06-08 01:24:48 +00:00
colin
95a1cb52de Added a dropped reason to portreasons.cc 2011-05-31 00:08:37 +00:00
david
83c19abadc Handle ICMP_ECHO_REPLY in icmp_to_reason. 2011-05-29 06:18:57 +00:00
david
fa3d5f678a Swap the order of singular and plural in reason string constructor.
All the definitions were backwards.
2011-05-29 06:18:57 +00:00
colin
5d3e0e688c Portreasons Restructuring. icmpt_to_reason added. 2011-05-26 19:46:29 +00:00
colin
2d90b04b62 Whitespace cleanup 2011-05-26 19:40:25 +00:00
david
fc1f3a7ed1 Fix off-by-one array alignment in port reasons.
The affected codes were those between ER_ECHOREPLY and
ER_ADDRESSMASKREPLY.

 # symbol               reason_text      reason_pl_text
-- ------               -----------      --------------
12 ER_ECHOREPLY         echo-reply       echo-replies
13 --                   unknown          unknowns
14 ER_DESTUNREACH       unknown          unknowns
15 ER_SOURCEQUENCH      dest-unreach     dest-unreaches
16 ER_NETPROHIBITED     source-quench    source-quenches
17 ER_HOSTPROHIBITED    net-prohibited   net-prohibiteds
18 --                   host-prohibited  host-prohibiteds
19 --                   unknown          unknowns
20 ER_ADMINPROHIBITED   unknown          unknowns
21 --                   admin-prohibited admin-prohibiteds
22 ER_TIMEEXCEEDED      unknown          unknowns
23 --                   time-exceeded    time-exceededs
24 --                   unknown          unknowns
25 ER_TIMESTAMPREPLY    unknown          unknowns
26 --                   timestamp-reply  timestamp-replies
27 --                   unknown          unknowns
28 --                   unknown          unknowns
29 --                   unknown          unknowns
30 ER_ADDRESSMASKREPLY  addressmask-reply addressmask-replies
2011-04-08 20:18:55 +00:00
david
544753fb4f Add missing final entry in reason_pl_text. 2011-04-08 07:34:28 +00:00
fyodor
86e59a8c4e Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
david
d4e49f1075 Rearrange some headers to make sure that out nbase errno defines are seen early,
avoiding warning about symbol redefinitions. This is mostly moving "nmap.h" to
the top of the list.
2010-11-04 22:43:00 +00:00