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
67739dfa73 Create $(DESTDIR)$(mandir)/man1 before trying to install zenmap.1 into it in
Makefile.in.
2008-05-06 23:55:25 +00:00
fyodor
bad1caa2e0 o Fixed a bug which caused Nmap to send bad checksums on Solaris 10
x86.  This was due to a workaround for an Ancient Solaris 2.1 bug
  which activated when the OS string matched "solaris2.1*".  The
  problem has now been resolved until Solaris 20 comes out and hits
  our "solaris2.2*" bug workarounds. Thanks to Nathan Bills for the
  problem report.  Fixed by Fyodor.
2008-05-06 23:28:34 +00:00
doug
976ebc0414 Anchored the hunchentoot server line on a CRLF boundary thanks
to suggestion from Fyodor.
2008-05-06 22:36:32 +00:00
bmenrigh
65c650382f Simple typeo (XP->Vista) fix 2008-05-06 07:32:44 +00:00
fyodor
5e8515e5fd o We now compile in IPv6 support on Windows. In order to use this,
you need to have IPv6 set up.  It is installed by default on XP, but
  must be downloaded from MS for XP.  See
  http://www.microsoft.com/technet/network/ipv6/ipv6faq.mspx . [Kris]
2008-05-06 07:16:38 +00:00
david
97e78f4722 Update macosx/Makefile to reflect that it builds an installer for both Nmap and
Zenmap now.
2008-05-06 05:14:46 +00:00
doug
72453fc4ed New match line for hunchentoot lisp httpd 2008-05-06 05:07:15 +00:00
bmenrigh
9b9d2bd85e Updated all the stray calls to rand() to use nbase_rnd instead. The
only code left in Nmap that still uses rand() is in the Lua math 
library.  Perhaps at some point we'll need to expose high-quality random 
numbers to Lua via our custom nmap library.
2008-05-06 01:05:51 +00:00
bmenrigh
19f44f6648 This service patch-cycle has taken quite a bit longer because feedback
for remaining services on campus has been exceptionally poor.

* Added LANDesk Management Suite Targeted Multicast Service

* Changed Microsoft-HTTPAPI (SSDP/UPnP) match to be more generic to 
  better match the errors it returns

* Added OpenVMS 8.3 Alpha telnetd

* Changed vmware-auth matches to slightly generalize them so they catch 
  more auth settings

* Changed Snap Appliance webadmin to catch cases where a non-401
  response is given

* Changed a generic Apache match to use non-greedy .* to fix
  capturing too much (more work/testing needed to fully fix)

We still have a few hundred services to go on my todo list; I'm still
working on them...
2008-05-05 20:01:06 +00:00
david
4fa44aecbf Split Zenmap uninstallation into its own makefile target uninstall-zenmap, to
make it easier when we actually support uninstalling Zenmap with the makefile.
2008-05-05 18:33:21 +00:00
david
a816e2d4dc Install the zenmap man page in the install-zenmap target, not the install-nmap
target.
2008-05-05 18:12:19 +00:00
david
7cd445591c Use DESTDIR in the uninstall target in Makefile.in. This is, for example, what
Automake does. Otherwise, when you run an uninstall, it will delete
/usr/bin/nmap, not the nmap you might be staging elsewhere. This has no effect
if DESTDIR is undefined.
2008-05-05 18:00:31 +00:00
david
298fe63173 Add to CHANGELOG:
o The Zenmap installer and uninstaller are more careful about escaping
  filenames and dealing with an installation root (DESTDIR). [David]
2008-05-05 17:33:23 +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
fyodor
d622c98e4b o Fix a couple bugs in the way the Nmap built system checked for an
existing LUA library.  A bashism caused one test to fail on system
  which don't use bash as /bin/sh, and another bug fixed --with-liblua
  configure option for specifying your own liblua. [Daniel
  Roethlisberger]
2008-05-04 19:27:34 +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
38fd81df2d latest rendered docs 2008-05-03 08:31:44 +00:00
fyodor
ce040e2431 Finish CHANGELOG for upcoming 4.62 release 2008-05-03 08:22:18 +00:00
fyodor
1007c60d5a o Added release dates for each version to this CHANGELOG going back to
Nmap 3.00 (July 31, 2002).  Dates are in MM/DD/YY format.  If someone
  wants to track down dates for the last 22% of the file (pre-3.00), you
  are welcome to do so and send a patch.  Searching Google for the
  version number and site:seclists.org seems to work well.

o Also started the process of preparing changelog for next release.
2008-05-03 06:19:49 +00:00
david
7b9cc11e1e Undo r7283 (doAnyOutstandingRestransmits performance improvements) pending
further testing on Windows.
2008-05-03 05:42:16 +00:00
fyodor
2b35d4d1c5 regenerated 2008-05-02 22:34:06 +00:00
david
85c8ece184 Document some limitations of decoys in the source and in the reference
guide. They don't honor scan delay and may violate congestion control.

