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
edad9c059c
Add missing braces. Fixes #2679
2023-07-20 16:21:23 +00:00
dmiller
8dbdaa7b99
Permit -p wildcards to match 'unknown'
2023-06-24 01:53:00 +00:00
dmiller
38c113f820
Use string_pool for service names so they aren't freed by Lua. See #2657
2023-06-16 22:19:20 +00:00
dmiller
c13ce4536e
Handle 'unknown' service name in -p. Fixes #2658
2023-06-16 18:20:16 +00:00
dmiller
6f6b2de214
Apply new license templates, bump copyright date
2023-04-14 17:11:46 +00:00
dmiller
473e9afea5
Fix VS2019 warning regarding signature of operator!=
2023-01-05 23:45:04 +00:00
dmiller
188a3acade
Clarify and optimize top-ports checking
2022-10-31 17:27:56 +00:00
dmiller
119376c0c4
Simplify service table key type
2022-10-31 17:27:55 +00:00
dmiller
b7c76ea08a
Don't bother allocating space for 'unknown' string.
2022-09-16 01:10:20 +00:00
dmiller
3a32543db0
Key service table on protocol number, not name
2022-09-16 01:10:19 +00:00
dmiller
721912c113
fast caseless comparison of proto names
2022-09-16 01:10:18 +00:00
dmiller
cc5cd5f2c6
Define our own servent/protoent structs with const members.
2022-09-12 16:59:35 +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
8a6e1fbb6d
Remove code for pre-NT Windows.
2021-07-21 15:45:45 +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
ef2bafb09c
Report system error message when fopen fails
2020-12-28 17:51:16 +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
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
24f6cec25a
Move scan lists structs and functions to scan_lists files.
2017-04-19 04:14:43 +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
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
3b59b0ae16
Added --exclude-ports option to Nmap
2014-07-04 05:47:11 +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
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
a0601febeb
Store port numbers in host byte order in number-to-service mapping.
...
I don't know why these were in network byte order. Every single
interaction had a htons on entrance and ntohs on exit.
2012-09-25 05:24:16 +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
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
david
7653cf7d4a
Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match.
2010-10-30 03:01:50 +00:00
fyodor
1aecac420f
Update copyright year from 2009 to 2010
2010-05-03 21:20:25 +00:00
david
49e36a57f3
Add a function free_services that tells Nmap to reload the nmap-services
...
file again when it needs it. This is called from nmap_free_mem, because
cp_free (also called by nmap_free_mem) invalidates members of the
services data structures.
In normal use this doesn't matter. It only matters when reinvoking the
engine several times with --interactive.
2010-02-26 22:29:03 +00:00
josh
df71e36084
Updated uses of the ctype function to support explict casting of the arguments
...
to (int)(unsigned char).
2009-08-06 15:10:00 +00:00
daniel
50830f7488
o Added initial SCTP port scanning support to Nmap. SCTP is
...
a layer 4 protocol used mostly for telephony related applications.
This brings the following new features:
o SCTP INIT chunk port scan (-sY): open ports return an INIT-ACK
chunk, closed ones an ABORT chunk. This is the SCTP equivalent
of a TCP SYN stealth scan.
o SCTP COOKIE-ECHO chunk port scan (-sZ): open ports are silent,
closed ports return an ABORT chunk.
o SCTP INIT chunk ping probes (-PY): host discovery using SCTP
INIT chunk packets.
o SCTP-specific IP protocol scan (-sO -p sctp).
o SCTP-specific traceroute support (--traceroute).
o The ability to use the deprecated Adler32 algorithm as specified
in RFC 2960 instead of CRC32C from RFC 4960 (--adler32).
o 42 well-known SCTP ports were added to the nmap-services file.
Part of the work on SCTP support was kindly sponsored by
Compass Security AG, Switzerland. [Daniel Roethlisberger]
2009-06-03 23:15:45 +00:00