1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 14:39:02 +00:00
Commit Graph

1698 Commits

Author SHA1 Message Date
david
8ebd1a8358 Always remove the zenmap staging directory before rebuilding it in the macosx
makefile.
2008-06-06 04:44:15 +00:00
david
d924d3c0e0 Undo the change to scripts/script.db accidentally committed in r7967. 2008-06-06 04:36:32 +00:00
david
a2229c1228 Remove the share/icons and share/pixmaps from zenmap.spec.in because those are
now subdirectories of share/zenmap.
2008-06-06 04:34:23 +00:00
kris
ffedc7b69b making a changelog entry for the OpenSSL 0.9.8h upgrade earlier this week 2008-06-06 03:35:11 +00:00
jurand
7a08d348b5 o Install icons and pixmaps under /usr/share/zenmap/{icons,pixmaps}
so they don't get mixed in with the files in /usr/share/{icons,pixmaps}.
  [Jurand Nogiec]

o Modification to handle the problem where if a user modifies the
  command entry field, Zenmap does not necessarily execute this command
  and instead it will follow what the Target/Entry fields specify
  instead. This avoids a bug where if you edited a command, then selected
  a different target, the edited command line would be replaced with one
  from the currently selected profile. [Jurand Nogiec]
2008-06-06 03:22:28 +00:00
kris
3512576c9b zoneTrans.nse now takes a "domain" script argument to specify the domain name
to transfer.  I've only been able to examine the behavior through Wireshark
since I don't have a nameserver that transfers other domains (I always get
"Not Authoritative").  It seems to work fine, though
2008-06-05 04:22:27 +00:00
fyodor
c23be3a67c remove some obsolete remarks 2008-06-04 23:38:03 +00:00
david
d8ac4f8859 Merge from /nmap-exp/david/nmap-fixed-rate. This brings in
doAnyOutstandingProbes performance improvements. Here is the log message from
r7914 in nmap-fixed-rate.

Keep a cache of the most recently processed probe for each host in
doAnyOutstandingRetransmits. This greatly reduces the amount of CPU used by
that function when the lists of outstanding probes grow long, such as when a
high scan rate is specified with --min-rate.

This is not most efficient possible way this could be done, but it is a pretty
big win, and it's very non-invasive. The changes are limited entirely to
doAnyOutstandingRetransmits, with no new global state in ultra_scan.

# nmap -d --min-rate 50000 -n -PN -p1-65535 --max-rtt-timeout 500 --max-retries 1 scanme.nmap.org

gprof before:
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 49.74     30.96    30.96     2709     0.01     0.02  doAnyOutstandingRetransmits(UltraScanInfo*)
 10.51     37.50     6.54 127256413     0.00     0.00  std::_List_iterator<UltraProbe*>::operator--(int)

gprof after:
  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
 20.48      3.36     3.36     2667     0.00     0.00  doAnyOutstandingRetransmits(UltraScanInfo*)
 16.21      6.02     2.66     2667     0.00     0.00  processData(UltraScanInfo*)

Note that 50000 packets per second is way excessive. I really only get about
6000 in practice. But the point is there is no huge CPU penalty for giving an
excessive rate.
2008-06-04 03:45:39 +00:00
doug
7833ac574d CUPS match line out of order fix from Sven Klemm 2008-06-03 21:20:19 +00:00
kris
5436c891fc o Fixed an integer overflow which prevented a target specification
of "*.*.*.*" from working.  Support for the CIDR /0 is now also
  available. [Kris]