Both this things should be fixed. I was going to do it by having
get_next_target_probe just return the same probe multiple times, and
then either extend struct probespec to include a source address or have
sendIPScanProbe keep track of the decoy index and fill in source
addresses. But I was stopped by timing pings. Those should certainly be
decoyed, but in the code they are just sent as they are needed, and
don't have a dispatching function to modify. What would be good is a
global queue of probes waiting to be sent you could just insert all your
spoofed probes into, and then let the rest of the code take care of
scheduling them.
2008-05-02 20:38:27 +00:00
david
9c96ad1340 Merge from /nmap-exp/david/nmap-fixed-rate.
This change keeps a list of probes awaiting retransmit so that
doAnyOutstandingRetransmits doesn't have to search for them. At high
scan rates this function could take 100 ms or more. Now I have measured
it to take 2 ms or less.

The variable num_probes_waiting_retransmit has been renamed
num_probes_timed_out to better explain its purpose. This list of probes
that can be retransmitted immediately is called
probes_waiting_retransmits, but not all timed-out probes can be
retransmitted immediately. I've done my best to explain the distinction
in comments.

I thought long and hard about how to address this issue, and this is
what I decided on. But of course, every little optimization brings some
complexity and the chance of making a mistake. I'd appreciate someone
taking a look at this change.
2008-05-02 05:42:55 +00:00
david
0d64547038 Make some modifications to the installer, such as including the readme and license. 2008-04-30 00:00:58 +00:00
david
df8e65dca3 Add some more information to the macosx README so it can be displayed in the installer. 2008-04-29 23:47:52 +00:00
david
a0eb6c7730 Remove a couple of known issues from macosx/README. 2008-04-29 22:16:37 +00:00
kris
16bc72d65f After having read the proper documentation and talking with Fyodor, I realize
I had messed up some SSL services in r7233.  This is reverting the changes
which involved service names in the form of "ssl/*".
2008-04-29 20:56:57 +00:00
fyodor
2e3558fe3f Recognize Helix (aka real media) server on solaris. patch from Matt Selsky 2008-04-29 20:20:22 +00:00
kris
f72667fe44 Syncing the service names between nmap-service-probes and nmap-services
$ svn diff | grep '^+[^+#]' | wc -l
101

nmap-service-probes

backupexecra    => backupexec-remote
bitdefender-ctl => bitdefender-ctrl
bittorent       => bittorrent
chat-ctl        => chat-ctrl
dantzretrospect => retrospect
directconenct   => directconnect
fw1-topo        => fw1-topology
icecreamd       => icecream
issrealsecure   => iss-realsecure
landesk         => landesk-rc
memcached       => memcache
msactivesync    => activesync
oracle-dbsnmp   => dbsnmp
policyd         => policy
pppd            => ppp
rpc             => rpcbind
spamd           => spamassassin
ssl/imap        => imaps
ssl/pop3        => pop3s
ssl/sophos      => sophos/ssl
ssl/vmware-auth => vmware-auth/ssl
telnet-ssl      => telnets
xmailctl        => xmail-ctrl

nmap-services

