solaris & STUPID_SOLARIS_CHECKSUM_BUG

Alberto Ornaghi <[email protected]> Thu, 27 May 2004 15:14:37 +0200
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>
there is a problem within the configure script.
I have a solaris 5.8 machine:
SunOS mistica 5.8 Generic_108528-23 sun4u sparc SUNW,UltraAX-i2

and the configure sets up the STUPID_SOLARIS_CHECKSUM_BUG variable because:

     case "`uname -r`" in
     5.4)
         AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
         ;;
     5.5*)
         AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
         ;;
     5.8)
         AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
         AC_DEFINE(HAVE_SOLARIS_IPV6)
         ;;
     5.9)
         AC_DEFINE(STUPID_SOLARIS_CHECKSUM_BUG)
         AC_DEFINE(HAVE_SOLARIS_IPV6)
         ;;

but this host DOES NOT have the solaris bug, thus the checksum is 
evaluated incorrectly.  if I remove the define from config.h all the 
checksums are ok.

anyone who can test against a sunos 5.8 ? or 5.9 ?
may it depend on the patchlevel installed ?

I suspect 5.8 and 5.9 are immune to the stupid_solaris_checksum_bug...

bye

-- 

    --==> ALoR <==---------------------- -  -   -

  There are only 10 types of people in this world...
  Those who understand binary, and those who don't.