1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-31 03:49:01 +00:00
Commit Graph

487 Commits

Author SHA1 Message Date
david
a9799715e5 CHANGELOG:
o Added some Windows and MinGW compatibility patches submitted by
  Gisle Vanem.
2008-09-04 14:28:26 +00:00
sven
801e537697 Fix a bug in --script-trace hex dump output resulting in bytes with highest bit set to be prefixed by ffffff. 2008-09-03 22:09:15 +00:00
fyodor
bed9523832 o Updated rpcinfo NSE script to use the new pack/unpack (binlib)
functions, use the new tab library, include better documentation, and
  fix some bugs. [Sven Klemm]
2008-09-03 08:31:05 +00:00
fyodor
f67049b2d3 o Fix a bug in the NSE http library which would cause some scripts to
give the error: SCRIPT ENGINE: C:\Program
  Files\Nmap\nselib/http.lua:77: attempt to call field 'parse' (a nil
  value) [Jah]

Also added Win2K dependencies section to nmap-install (I should have
done a separate checkin for that)
2008-09-03 06:22:13 +00:00
fyodor
e30ba96035 o The NSE datafiles library now has generic file parsing routines, and
the parsing of the standard nmap data files (e.g. nmap-services,
  nmap-protocols, etc.) now uses those generic routines.  NSE scripts
  and libraries may find them useful for dealing with their own data
  files, such as password lists. [Jah]
2008-09-03 02:42:02 +00:00
fyodor
be9e8bf7b1 o Fixed a Makefile problem (race condition) which could lead to build
failures when launching make in parallel mode (e.g. -j4). [Michal
  Januszewski]
2008-08-30 22:01:45 +00:00
david
20f38fcf15 Add CHANGELOG entry for higwidgets move. Rewrap another entry to 70 columns. 2008-08-30 21:07:38 +00:00
fyodor
c5a6e3844f o Added new addrow() function to NSE tab library. It allows
developers to add a whole row at once rather than doing a separate
  add() call for each column in a row. [Sven Klemm]
2008-08-30 19:38:51 +00:00
fyodor
8b29c19a76 o The NSE http library now supports chunked encoding. [Sven Klemm] 2008-08-29 09:24:24 +00:00
david
0a64626a4c Change the output label "Uptime" to "Uptime guess" and print it only in verbose
mode.
2008-08-26 17:40:19 +00:00
fyodor
64a016a817 o Improve the nebtios-smb-os-discovery NSE script to improve target
port selection and to also decode the system's timestamp from an SMB
  response. [Ron at SkullSecurity]
2008-08-26 00:52:07 +00:00
david
46a08eef1f Add CHANGELOG entry.
o Zenmap no longer leaves any temporary files lying around. [David]
2008-08-22 03:25:54 +00:00
david
b7985aef90 Add some changelog entries.
o Nmap sometimes sent packets with incorrect IP checksums,
  particularly when sending the UDP probes in OS detection. This has
  been fixed. Thanks to Gisle Vanem for reporting and investigating the
  bug. [David]

o In the interest of forward compatibility, the xmloutputversion
  attribute in Nmap XML output is no longer constrained to be a
  certain string ("1.02"). The xmloutputversion should be taken as
  merely advisory by authors of parsers.
2008-08-21 17:54:16 +00:00
david
1bba311884 Upgrade shtool to version 2.0.8. This is supposed to fix NLS problems with
"make install"; see http://seclists.org/nmap-dev/2008/q3/0088.html.
2008-08-19 17:49:47 +00:00
jurand
0644d84fca Added to the CHANGELOG a bunch of changes that I made this summer. 2008-08-16 00:48:49 +00:00
kris
789906f3a8 o Added IPProto Ping (-PO) support to Traceroute, and fixed support for
IPProto Scan (-sO) and the ICMP Pings (-PE, -PP, -PM) in Traceroute
  as well.  These would cause Nmap to hang during Traceroute. [Kris]
2008-08-14 17:53:23 +00:00
david
afc805a1ef Add a CHANGELOG entry for r9462, faster nmap-services loading. 2008-08-13 01:50:59 +00:00
michael
931285f765 Updated DTD, XML version, and anded scanflags attribute to scaninfo element. 2008-08-13 00:59:22 +00:00
david
f6539408af Overhaul Makefile.in and configure.ac to link NSE C modules explicitly with
liblua and libm. This is necessary for static builds of Nmap, such as RPM
builds. Before this the error that was caused looked like