A sendto() or connect() to IPv4 addresses with a first octet of 0
(excluding 0.0.0.0 on some OS's) returns EINVAL.  These addresses
are reserved for "self-identification" and should never go over the
wire (and at least on Linux a connect() to 0.0.0.0 gets redirected
to 127.0.0.1).  I'm talking with Fyodor on whether or not to skip
*all* of these addresses.
2008-06-03 19:25:16 +00:00
david
91d5eb45a5 Remove an FEFF byte order mark from the beginning of CHANGELOG. 2008-06-03 18:58:39 +00:00
kris
939a38d918 fixing the date/order in the CHANGELOG--new changes go above the last release 2008-06-03 18:35:09 +00:00
michael
9f64691427 On windows, the --iflist option was not reporting correct windevice values and not displaying all ethernet devices if the user had interface aliases set up. Now all Windevice values and interface device ID's will be properly linked together. 2008-06-03 18:05:45 +00:00
michael
c20b232ebc Updating the CHANGELOG for my previous patch. 2008-06-03 16:26:00 +00:00
fyodor
729aa1c6ab remove a remark - I'm not sure what it means 2008-06-03 02:37:21 +00:00
batrick
2cea96ea2b Minor change to Kris' change to make nmap.registry.args always available.
Avoided using strdup() although it's minor.
2008-06-03 02:17:10 +00:00
david
ec3d31ad7a Ignore the directories Debug and Release in mswin32. 2008-06-02 18:53:53 +00:00
fyodor
9d09f722cd sorting 2008-06-02 00:40:41 +00:00
fyodor
4ada795952 slight reorg 2008-06-02 00:40:24 +00:00
kris
32e8249c80 Upgrading shipped mswin32 OpenSSL headers and libraries to newest 0.9.8h (thanks to Jah for noticing the new release) 2008-06-01 15:09:17 +00:00
fyodor
7026766335 more tweaking 2008-06-01 07:04:54 +00:00
fyodor
bcf92751b9 minor improvements to CHANGELOG 2008-06-01 06:59:59 +00:00
fyodor
7df6406b4b slight reformat and fix a typo 2008-06-01 06:56:09 +00:00
kris
a5bf21e5db o The NSE nmap.registry.args table is now available, albeit empty, when
--script-args isn't used.  Now scripts don't need to check if it's nil
  before attempting to index it. [Kris]
2008-06-01 06:31:50 +00:00
fyodor
fda3297aaa regenerate docs 2008-06-01 05:54:22 +00:00
fyodor
998c0e3ca3 update version number 2008-06-01 05:54:08 +00:00
fyodor
6593a74fc9 Update the CHANGELOG with latest changes in prep for release (tomorrow, hopefully) 2008-06-01 05:46:47 +00:00
fyodor
ed58c3cdf7 Changed to a more international style date format for release dates, also made some misc. minor changes 2008-06-01 03:41:18 +00:00
fyodor
cdcf26d420 Win32 installer improvements:
o Our WinPcap installer now starts the NPF driver running as a
  service immediately upon installation and after restarts. You can
  disable this with new checkboxes. This behavior is important for
  Vista and Windows Server 2008 machines when User Account
  Control (UAC) is enabled. [Rob Nicholls]

o Nmap and Nmap-Winpcap silent installation now works.  Nmap can
  be silently installed with the /S option to the installer.
  If you install Nmap from the zip file, you can install just
  Winpcap silently with the /S option to that
  installer. [Rob Nicholls]

o Our WinPcap installer is now included with the Nmap Win32 zip
  file. [Fyodor]

o Numerous miscellaneous improvements were made to our Win32
  installer, such as using the "Modern" NSIS UI for WinPcap,
  improving the option description labels, and showing a finish
  page in all cases. [Rob Nicholls]
2008-06-01 03:18:35 +00:00
batrick
93492da5cb Fix to Windows define for nse_fs 2008-05-31 08:22:39 +00:00
fyodor
31ed85eca8 remove makefile.dep as part of make clean 2008-05-31 03:24:50 +00:00
fyodor
76f7cced70 change http User-Agent header value to: Mozilla/5.0 (compatible; Nmap Scripting Engine; http://nmap.org/book/nse.html) 2008-05-31 03:24:25 +00:00
fyodor
746e2872b8 expand acceptable SEQ.ISR for fingerprint which matches scanme.nmap.org 2008-05-31 03:00:27 +00:00
batrick
d0bc640db8 Large recode of nse_init.cc
Now does most of it's work through Lua:

From Nmap-dev: "Many of the changes consist of changing how Nmap interfaces
with Lua that were sometimes awkward or inflexible. Most of the functions 
have been made to be callable directly by Lua which offers many technical
advantages: stack management is alleviated, errors are handled cleanly and
are more descriptive, and there is increased reusability."

Additionally:
   -- Moved all lua_State * symbols from "l" to "L". This is to maintain
      consistency with other Lua libraries (convention) and to make our macros portable.
   -- Moved file system manipulation over to nse_fs.cc (from nse_init.cc)
2008-05-31 02:39:27 +00:00
batrick
742ff67100 Removed nse_auxiliar. Updated Script Argument parsing. Fixed typos in
documentation. Improved MySQLinfo.nse. Nsock/dnet metatabels are now
protected.
2008-05-31 02:19:24 +00:00
batrick
21a2e7aea6 Updated to Lua 5.1.3 (Bug fix release)
Updated stdnse to include tobinary, toocal, and tohex functions.
Minor optimizations to listop.lua
2008-05-31 01:43:43 +00:00
michael
6692822a34 The information pretaining to the U1.RID probe for OS scans wasnt being properly converted to/from network byte order. This has resulted in several erronious entries in nmap-os-db and the failure of OS scan to perfectly detect some hosts (most of them are printers). 2008-05-31 01:41:13 +00:00
fyodor
f90bdc0a9b o Updated to include the latest MAC Address prefixes from the IEEE in
nmap-mac-prefixes [Fyodor]
2008-05-30 21:47:20 +00:00
david
0a1eb5edbf Use the new Umit web page www.umitproject.org in the Zenmap man page. 2008-05-30 05:34:20 +00:00
fyodor
058125d006 apply some fixes by Eric Krosnes 2008-05-30 02:21:32 +00:00
fyodor
d59dcfa180 some corrections from Eric Krosnes 2008-05-29 22:05:56 +00:00
david
d3263f0f1a Fix grepable output "Ignored State" reporting. Only one ignored state (the one
with the highest numbers of ports) is output.
2008-05-29 20:05:02 +00:00
david
6992d545e1 Remove unused pingtype parameter from massping. ultra_scan gets the ping type
from o.pingtype.
2008-05-29 18:20:33 +00:00
david
ee77b71fd3 Remove some debugging code that was added in the merge from
nmap-massping-migration.
2008-05-29 14:47:05 +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
doug
29d2b20c98 Added error message for improperly formatted port/protocol string.
Thanks to David for finding this problem.
2008-05-28 22:25:05 +00:00
michael
bbc2196eea Fixed one of the memory leaks in getpts_simple which occures when no ports are to be added to 'list'. 'porttbl' is now free'd regardless of how the function returns. 2008-05-28 20:14:44 +00:00
david
d6b1222295 Use else blocks, rather than separate if blocks, when checking for arguments to
the -P? options to better communicate the intent of the code. Also remove
braces from around some one-line calls to fatal.
2008-05-28 15:45:46 +00:00
david
a90ec1ef8a Use DEFAULT_PING_TYPES for the -PB option rather than reconstructing the
definition.
2008-05-28 15:35:23 +00:00
david
d5653dad26 Guard against providing duplicate ping options like
nmap -PA80 -PA443 target
Previously this would use 443 only, and leak a little bit of memory as the
pointer to the array containing 80 was lost. Now it gives an error

Only one -PB, -PA, or -PT option is allowed. Combine port ranges with commas.
QUITTING!
2008-05-28 15:33:05 +00:00