david
a8e9dbf814
Use an explicit --with-zenmap in zenmap.spec.in.
2007-11-22 08:38:41 +00:00
david
1f1e8bcb1d
Check for Python only if Zenmap is requested, and bail out if Zenmap is
...
explicitly requested and Python is not available.
2007-11-22 08:37:34 +00:00
david
53752ad8de
Change l_exc_finalize to recognize both nil and false as exception indicators.
...
Previously only nil did this but most of NSE's internal functions return nil. A
value of true means there was no exception and anything else is a fatal error.
2007-11-22 08:31:13 +00:00
david
672f9fc527
Fix a typing error in configure.ac: with_nsock -> with_libnsock. This made it impossible to name an alternative nsock directory with something like --with-libnsock=/home/david/nsock.w
2007-11-22 07:45:28 +00:00
david
70425e715d
Make nmap be rebuilt when something in a subdirectory changes. Rather than
...
"all" depending on libpcre/libpcre.a, it now depends on a target pcre_build,
which always runs and does the build in the subdirectory. "nmap" depends on
libpcre/libpcre.a itself. The same thing happens for other subdirectory builds.
Subdirectory builds are prerequisites of "all" and "make nmap" happens in the
body of "all" so the subdirectories are always built first.
2007-11-22 07:43:59 +00:00
david
3782d2c020
Add an nmap.have_ssl NSE function and use it in the script showHTMLTitle.nse to
...
avoid doing an SSL probe if SSL is not available.
2007-11-22 06:38:23 +00:00
david
1c59946d7a
Throw an exception instead of calling luaL_argerror in l_nsock_connect when an SSL connection is requested but OpenSSL isn't available.
2007-11-21 02:31:07 +00:00
david
fbeb42a7a1
Remove an unused "url" local variable from scripts/showHTMLTitle.nse.
2007-11-20 23:39:14 +00:00
david
a460f4433c
Make nbase_dist_clean and nsock_dist_clean with distclean.
2007-11-20 23:37:36 +00:00
david
d63bb4db35
Use literal directory names (not variable references) in calls to
...
AC_CONFIG_SUBDIRS to avoid this warning:
$ autoconf
configure.ac:689: warning: AC_CONFIG_SUBDIRS: you should use literals
autoconf/status.m4:929: AC_CONFIG_SUBDIRS is expanded from...
configure.ac:689: the top level
2007-11-19 21:49:56 +00:00
david
d029d1d75a
Look for strip in configure and strip nmap with strip -x on install. install -s
...
or strip with no arguments was stripping dynamically loaded NSE functions on
Mac OS X. The difference between plain strip and strip -x was so slight on
Linux that I just made it unconditional.
2007-11-19 21:36:21 +00:00
david
891abf25c3
Move the call to AC_CANONICAL_HOST up higher in configure.ac.
2007-11-19 21:01:33 +00:00
fyodor
1192b1b2cb
trivial wording change to CHANGELOG; nmap-os-db resorted
2007-11-19 05:36:48 +00:00
fyodor
1f13e32bb9
changelog fixes
2007-11-19 05:28:09 +00:00
kris
74eaa60bba
just fixing a few typos in the CHANGELOG
2007-11-19 02:52:46 +00:00
fyodor
91726c3ab2
version number bump
2007-11-19 02:35:37 +00:00
fyodor
351b65429b
reflect latest changes in CHANGELOG, bump Nmap version number
2007-11-19 02:28:02 +00:00
david
d345085863
Regenerate configure scripts with Autoconf 2.61 and update config.guess
...
and config.sub with the latest versions from
http://cvs.savannah.gnu.org/viewvc/config/?root=config .
2007-11-18 21:36:31 +00:00
david
85ab7254fa
Re-override distutils's overriding of the Python interpreter path to be
...
"/usr/bin/env python" when DESTDIR is defined. This keeps from hardcoding a
specific interpreter location when building for installation on another
machine.
2007-11-16 22:18:09 +00:00
david
c6739547ef
Change the dependency from gtk2 to pygtk2 in zenmap.spec.in.
2007-11-16 19:38:07 +00:00
david
5ad8ce148d
Add
...
AutoReqProv: no
to zenmap.spec.in. This keeps dependencies from being calculated
automatically. This is because we don't want RPM to say the package
depends on python(abi) = 2.4, say, when it doesn't really. To replace
the automatic dependency calculation I added an explicit dependency on
python >= 2.4.
2007-11-16 19:35:38 +00:00
david
c743fd5353
Make some corrections to nmap-os-db suggested by João Medeiros.
2007-11-16 17:07:51 +00:00
kris
477214a779
Fixing another possible NULL dereference, in getTracePort() in traceroute.cc. Found with Coverity, CID 29
2007-11-16 03:45:03 +00:00
kris
ad7b6e416b
This isn't fixing a bug; Coverity (CID 27) flagged this so I looked, and it doesn't make sense. Coverity saw that 'received' was tested again NULL, but was dereferenced afterwards with no check. So it should either be checked later, or not checked at all. Following timing.cc, and the fact that it isn't passed NULL anywhere, and because it doesn't make sense to pass 'adjustTimeouts' nothing to work with, I've just removed the check. Yeah, this log message is way longer than the patch is :).
2007-11-16 03:27:30 +00:00
kris
66064ad778
Fixing another possible NULL dereference, this time in readTraceResponses() in traceroute.cc. Any replies at all are apparently counted below this section of code, and there is no else case to go with this if and else if, so I figure I'll just let it go false so it goes along with any other abnormal responses. Found with Coverity, CID 28.
2007-11-16 03:14:59 +00:00
kris
7f1654e3ac
Adding a couple free()s when having an early return in l_port_accessor() in nse_nmaplib.cc. Coverity (CID 32) found function_name, I added target_ip.
2007-11-16 02:20:09 +00:00
kris
3bb4599edd
Fixing another possible negative array index, this time during Bounce Scan. Found with Coverity, CID 12.
2007-11-16 02:03:13 +00:00
kris
b452a38426
Call arp_close() on arp handle in setTargetNextHopMAC() in tcpip.cc. This functions frees it and closes it's descriptor. Found with Coverity, CID 16
2007-11-16 01:50:51 +00:00
kris
6ce9d03d8a
Return NULL in reason_sort() if tail is NULL as it's possible tail never gets redefined. I think that's better than an assert(tail). Found with Coverity, CID 24
2007-11-16 01:26:42 +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
kris
242744baaa
Avoid negative array index (-1). Found with Coverity, CID 11
2007-11-16 00:17:23 +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
c5244fb05f
Fixing a double-free crash caused when using -O and --release-memory. Found with Coverity, CID 19
2007-11-15 23:36:18 +00:00
kris
2fbed3e856
Fixing a bug in TargetGroup::parse_expr(). A specification like '192.168.1.-4' would actually cause Nmap to treat it like '192.168.1.-'. Found with Coverity, CID 2.
2007-11-15 23:01:32 +00:00
kris
8de1fda6b3
Removing numberlist2array(); it's unused since David switched the ping port selection to use the same mechanism as port scans (e.g. using -PShttp*).
2007-11-15 22:42:17 +00:00
kris
01571cee00
fixing a bug in setState() in traceroute.cc. A || was used instead of && which caused it to always evaluate true -- Coverity CID 23
2007-11-15 22:25:00 +00:00
fyodor
acdaac1464
Update port state reason to script-set when an NSE script changes the --reason of a port state. Also make reason element available in port-table. Patch by Matthew Boyle
2007-11-15 21:03:00 +00:00
david
809a1e4612
Change paths in Makefile and zenmap.spec.in to match Zenmap file name changes.
2007-11-15 20:51:55 +00:00
david
5ac140d710
Upgrade WinPcap to version 4.02.
2007-11-15 20:30:47 +00:00
david
696134afc1
Add instructions on how to include the Vista version of Packet.dll in the WinPcap upgrading instructions.
2007-11-15 20:25:13 +00:00
david
1d2eba6405
Add a note about updating the LICENSE file in the WinPcap upgrading instructions.
2007-11-15 18:27:33 +00:00
david
661a4e6d4a
Reformat the WinPcap upgrading instructions and add some more information (file locations, web addresses).
2007-11-15 18:08:38 +00:00
david
95fa8efd19
Don't include sys/sockio.h from tcpip.cc; it's already in tcpip.h.
2007-11-15 17:29:22 +00:00
fyodor
39e2f3ed61
New PPTP version detection script from Thomas Buchanan
2007-11-14 23:30:22 +00:00
fyodor
0cdedc07fc
reword error message
2007-11-14 22:58:37 +00:00
ejlbell
34763e08f4
Added support for multiple states in portnumber() rules
2007-11-14 20:04:45 +00:00
fyodor
d928402c79
remove hardcoded (and wrong) winpcap version number
2007-11-14 02:04:37 +00:00
fyodor
a62e2976da
no longer strip Nmap binary. It was causing problems on OS X, and I noticed that debian package removes that too
2007-11-14 00:25:49 +00:00
david
6af91e9519
Link with -ldl whenever we include liblua, independent of whether we use
...
OpenSSL.
2007-11-13 01:55:37 +00:00
david
0e5ba41d15
Align blocks to 2 * sizeof(size_t) in charpool.c. This is what Glibc's malloc
...
does.
2007-11-13 01:17:39 +00:00