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

180 Commits

Author SHA1 Message Date
fyodor
9ca4041ec1 Merged -r13793:HEAD from nmap-exp/dev/nmap branch now that we're opening up trunk development
again.  Here are the items which were merged:

------------------------------------------------------------------------
r13971 | jah | 2009-06-29 14:30:27 -0700 (Mon, 29 Jun 2009) | 2 lines

Improved a pattern for matching HTTP status-line, tidy away some variables and
fix a typo.
------------------------------------------------------------------------
r13967 | daniel | 2009-06-29 13:47:04 -0700 (Mon, 29 Jun 2009) | 5 lines

o Added a convenience top-level BSD makefile redirecting BSD make
  to GNU make on BSD systems.  This should help prevent bogus
  error reports when users run "make" instead of "gmake" on BSD
  systems. [Daniel Roethlisberger]

------------------------------------------------------------------------
r13965 | batrick | 2009-06-29 06:50:11 -0700 (Mon, 29 Jun 2009) | 14 lines

[NSE] The NSE Nsock Library binding no longer relies on garbage collection to
monitor the use of socket "slots". A thread (script) attempting to connect must
first obtain one of a limited number of available socket locks (usually 10 or
--max-parallelism). The binding would use garbage collection of sockets to
determine when a thread has finished using its allocated sockets. This is
unfortunately slow and requires us to constantly run the garbage collector to
cause timely reallocation. I have changed the binding to now regularly inspect
allocated sockets in the nsock_loop function. Available sockets slots are now
immediately reallocated and done with far less execution time.

See [1] for benchmarks and further explanation.

[1] http://seclists.org/nmap-dev/2009/q2/0624.html

------------------------------------------------------------------------
r13964 | batrick | 2009-06-29 06:37:49 -0700 (Mon, 29 Jun 2009) | 10 lines

[NSE] Fixed a rare (and usually undetectable) bug that can cause a SEGFAULT.
The NSE nsock library binding may attempt to push values on the stack of
a thread that ended due to an error. It is possible that the internal
Lua stack was completely full and any further pushed values would result
in a segmentation memory violation.

This bug is very hard to reproduce with a SEGFAULT but is usually visible
when Lua assertion checks are turned on. A socket handler routine must be
called AFTER a thread has ended in error.

------------------------------------------------------------------------
r13963 | batrick | 2009-06-29 05:51:20 -0700 (Mon, 29 Jun 2009) | 3 lines

Fixed some global scoped variables to be local. This caused a many scripts to
overwrite each others' sockets, options, etc.

------------------------------------------------------------------------
r13939 | joao | 2009-06-27 16:07:35 -0700 (Sat, 27 Jun 2009) | 2 lines

Fixed port rule to include ssl pop3 port, now that pop3.lua supports SSL connections in function capabilities

------------------------------------------------------------------------
r13938 | joao | 2009-06-27 16:06:28 -0700 (Sat, 27 Jun 2009) | 2 lines

Added transparent SSL support using comm.tryssl

------------------------------------------------------------------------
r13937 | joao | 2009-06-27 16:05:19 -0700 (Sat, 27 Jun 2009) | 2 lines

Added transparent SSL support using comm.tryssl

------------------------------------------------------------------------
r13936 | joao | 2009-06-27 16:03:50 -0700 (Sat, 27 Jun 2009) | 2 lines

Added SSL transparent support using comm.tryssl

------------------------------------------------------------------------
r13935 | joao | 2009-06-27 16:02:39 -0700 (Sat, 27 Jun 2009) | 2 lines

Added SSL transparent support using comm.tryssl

------------------------------------------------------------------------
r13934 | joao | 2009-06-27 16:01:38 -0700 (Sat, 27 Jun 2009) | 2 lines

Added SSL transparent support using comm.tryssl

------------------------------------------------------------------------
r13933 | joao | 2009-06-27 16:00:27 -0700 (Sat, 27 Jun 2009) | 2 lines

SSL transparent support using comm.tryssl

------------------------------------------------------------------------
r13932 | joao | 2009-06-27 15:19:58 -0700 (Sat, 27 Jun 2009) | 2 lines

Included transparent ssl support to function pop3.capabilities using comm.tryssl

------------------------------------------------------------------------
r13931 | joao | 2009-06-27 15:19:06 -0700 (Sat, 27 Jun 2009) | 3 lines

New version of comm.lua with function tryssl, that transparently adds support to ssl connections


------------------------------------------------------------------------
r13930 | joao | 2009-06-27 14:50:38 -0700 (Sat, 27 Jun 2009) | 6 lines

Fixed buffering problem exposed by david on nmap-dev list.
The problem was solved using a buffer to receive the data, making the script work fine in cases where the ssh packets are fragmented.

A very similar solution was applied to ssh1.lua.


------------------------------------------------------------------------
r13928 | batrick | 2009-06-27 04:43:12 -0700 (Sat, 27 Jun 2009) | 18 lines

