1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

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.
This commit is contained in:
fyodor
2008-05-06 23:28:34 +00:00
parent 976ebc0414
commit bad1caa2e0
3 changed files with 88 additions and 2 deletions

View File

@@ -1,5 +1,12 @@
# Nmap Changelog ($Id$); -*-text-*-
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.
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 Vista,
but must be downloaded from MS for XP. See

58
configure vendored
View File

@@ -4375,7 +4375,63 @@ _ACEOF
fi
;;
*-solaris2.0* | *-solaris2.1* | *-solaris2.2* | *-solaris2.3* | *-solaris2.4* | *-solaris2.5.1 )
*-solaris2.0*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define SOLARIS 1
_ACEOF
;;
*-solaris2.[1-9][0-9]*)
cat >>confdefs.h <<\_ACEOF
#define SOLARIS 1
_ACEOF
;;
*-solaris2.1*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define SOLARIS 1
_ACEOF
;;
*-solaris2.2*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define SOLARIS 1
_ACEOF
;;
*-solaris2.3*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define SOLARIS 1
_ACEOF
;;
*-solaris2.4*)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
#define SOLARIS 1
_ACEOF
;;
*-solaris2.5.1)
cat >>confdefs.h <<\_ACEOF
#define STUPID_SOLARIS_CHECKSUM_BUG 1
_ACEOF

View File

@@ -138,7 +138,30 @@ case "$host" in
# on HP-UX 11.11 (other versions?) Mikhail Zakharov (zmey20000@yahoo.com)
AC_CHECK_LIB(nm, open_mib)
;;
*-solaris2.0* | *-solaris2.1* | *-solaris2.2* | *-solaris2.3* | *-solaris2.4* | *-solaris2.5.1 )
*-solaris2.0*)
AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
AC_DEFINE(SOLARIS)
;;
*-solaris2.[[1-9]][[0-9]]*)
AC_DEFINE(SOLARIS)
;;
*-solaris2.1*)
AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
AC_DEFINE(SOLARIS)
;;
*-solaris2.2*)
AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
AC_DEFINE(SOLARIS)
;;
*-solaris2.3*)
AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
AC_DEFINE(SOLARIS)
;;
*-solaris2.4*)
AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
AC_DEFINE(SOLARIS)
;;
*-solaris2.5.1)
AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
AC_DEFINE(SOLARIS)
;;