SCRIPT ENGINE: error while initializing script rules:
error loading module 'bit' from file '/usr/libexec/nmap/nselib-bin/bit.so':
        /usr/libexec/nmap/nselib-bin/bit.so: undefined symbol: lua_pushnumber
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/share/nmap/nselib/packet.lua:12: in main chunk
        [C]: in function 'require'
        /usr/share/nmap/scripts/rpcinfo.nse:10: in main chunk
        [C]: ?
        [C]: in function 'Entry'
        /usr/share/nmap/scripts/script.db:8: in main chunk
        [C]: ?
        [C]: ?
2008-08-05 21:41:30 +00:00
fyodor
eb66c0181e add credit to a couple entries. There is another uncredited one related to the 'c:\nmap' problem where NSE turned the \n into a newline. But I don't remember offhand who fixed it. 2008-08-04 23:18:18 +00:00
david
6c506e5c5b CHANGELOG entry for IP protocol ping probe fix. 2008-08-01 00:20:29 +00:00
fyodor
90cb66aae4 trivial rewording, typo fixing, etc. 2008-07-31 21:50:15 +00:00
fyodor
e198b0fa4a mostly just word wrapping changes back to 4.60 release (to max 70 chars) 2008-07-31 04:33:50 +00:00
kris
2dd62530e5 o Updated zoneTrans.nse to replace length bytes in returned domain names to
periods itself rather than relying on NSE's old behavior of replacing non-
  printable characters with periods.  Thanks to Rob Nicholls for reporting the
  problem. [Kris]
2008-07-31 03:49:25 +00:00
david
25215ce9ba Add --max-rate to go with --min-rate. 2008-07-30 00:15:57 +00:00
fyodor
c0e4374b0f update CHANGELOG to reflect nsock fix related to dealing with individual UDP packets rather than concatenating them together in a buffer 2008-07-30 00:00:59 +00:00
david
69f67ad49e Remove byte-order mark from the beginning of CHANGELOG. 2008-07-29 23:33:46 +00:00
kris
de4a980a39 o Fixed a segmentation fault in Nsock which occurred when calling nsock_write()
with a data length of -1 (which means the data is a NULL-terminated string
  and Nsock should take the length itself) and the Nsock trace level was at
  least 2. [Kris]

This occurs because memcpy() is called with datalen as it's length argument and
then fails.

Another noticable change is that instead of saying a write request of -1 bytes
was registered, it now prints the correct length.
2008-07-29 21:02:30 +00:00
michael
d01c5071cd Nmap will no longer misreport a localhost-response during PN scans, it will now be reported as 'user-set'. 2008-07-29 17:01:31 +00:00
kris
a285f82299 o The NSE Comm library now defaults to trying to read as many bytes as are
available rather than lines if neither the "bytes" nor "lines" options are
  given.  Thanks to Brandon for reporting a problem which he noticed in the
  dns-test-open-recursion script. [Kris]
2008-07-28 01:47:26 +00:00
kris
332e8aa176 (The last paragraph of this message has an implementation re-work suggestion)
o Fixed host discovery probe matching when looking at the returned TCP data in
  an ICMP error message.  This could lead to incorrectly discarded responses
  and the debugging error message: "Bogus trynum or sequence number in ICMP
  error message" [Kris]

Fyodor was getting the error message "Got ICMP error with a TCP header that was
too short" while scanning, and looked at the code to see a comment I made about
requiring 12 bytes of TCP data in an ICMP error message instead of the minimum
RFC requirement of 8 bytes.

I made this comment and requirement because tcp_trynum_pingseq_decode() was
being called on the TCP data, and was using the ACK field (which is just past
the 8 byte range).  However, upon further inspection, we came to the conclusion
that this code was broken because examining the ACK field should only be done
on a TCP response, not on our own probe (which is what we're looking at in the
ICMP data).

This assumes that -g is used (the only reason that the SEQ/ACK is checked since
the source port number is used otherwise), but the code is also broken without
it because the *_decode() function checks the destination port number rather
than the source port (which should be checked since it's our own probe we're
looking at).

So I've removed the 12-byte requirement and pingseq checking calls, and just
check that the received SEQ number matches the probe SEQ number.


