david
d122b91891
Merge from /nmap-exp/david/nmap-ssl, /nmap-exp/david/ncat-ssl, and
...
/nmap-exp/david/nsock-ssl. This brings in secure SSL connections for
Ncat. See http://seclists.org/nmap-dev/2009/q2/0183.html .
2009-04-25 03:24:00 +00:00
fyodor
d0e21e1d03
Suggest that people send patches to nmap-dev rather than to me directly
2009-04-15 00:37:03 +00:00
david
e69ae791cb
Fix an identifier in a TODO comment.
2009-04-08 20:04:54 +00:00
bmenrigh
9bf557485b
o Expanded and tweaked the product/version/info of service scans in an
...
attempt to reduce the number of warnings like "Warning: Servicescan
failed to fill info_template...". Parts of this change include:
o Improved the text of the warning to be less confusing
o Increased the internal version info buffer to 256 chars from 128
o Increased the final version string length to 160 from 128 chars
o Changed the behavior when constructing the final version string so
that if it runs out of space, rather than dropping the output of that
template it truncates the template with ...
o Fixed the printing of unneeded spaces between templates when one of the
templates isn't going to be printed at all.
2009-04-05 02:02:15 +00:00
fyodor
eccc235d5a
Increase copyright year to 2009, simplify/reword some derivative works text, and remove a confusing clause about selling proprietary front-ends to Nmap
2009-03-31 04:16:12 +00:00
david
4fc92b216c
Tone down the Nsock trace level with --packet-trace, --version-trace,
...
and --script-trace. It was set at 5, now it's 2. That's enough to see
all the Nsock events and the contents of reads and writes. At 3 you
start to get messages like
PCAP do_actual_pcap_read READ (IOD #%li) (EID #%li) size=%i
The message "wait_for_events" isn't printed until level 4. Getting rid
of that is the main reason for this change.
2009-03-27 21:37:14 +00:00
david
72d3ffe636
Version detection used to omit the "ssl/" service name prefix if an
...
SSL-tunneled port didn't respond to any version probes. Now it keeps "ssl/" as
an indication that SSL was discovered, even if the service behind it wasn't
identified. Kristof Boeynaems reported the problem and contributed a patch.
2009-03-03 17:38:28 +00:00
david
c561222685
Fix spelling in some identifiers. wierd_responses -> weird_responses,
...
printStatsIfNeccessary -> printStatsIfNecessary.
2008-12-04 17:04:48 +00:00
kris
98ee3211f2
Fixing port numbers in output. The "%hi" conversion modifier was being used
...
which treats port numbers as signed shorts, and this caused high ports numbers
to wrap around and be shown as negative.
2008-10-24 00:48:19 +00:00
kris
ffb3d8202d
Documenting an earlier change and adding a new, related one:
...
o Nsock now supports binding to a local address and setting IPv4 options
with nsi_set_localaddr() and nsi_set_ipoptions(), respectively. [Kris]
o Nmap's Nsock-utilizing subsystems (DNS, NSE, version detection) have been
updated to support the -S and --ip-options flags. [Kris]
2008-07-14 19:52:31 +00:00
michael
9f1c28ad9c
This patch reorganizes the way ping probes are handled internally.
...
Previously the ping probe data structures were stored in NmapOps,
now they will be stored in the scan_lists struct. All other changes
auxiliary to this reorganization.
2008-05-29 07:49:37 +00:00
fyodor
779b96a197
trivial copyright text tweak: filename nmap-os-fingerprints has changed to nmap-os-db
2008-05-22 20:45:32 +00:00
fyodor
10b54b773b
minor license template updates from Kris--fix gnu.org link to GPLv2 (moved) and openssl license filename (COPYING.OpenSSL)
2008-05-05 04:10:00 +00:00
kris
85edc7a005
Merging over from /nmap-exp/kris/assert-testing
...
Ensuring the safety of assert() calls by keeping NDEBUG undefined throughout
Nmap, Nbase and Nsock.
I've tested this on Linux and Windows XP without problems. On Windows I've
removed the definitions of _DEBUG and NDEBUG from the *.vcproj files.
2008-05-03 17:58:48 +00:00
fyodor
5551c5a311
o Fixed a bunch of code to avoid compilation warning messages (at
...
least on some Linux machines) [Andrew J. Bennieston]
2008-04-09 02:11:20 +00:00
fyodor
1accc12fb2
fix typo in legal header found by Leigh Zhao (missing word: of)
2008-02-28 18:52:06 +00:00
fyodor
29c912f394
URL change from http://insecure.org/nmap/ * to http://nmap.org/ *
2008-01-17 07:22:03 +00:00
fyodor
8220c8a42f
update copyright line at the top of files from 1996-2006 to 1996-2008
2007-12-22 06:32:03 +00:00
fyodor
09512ff092
o Fix a bunch of warning/error messages which contained an extra
...
newline. Thanks to Brandon Enright for the patch.
2007-12-21 03:38:04 +00:00
kris
fe63809293
Setting uninitialized pointer to NULL. It was possible that it would not be set, and also not be NULL so it would bypass the assert() on it, which in turn caused a crash. Found with Coverity, CID 18
2007-11-16 00:48:44 +00:00
fyodor
5e67f7db4c
When version detection changes the state of a port, the reason field is now updated as well (to udp-response or tcp-response as applicable). Thanks to Thomas Buchanan for the patch.
2007-11-15 23:41:12 +00:00
kris
0b50c16b38
Adding Snprintf() and Vsnprintf() to nbase/nbase_str.c. This is because of Windows' stupid implementation where it doesn't write a NULL byte at the end of the buffer if the result is truncated. I would've just #defined snprintf and vsnprintf to some wrapper function for Windows, but this doesn't work as libdnet and libpcap (and libpcap includes under mswin32) define snprintf to _snprintf and vsnprintf to _vsnprintf like we do, and through the many defines they end up being available in the Nmap sources. Vsnprintf() uses vsnprintf() (and writes a NULL byte at the end if truncated), and Snprintf uses Vsnprintf().
2007-08-14 06:46:54 +00:00
fyodor
8dc9673928
merge soc07 r5085 - Changing bare printf()s to log_write(LOG_PLAIN,)s because these were always printed even when things like XML and greppable output were sent to stdout (e.g. -oX -). This also adds o.scriptTrace() to make --script-trace behave more like --packet-trace and --version-trace. Nsock tracing was done unconditionally in NSE, and that has been changed to only be done when o.scriptTrace() is true.
2007-08-11 05:13:16 +00:00
fyodor
8d74bbcd8a
merge soc07 r4871:4884 and r4888 - renaming __FUNCTION__ to __func__ and changing hardcoded func names to __func__
2007-08-11 04:06:09 +00:00
fyodor
5e3bb361f2
merge soc07 r4860 - Add verbose data file path reporting. Some more changes might be coming, for example to change the conditions under which this information is displayed.
2007-08-11 03:59:18 +00:00
fyodor
58522c59f6
merge soc07 r4822 - Reduce the number of build dependencies.
2007-08-11 03:35:46 +00:00
kris
f221d54908
Change a little over 10 malloc()s and realloc()s to their safe_* equivalents (which let's us get rid a two checks on the returned mem elsewhere in the code).
2007-02-25 15:43:56 +00:00
kris
c0bb3fa376
Just removing a few empty private access specifiers ('private:' is there, but it's not specifying anything)
2007-02-04 01:07:36 +00:00
fyodor
b361685be8
NSE committed
2006-12-11 00:34:26 +00:00
fyodor
d7ee3ebfa7
parse_nmap_service_probe_file may not be static, some changes to osscan.cc for more verbose scripts/fingerdiff support
2006-09-12 03:35:29 +00:00
fyodor
10ffae41cf
spellcheck patch
2006-09-05 08:39:32 +00:00
fyodor
2140dfb00f
Applied a patch by Kris Katterjohn which makes 14 functions static
2006-08-29 04:03:03 +00:00
fyodor
b28d51167c
Minor source code header improvements
2006-08-25 01:47:49 +00:00
fyodor
a403864351
Replace file headers, mostly to update copyright to 2006
2006-08-24 04:43:50 +00:00
fyodor
9c0af0a95b
memory releasing patch from Marek
2006-07-04 23:04:56 +00:00
fyodor
09a3a48293
removed unused ServiceProbe::setName and some TCPIP_DEBUGGING stuff
2006-06-19 04:19:52 +00:00
fyodor
6ba1799b22
parse_nmap_service_probe_file cannot be static
2006-06-13 02:05:06 +00:00
fyodor
5a9fea3b39
portability fixes, fixed UDP phantom port bug, fixed --version-intensity crash, changed mass_dns to give warning rather than error if cannot find dns servers
2006-06-10 21:23:27 +00:00
fyodor
37fac543b5
Majek's Portlist change patch
2006-05-14 05:00:58 +00:00
fyodor
86089c4255
Renamed tty.cc/.h to nmap_tty.cc/.h
2006-03-06 00:15:49 +00:00
fyodor
76ab1500b3
make a ton of global symbols static
2006-03-05 23:59:46 +00:00
fyodor
848ad2a96a
Nmap 4.02Alpha1 release for Everdream
2006-03-03 23:12:14 +00:00
fyodor
bd46c3ae39
About to work on Nmap infinite loop reported by everdream
2006-02-16 22:50:02 +00:00
fyodor
ccce12128f
Just added Paul's status patch
2005-12-31 00:32:42 +00:00
fyodor
0d32ed3592
heading off for thanksgiving
2005-11-22 23:21:55 +00:00
fyodor
2d8fd95bff
post 3.93 work
2005-10-06 03:38:16 +00:00
fyodor
d187c68017
blah
2005-10-01 23:50:27 +00:00
fyodor
59e4189e70
About to release Nmap 3.84ALPHA2 if all goes well
2005-09-07 08:26:45 +00:00
fyodor
9e78d26845
A bunch of standardization changes to nmap-os-fingerprints from Steve Martin
2005-08-25 20:08:11 +00:00
fyodor
87e4e19e02
bug fixing
2005-08-24 19:22:11 +00:00