afpovertcp            => afp
bittorent-tracker     => bittorrent-tracker
boinc-client          => boinc
cfingerd              => finger
dantz                 => retrospect
FW1-mc-fwmodule       => fw1-mc-fwmodule
Fw1-mc-gui            => fw1-mc-gui
FW1-or-bgmp           => fw1-or-bgmp
FW1-secureremote      => fw1-secureremote
gkrellmd              => gkrellm
iss-realsecure-sensor => iss-realsecure
macon-{tcp,udp}       => macon
maybeFW1              => maybe-fw1
maybeveritas          => maybe-veritas
nessusd               => nessus
NetBus                => netbus
opsec_*               => opsec-*
orasrv         [udp]  => oracle
postgres              => postgresql
PowerChute            => powerchute
PowerChutePLUS        => powerchuteplus
tor-controlport       => tor-control
tor-socksport         => tor-socks
tor-transport         => tor-trans
UPnP                  => upnp
VeritasBackupExec     => backupexec
VeritasNetbackup      => netbackup
2008-04-29 17:03:09 +00:00
kris
9a89b403f9 Moving Nmap's config.h[.in] to nmap_config.h[.in] 2008-04-28 17:53:32 +00:00
david
a3860a848a Put universal building flags in macosx/Makefile. This could be made
configurable but right now I'm leaning towards building just universal
binaries.
2008-04-27 04:25:32 +00:00
david
b6f898d573 Put CFLAGS in LUAFLAGS from configure. liblua needs these in order to be built
universal and linked against a universal nmap binary.
2008-04-27 03:53:02 +00:00
david
5f2375d3e7 Don't use CXXFLAGS when building makefile.dep. CXXFLAGS contains "-arch ppc
-arch i386" when building a universal binary on Mac OS X, and you can't
generate dependencies while using those flags. Include directories were
previously moved to CPPFLAGS so the right dependencies are still found.
2008-04-25 23:54:33 +00:00
david
e902f3be2e Accumulate include directories in CPPFLAGS, not CXXFLAGS, in the configure
script. This is to enable us to use just CPPFLAGS where we don't want CXXFLAGS
also. An example of this is when we are generating dependencies with -MM. The
Apple GCC won't let us use this flag when we also give "-arch ppc -arch i386"
in CXXFLAGS, as we would when generating a universal binary.
2008-04-25 23:51:26 +00:00
david
7d2a93ec02 Modify the macosx makefile and add files necessary to build a managed
metapackage (.mpkg) installer. The installer lets you pick if you want to
install Nmap or Zenmap or both. It puts Nmap in /usr/local and the previously
developed Zenmap.app in /Applications.
2008-04-24 22:54:19 +00:00
david
6982bacef5 Change a variable name and space out RateMeter::update to make it easier to understand. 2008-04-24 20:32:47 +00:00
david
5a8e417c0c Rewrite some RateMeter code to avoid an integer overflow reported by Kris. 2008-04-24 18:44:02 +00:00
david
41dc7996b7 Add TIMEVAL_BEFORE and TIMEVAL_AFTER macros to untils.h. 2008-04-24 17:30:46 +00:00
fyodor
06a1d3a8b8 changelog entry for get_random_bytes fix 2008-04-24 03:26:38 +00:00
fyodor
884395da68 potential fix for the Nbase get_random_bytes() bug on Windows 2008-04-24 03:23:01 +00:00
david
f8b3f905c7 Add the printStatusMessage fix to CHANGELOG. 2008-04-23 22:44:39 +00:00
david
1ea0135dc8 Fix printStatusMessage to show the correct elapsed time after 24
minutes. Part of what printStatusMessage does is display the total
elapsed time. The code looked like this:

  log_write(LOG_STDOUT, 
	    "Stats: %d:%02d:%02d elapsed; %d hosts completed (%d up), %d undergoing %s\n", 
	    time/60/24, time/60 % 24, time % 60, o.numhosts_scanned - o.numhosts_scanning, 
	    o.numhosts_up, o.numhosts_scanning, scantype2str(o.current_scantype));

where time is the number of seconds since the program started. However,
this code acts as though each hour has only 24 minutes. That is, after
0:23:59 it would become 1:00:00. This commit changes the 24s to 60s to
make it work right.
2008-04-23 22:42:41 +00:00
david
64b7e255ef Add the segmentation fault fix from zenmap r7176 to the CHANGELOG. 2008-04-22 18:35:12 +00:00
fyodor
a552a52eb1 change all -P0 instances to -PN, rewrite protocol ping (-PO) section a bit 2008-04-19 09:08:59 +00:00
kris
44a4cb90e6 Fixing the assertion failure: "Target.cc:396: void Target::stopTimeOutClock(const timeval*): Assertion 'htn.toclock_running == true' failed." This was caused when a target had scripts in multiple run levels. The problem was the time-out clocks added for --host-timeout support in NSE (r6657--appears to be present since 4.52). Now the time-out clocks are started before each runlevel execution, which (besides not failing assert) makes more sense because the timer would have been counting even when the target had no scripts in the current runlevel. 2008-04-16 17:56:48 +00:00
fyodor
f2938a2d37 o Fixed the NmapArpCache so that it actually works. Previously, Nmap
was always falling back to the system ARP cache. Of course this
  raises the question of whether NmapArpCache is needed in the first
  place. [Daniel Roethlisberger]
2008-04-14 23:55:25 +00:00
kris
10899aba9b Adding a service-probes match for the Motorola WE800G bridge. I used the WR850G line directly below it as a starting point since I have both of these devices on my LAN--they are extraordinarily similar. 2008-04-14 04:25:40 +00:00
david
b1facd9a19 Add the vendor "Apple" to some Mac OS fingerprints. 2008-04-14 02:28:16 +00:00
david
7f910924ec Mention the removal of tcpsequence class in the CHANGELOG, and bump the XML output version to 1.02. 2008-04-11 19:33:49 +00:00
david
c0490af2fd Remove mentions of the TCP sequence class in XML output. 2008-04-11 18:57:32 +00:00