Should we just work with the SEQ/ACK matching when using TCP and leave the
pingseq/trynum port number encoding to UDP?  This means behavior won't change
with the use of -g, and it should be guaranteed to be there since we'll only
be looking at whole TCP headers rather than any smaller chunks.  Plus, the SEQ
number is already getting encoded with the pingseq/trynum info, we're just not
decoding the ACK responses unless -g is used.
2008-07-26 00:25:24 +00:00
michael
aa067825d2 Updated changelog with information about new menu items for zenmap 2008-07-25 21:41:50 +00:00
david
ef0ee2fc39 Commit CHANGELOG entry for r9056 (don't show byte rates during TCP connect
scan).
2008-07-23 22:24:01 +00:00
david
620a727e39 Add some CHANGELOG entries for recent work. 2008-07-23 21:27:41 +00:00
michael
62340eabc8 Fixed bug from my previous commit, recommiting 2008-07-15 19:11:53 +00:00
michael
575b6cee19 Rolled back change while I fix a bug 2008-07-15 18:15:34 +00:00
michael
f57301ef61 Expand the range of pcap filters in scan_engine.cc to allow more types
of timing pings during port scanning.
2008-07-15 07:13:27 +00:00
michael
819831772b nged the order that pingprobes are favored in, the order is now:
-Raw TCP (not SYN to an open port)
-ICMP information queries (echo request, timestamp request, netmask req)
-ARP
-Raw TCP (SYN to an open port)
-UDP, IP protocol, or other ICMP
-TCP connect
-Anything else

The order used to be
-ARP
-Raw TCP (not SYN to an open port)
-UDP, IP protocol, or ICMP
-Raw TCP (SYN to an open port)
-TCP connect
-Anything else
2008-07-14 21:11:58 +00:00
kris
299e0de19e o Added --ip-options support for the connect() scan (-sT). [Kris] 2008-07-14 20:02:30 +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
fyodor
6991a8e509 update CHANGELOG to reflect new performance tweaks 2008-07-11 07:36:23 +00:00
fyodor
8605cc3682 Merge r863 of nmap-exp/fyodor-perf:
o Added the undocumented (except here) --nogcc option which disables
  global/group congestion control algorithms and so each member of a
  scan group of machines is treated separately.  This is just an
  experimental option for now. [Fyodor]
2008-07-11 07:28:36 +00:00
batrick
9723cb640a Updated CHANGELOG with most recent changes to NSE. 2008-07-08 06:39:24 +00:00
kris
957b5daea7 Adding my unpwdb nselib; includes username and password lists, and docs 2008-07-08 04:16:49 +00:00
kris
d0a2ec9d50 Adding support for NSE + Ping Scan (-sP) for executing host scripts. So "-sPC", "-sP --script all" and "-sP --script ripeQuery" all work correctly 2008-07-03 04:11:42 +00:00
david
bfdc13d311 Fix a typo in the CHANGELOG: aid -> said. 2008-07-02 01:58:32 +00:00
vladimir
ba44abab6e o The Ports/Hosts display in Zenmap now has different colors for open
and closed ports. [Vladimir]

o Fixed the "resolution errors not showing up" bug. Actually, from now
  on, all errors will be displayed properly in the Zenmap window, since
  stderr is also redirected there (until now, only stdout was
  displayed). [Vladimir]
2008-06-30 22:59:11 +00:00
fyodor
b87c27127f credit myself :) 2008-06-29 09:37:46 +00:00
fyodor
9999314a0b update CHANGELOG in prep for upcoming release 2008-06-29 09:06:22 +00:00
fyodor
2c4f8d1a67 o The Nmap Windows self-installer now automatically installs the MS
Visual C++ 2008 runtime components if they aren't already installed
  on a system.  These are some reasonably small DLLs that are
  generally necessary for applications compiled with Visual C++ (with
  dynamic linking).  Many or most systems already have these installed
  from other software packages.  The lack of these components led to
  the error message "The Application failed to intialize properly
  (0xc0150002)." with Nmap 4.65.  A related change is that Nmap on
  Windows is now compiled with /MD rather than /MT so that it
  consistently uses these runtime libraries.  The patch was created by
  Rob Nicholls.
2008-06-29 04:52:00 +00:00