dmiller
6e33d6ac3c
Bump date in copyright headers
2016-04-04 15:38:44 +00:00
david
ea400e1ff0
Typo fix: "nall"→"null".
2016-01-04 22:10:57 +00:00
dmiller
7300cde374
Avoid segfault with vasprintf("%s", NULL). http://seclists.org/nmap-dev/2016/q1/4
2016-01-04 21:44:47 +00:00
dmiller
37d517b32e
Use XP compatibility SDK, because users are complaining
2015-11-10 16:47:35 +00:00
dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +00:00
gio
730c9936bb
Keep nbase compatible with old C compilers
2015-08-18 16:21:25 +00:00
gio
a44030ae23
Add tests subdir and have DNS test compile and run
2015-07-30 06:27:30 +00:00
gio
15840e1793
Move sockadd_storage helpers functions to appropriate files
2015-07-30 06:27:13 +00:00
gio
2d1251329f
Add ss_family to sockaddr_storage and align to 64bit
2015-07-09 09:26:11 +00:00
dmiller
2056a30a76
Fix compilation on VS2010. Closes #183
2015-07-08 11:58:57 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +00:00
dmiller
fbbb64a190
Silence warnings: 'Makefile.in seems to ignore the --datarootdir setting'
2015-03-11 04:14:24 +00:00
dmiller
0952bed032
Merge final changes to support VS2013 build
...
Changes:
* Fix a collision of the name PS_NONE with a different constant in shlobj.h
* Update solution and project files for VS2013
* Update the NSIS installer to reference the VC 2013 redistributable
2015-01-17 04:35:01 +00:00
dmiller
fc99bed706
Don't use unnecessary parens with __declspec
...
Reported by nnposter, this broke on VS2010. Pretty sure this was just a
simple mistake in the first place. Fixes #33
2015-01-01 13:39:47 +00:00
dmiller
85bb2d388d
Define a NORETURN macro
2014-11-17 13:25:32 +00:00
dmiller
a067bc25bc
Let MSVC know about noreturn attribute to help with code analysis
2014-11-12 13:29:40 +00:00
dmiller
877eee826c
Fix compilation on VS2013
2014-11-11 18:56:06 +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
eab18b4522
Get rid of stringisprintable() function - this wasn't used anywhere in the code, yet it was linked into the executable.
2014-04-29 10:56:28 +00:00
david
31e4350dba
Make the argument to checked_fd_isset non-const.
...
I got this error compiling on OS X 10.6:
In file included from netutil.cc:132:
../nbase/nbase.h: In function 'int checked_fd_isset(int, const fd_set*)':
../nbase/nbase.h:385: error: invalid conversion from 'const fd_set*' to 'fd_set*'
../nbase/nbase.h:385: error: initializing argument 2 of 'int __darwin_fd_isset(int, fd_set*)'
netutil.cc: In function 'int send_ipv6_ip(const sockaddr_in6*, const unsigned char*, size_t)':
netutil.cc:3846: warning: unused variable 'tclass'
make[2]: *** [netutil.o] Error 1
make[1]: *** [netutil_build] Error 2
2014-04-11 05:08:30 +00:00
henri
f20d84f9c1
Workaround to compile inline functions with MSVC v16 [Patch from Gisle Vanem].
2014-02-24 13:16:24 +00:00
dmiller
3f0d0c16f9
Spellcheck on Nmap, Nsock, Nbase source files
2014-02-20 18:44:12 +00:00
dmiller
c9714990c7
Remove trailing whitespace from C/C++ files
...
https://secwiki.org/w/Nmap/Code_Standards
2014-02-12 20:25:51 +00:00
dmiller
2896c21989
Convert some file encodings from ISO-8859-2 to UTF-8
...
https://secwiki.org/w/Nmap/Code_Standards
2014-02-12 19:49:43 +00:00
henri
64fb5b3482
Added safe fd_set operations.
...
Only FD_SET and FD_CLR were available. Added a FD_ISSET equivalent.
Implemented them as static inline instead of macros for consistency.
These functions abort() if the FD number is higher than FD_SETSIZE
(except on windows where no check is performed).
2014-01-30 19:02:57 +00:00
dmiller
44e251306e
Re-autoconf the configure scripts (using 2.69)
2013-12-11 23:17:47 +00:00
dmiller
a379a8ba2b
Use CPPFLAGS for -I, not CFLAGS or CXXFLAGS
...
CPPFLAGS is for the C Pre-Processor, and should be used for -I flags. In
a couple cases (nping, nmap) this was resulting in duplicate -Ilibpcap
arguments.
2013-12-11 23:17:42 +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
d33tah
384b9a1f8e
Fix the syntax error from the previous commit (tried to compile under Linux).
2013-08-09 17:16:48 +00:00
d33tah
ece95926cb
Fix the silly mistake that happened when copying code (using wrong variables).
2013-08-09 17:07:12 +00:00
d33tah
c68114f9bc
Change the usleep call to match the other one.
2013-08-09 16:59:30 +00:00
d33tah
9f335c6bdb
Merge in the fix for fselect Windows bug causing a CPU-intensive loop when we only select on stdin.
2013-08-09 13:02:43 +00:00
d33tah
b2187f6749
Remove most tabs in nbase. This probably needs some fixes, but the tabs really confused my vim.
2013-08-09 00:16:52 +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
henri
63aa6d83fb
Improved error handling in socket_block/unblock.
2013-07-18 20:29:29 +00:00
david
4fba0e5a9b
Whitespace.
2013-07-03 04:30:41 +00:00
d33tah
b62709eb20
merging in the --lua-exec feature for ncat.
2013-07-02 16:56:03 +00:00
d33tah
85e52bf928
fix some typos in comments I found while reading Nbase's code
2013-06-28 15:37:20 +00:00
david
6b7b428cb9
Remove COMPAT_SRCS and COMPAT_OBJS.
...
These appear not to have any effect any more. They were initially used
to conditionally compile and link some files with replacements for
standard library functions, but seem not to have been used after r828
("Moved to nbase system for compatability funcs").
2013-05-13 04:21:11 +00:00
david
ebea23e398
Merge r30177 from nmap-npingchanges: Add function to generate random 64-bit unsigned integers
...
Originally committed by luis but recommitted by david after recovery
from backup.
2013-04-12 17:29:09 +00:00
david
87bab78479
Move CHECKED_FD_SET and CHECKED_FD_CLR to Nbase.
2013-02-22 00:45:57 +00:00
david
129d804d15
Add some missing noreturn and format attributes.
2013-02-22 00:45:55 +00:00
david
ce51d8c4da
Use the default value of MultiThreadedDLL where possible.
2013-02-09 20:30:01 +00:00
david
6b095f42d2
Use MultiThreadedDebugDLL (/MDd) in place of MultiThreadedDebug (/MTd).
...
This is to match r8507, which did the analogous thing for the Release
configuration.
http://seclists.org/nmap-dev/2013/q1/120
2013-02-09 20:29:55 +00:00
david
da88c7f26a
Whitespace.
2013-01-08 04:37:34 +00:00
henri
a90bafc9f4
Fixed indentation & style.
...
indent -nut -i2 -kr -br -brs -brf -l0 -bad -npcs -nprs -ncs nbase_str.c
+ manual adjustements.
2012-12-20 18:15:59 +00:00