Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-isakmp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 25 Oct 2001 18:40:29 -0500 (CDT)
guy         2001/10/25 18:40:28 CDT

  Modified files:
    .                    packet-isakmp.c 
  Log:
  Loop over all the sub-payloads of a Security Association payload; make a
  common routine that loops over payloads.
  
  Have that routine check for a payload of type "None", which means that
  there's extra data after a payload that claimed to be the last one (by
  virtue of having a next payload type of "None").
  
  When dissecting a Security Association payload, make sure we have enough
  data for the Domain of Interpretation field before putting it into the
  tree, dissect the situation as a 4-byte quantity followed by a set of
  sub-payloads only of the DOI is "IPSEC" (otherwise dissect it as raw
  data), and make sure we have enough data for the 4-byte situation field
  before putting it into the tree.
  
  When dissecting a Proposal payload, show the raw bytes of the SPI.
  
  Revision  Changes    Path
  1.45      +82 -48    ethereal/packet-isakmp.c