diff --git a/CHANGELOG b/CHANGELOG index 9cf27d755..80a0c57a1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,13 +1,47 @@ # Nmap Changelog ($Id$); -*-text-*- + +o Updated the LibPCRE build system to add the -fno-thread-jumps option + to gcc when compiling on the new Intel-based Apple Mac OS X systems. + Hopefully this resolves the version detection crashes that several + people have reported on such systems. Thanks to Kurt Grutzmacher + (grutz(a)jingojango.net) for sending the configure.ac patch. + +Nmap 4.02ALPHA2 + +o Updated to a newer XSL stylesheet (for XML to HTML output + tranformation) by Benjamin Erb. This new version includes IP + address sorting, removal of javascript requirements, some new + address, hostname, and Nmap version information, and various minor + tweaks and fixes. + +o Cleaned up the Amiga port code to use atexit() rather than the + previous macro hack. Thanks to Kris Katterjohn (kjak(a)ispwest.com) + for the patch. Applied maybe half a dozen new other code cleanup + patches from him as well. + o Made some changes to various Nmap initialization functions which - help ALT Linux (altlinux.org) developers run Nmap in a chroot - environment. Thanks to Dmitry V. Levin (ldv(a)altlinux.org) for the - patch. + help ALT Linux (altlinux.org) and Owl (openwall.com) developers run + Nmap in a chroot environment. Thanks to Dmitry V. Levin + (ldv(a)altlinux.org) for the patch. o Cleaned up the code a bit by making a bunch (nearly 100) global symols (mostly function calls) static. I was also able to removed - some unused functions. Thanks to Dmitry V. Levin (ldv(a)altlinux.org) - for sending a list of candidate symbols. + some unused functions and superfluous config.h.in defines. Thanks + to Dmitry V. Levin (ldv(a)altlinux.org) for sending a list of + candidate symbols. + +o Nmap now tests for the existence of data files using stat(2) rather + than testing whether they can be opened for reading (with fopen). + This is because some device files (tape drives, etc.) may react badly + to being opened at all. Thanks to Dmitry V. Levin + (ldv(a)altlinux.org) for the suggestion. + +o Changed Nmap to cache interface information rather than opening and + closing it (with dnet's eth_open and eth_close functions) all the + time. + +o Applied a one-character Visual Studio 2005 compatability patch from + kx (kxmail(a)gmail.com). It changed getch() into _getch() on Windows. Nmap 4.02ALPHA1 diff --git a/Makefile.in b/Makefile.in index 76531d443..99c6b5de6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,4 +1,4 @@ -export NMAP_VERSION = 4.02Alpha1 +export NMAP_VERSION = 4.02Alpha2 NMAP_NAME= Nmap NMAP_URL= http://www.insecure.org/nmap/ NMAP_PLATFORM=@host@ diff --git a/NmapOps.cc b/NmapOps.cc index 05bcd3d9b..c8f36c0e0 100644 --- a/NmapOps.cc +++ b/NmapOps.cc @@ -310,7 +310,7 @@ void NmapOps::ValidateOptions() { } if (pingtype != PINGTYPE_NONE && spoofsource) { - error("WARNING: If -S is being used to fake your source address, you may also have to use -e and -P0 . If you are using it to specify your real source address, you can ignore this warning."); + error("WARNING: If -S is being used to fake your source address, you may also have to use -e and -P0 . If you are using it to specify your real source address, you can ignore this warning."); } if (pingtype != PINGTYPE_NONE && idlescan) { @@ -428,7 +428,7 @@ void NmapOps::ValidateOptions() { } if (af() == AF_INET6 && (numdecoys|osscan|bouncescan|fragscan|ackscan|finscan|idlescan|ipprotscan|maimonscan|nullscan|rpcscan|synscan|udpscan|windowscan|xmasscan)) { - fatal("Sorry -- IPv6 support is currently only available for connect() scan (-sT), ping scan (-sP), and list scan (-sL). Further support is under consideration."); + fatal("Sorry -- IPv6 support is currently only available for connect() scan (-sT), ping scan (-sP), and list scan (-sL). OS detection and decoys are also not supported with IPv6. Further support is under consideration."); } if (af() != AF_INET) mass_dns = false; diff --git a/Target.cc b/Target.cc index 1ee086c6e..3472f6fd9 100644 --- a/Target.cc +++ b/Target.cc @@ -277,8 +277,6 @@ void Target::setHostName(char *name) { hostname = NULL; } if (name) { - if (strchr(name, '%')) { - } p = hostname = strdup(name); while (*p) { // I think only a-z A-Z 0-9 . and - are allowed, but I'll be a little more diff --git a/config.h.in b/config.h.in index 75da51f7c..b93444312 100644 --- a/config.h.in +++ b/config.h.in @@ -106,8 +106,6 @@ #undef HAVE_STRUCT_IP -#undef HAVE_USLEEP - #undef HAVE_NANOSLEEP #undef HAVE_STRUCT_ICMP @@ -149,8 +147,6 @@ #undef HAVE_TERMIOS_H -#undef HAVE_PCRE_H - #undef HAVE_PCRE_PCRE_H #undef BSD_NETWORKING @@ -159,12 +155,8 @@ #undef HAVE_STRCASESTR -#undef HAVE_GETOPT_LONG - #undef IN_ADDR_DEEPSTRUCT -#undef HAVE_NETINET_IN_SYSTEM_H - #undef HAVE_SOCKADDR_SA_LEN #undef HAVE_NETINET_IF_ETHER_H diff --git a/docs/nmap.1 b/docs/nmap.1 index 8e5093ee4..bbbe8127a 100644 --- a/docs/nmap.1 +++ b/docs/nmap.1 @@ -2,7 +2,7 @@ .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). .\" Instead of manually editing it, you probably should edit the DocBook XML .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. -.TH "NMAP" "1" "03/03/2006" "" "Nmap Reference Guide" +.TH "NMAP" "1" "03/08/2006" "" "Nmap Reference Guide" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) @@ -131,14 +131,16 @@ OS DETECTION: \-\-osscan\-limit: Limit OS detection to promising targets \-\-osscan\-guess: Guess OS more aggressively TIMING AND PERFORMANCE: + Options which take