[NSE] We now propogate a NSE initiated yield on a script through all user
coroutines so that NSE may resume control. Previously, scripts that would yield
in a child coroutine (e.g. a script's child coroutine generated by Lua's
coroutine.create function) would give control back to the script. A script
would yield in this way by making a blocking socket operation. NSE would be
unable to correctly resume child coroutine when the socket operation is
finished processing.

By yielding the chain of coroutines a script has operating, we allow to NSE to
handle the socket operation properly. NSE would then resume the entire chain so
execution may correctly resume at the coroutine which initiated the socket
operation. This restores the "illusion" that a script executes without
interruption.

See [1] for more information, further explanation, and some use cases.

[1] http://seclists.org/nmap-dev/2009/q2/0586.html

------------------------------------------------------------------------
r13817 | david | 2009-06-18 15:57:29 -0700 (Thu, 18 Jun 2009) | 3 lines

Improve an OS fingerprint with a model number and broader matching.
Based on a follow-up report from a submitter.

------------------------------------------------------------------------
r13814 | josh | 2009-06-17 21:34:15 -0700 (Wed, 17 Jun 2009) | 3 lines

[zenmap] Added support to zenmap for the new SCTP options: -PY, -sY and -sZ


------------------------------------------------------------------------
r13797 | ron | 2009-06-17 11:02:18 -0700 (Wed, 17 Jun 2009) | 1 line

Applied a patch from Mak Kolibabi that enhances the output of smb-enum-processes. The output is now modeled after the output of the 'ps' tool for higher verbosity levels.
------------------------------------------------------------------------
r13795 | david | 2009-06-17 09:05:21 -0700 (Wed, 17 Jun 2009) | 6 lines

The configure script now allows cross-compiling by assuming that
libpcap is recent enough. Previously it would quit because a test
program could not be run. libpcap will always be recent enough when
the included copy is used. The patch was contributed by Mike
Frysinger.
2009-06-29 23:48:19 +00:00
david
94283c1721 Add a web page for SuperDOS to nmap-os-db. 2009-06-03 17:35:20 +00:00
fyodor
355f14aff8 sort nmap-os-db 2009-05-13 02:22:38 +00:00
david
7903fc92bf Assign SEQ.CI a MatchPoints value of 50. 2009-05-12 21:36:05 +00:00
david
50a29893f2 Fix a couple of erroneous device types in nmap-os-db. 2009-05-10 04:31:59 +00:00
david
ff45745635 Add all 50 OS corrections. 2009-05-10 04:23:10 +00:00
david
f2266da109 The last 350 OS submissions. 2009-05-10 03:45:49 +00:00
david
51fee8e73e Another 400 OS submissions. 2009-05-09 22:22:41 +00:00
david
0bffda7525 Add the results of 400 OS submissions. 2009-05-09 17:21:32 +00:00
david
c22a3dd23b Remove the defunct U1.RUL, U1.TOS, IE.DLI, IE.SI, and IE.TOSI tests from
nmap-os-db.
2009-03-31 02:08:35 +00:00
david
aba2007634 Expand SEQ.ISR on an nmap-os-db fingerprint for a host I'm currently
scanning.
2009-03-25 19:26:44 +00:00
david
8022051e8c Consolidate two nmap-os-db fingerprints that differed only in the
0-point IE.TOSI and U1.TOS tests.
2009-03-25 17:41:57 +00:00
fyodor
cc8bce9282 sort 2009-03-14 08:55:13 +00:00
david
a041058243 Expand the low GCD values from 1-5 back to 1-6. See r12301, which changed <7 to
1-5.
2009-02-26 00:50:58 +00:00
fyodor
5ea1927b04 restore a SEQ.GCD element I previously deleted, but with the proper value of 0 now 2009-02-25 21:37:48 +00:00
david
ff79805ba7 Device type canonicalization. Move some nmap-os-db Linux fingerprints from
"specialized" to "general purpose".
2009-02-25 20:32:56 +00:00
david
c3fcd8ca9d In nmap-os-db, change GCD=<7 to GCD=1-5. The "<7" value was meant to encompass
small multiples of 1 when a GCD of 1 was observed. But 0 should be excluded
because a GCD of 0 indicates constant sequence numbers, while a GCD of 1 is
usually a sign of a good sequence number generation algorithm. I lowered the
maximum value in the range from 6 to 5 because the fingerfix utility expands
other GCDs up to a multiple of 5.
2009-02-25 18:01:50 +00:00
david
8827e6778a Document SEQ.CI in CHANGELOG. Add it to nmap-os-db with MatchPoints of 0, not
that it matters because there are no prints that have it yet.
2009-02-25 00:37:21 +00:00
fyodor
f1d8f94920 sorting, plus fixed a couple likely bugs in the file. A Sun Solaris 2.6 signature was missing a % separater between fields in T6 and T7, and a 3Com SuperStack 3 Switch 4400 SE signature had an empty SEQ.GCD (I am not sure if this is OK or not, so I just deleted it). Thanks to Marc Bevand for spotting the flaws 2009-02-24 01:27:33 +00:00
david
1273142341 FIx a typo in nmap-service-probes, adjust some categorizations in nmap-os-db. 2009-02-21 00:34:33 +00:00
fyodor
c4a2b18aba consolidate categories a abit -- remove 9 categories which only had 1 or 2 members in the whole file 2009-02-08 21:26:49 +00:00
david
e545084ebf Adjust the model numbers on the Tandberg OS print after reading the submission
email more closely.
2009-02-06 20:10:05 +00:00
david
9755978955 Expand an OS fingerprint slightly as a result of someone sending in a follow-up
scan.
2009-02-06 20:06:45 +00:00
fyodor
57b4b9894b sorting 2009-01-19 20:22:40 +00:00
david
b3c59b9265 Change an OS generation from "4.2" to "4.X" in nmap-os-db. 2009-01-12 01:40:15 +00:00
david
97617c79b4 Fix an OS fingerprint that had a device type of "SP2". 2009-01-12 00:40:21 +00:00
david
11db61aeb8 Add all 31 OS corrections from January 2008. 2009-01-10 01:40:41 +00:00
david
c0db2ed69b Add another 283 OS submission, the last of the batch from January 2008. 2009-01-10 00:41:53 +00:00
david
16f60b5912 Add another 140 OS submissions. 2009-01-09 03:40:35 +00:00
david
4deb33e3ce Add the results of 140 OS submissions. 2009-01-08 20:38:53 +00:00
fyodor
ffde458abe sorting 2008-12-14 06:16:50 +00:00
david
57394b4673 Remove some host names from comments in nmap-os-db. 2008-11-14 19:56:32 +00:00
david
d6a705258b Add the results of all 51 OS corrections. 2008-11-14 18:49:37 +00:00
david
d21ddc4069 Add the results of the last 140 OS submissions. 2008-11-14 05:02:03 +00:00
david
13040fa854 Integrate another 300 OS fingerprints. 2008-11-14 03:09:19 +00:00
david
d82eb93ed2 Add the results of another 200 OS submissions, plus more merged prints. 2008-11-12 23:33:39 +00:00
david
1d582dfafc Add the results of integrating 100 OS submissions. This also includes the
merging of several fingerprints that previously differed only in *.T, IE.TOSI,
or U1.TOS values.
2008-11-11 23:08:45 +00:00
david
a4f6dc6b6e Merge from /nmap-exp/david/nmap-os.
This brings in four discrete changes:

1. The widening of ranges for T test expressions in nmap-os-db. Any expressions
   that were not already ranges were expanded to cover plus and minus five of
   their original values.
2. The normalization of TG expressions in nmap-os-db. Nmap is only capable of
   outputting 0x20, 0x40, 0x80, and 0xFF for a TG value, but many fingerprints
   had values other than these. They have all been rounded to their nearest
   likely value.
3. The elimination of the U1.TOS and IE.TOSI tests (both having to do with type
   of service). This was effected by setting their MatchPoints to 0.
4. A cleanup and refactoring of OS fingerprint output code. This should not
   have any impact on output, except in one case: when debugging is non-zero or
   verbosity is greater than one, and at least one perfect match was found,
   Nmap used to print "OS Fingerprint:" before the fingerprint. Now it prints
   "TCP/IP fingerprint:" in this case like in all the others.
2008-10-31 22:46:07 +00:00
fyodor
a51762f4e0 just sorting changes 2008-10-15 10:41:49 +00:00
david
62d840d8ce In nmap-os-db, change the OS family of a couple of IOS devices from "12.2" to
"12.X".
2008-10-01 21:58:16 +00:00
david
4c5e79b05d In nmap-os-db, change references to MontaVista Linux to emphasize that it's embedded. 2008-09-17 22:32:13 +00:00
fyodor
8e534f6570 improve header text 2008-09-05 01:58:11 +00:00
fyodor
77e750ce6a sorting 2008-08-02 21:21:49 +00:00
david
d7601de2e4 Add July 2008 OS corrections. 2008-07-25 15:36:44 +00:00
david
08a3d13bae Integrate another 180 OS submissions, the last of the batch from July 16. 2008-07-23 20:08:35 +00:00
david
244f1a33d5 Add the results of integrating 130 OS submissions. 2008-07-23 03:15:43 +00:00
david
64b2a328bc Slightly expand the SEQ.SP range of an OS fingerprint. 2008-07-17 16:40:19 +00:00
david
e14b863cb9 Update nmap-os-db to use Apple capitalization: "iPod touch". 2008-07-16 17:11:58 +00:00
david
70ad9ac51b Commit the results of 127 OS submissions. 2008-07-16 17:05:08 +00:00
david
78fa9e8198 Integrate May 2008 OS corrections. 2008-07-16 02:39:03 +00:00