Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-tcp.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: Wed, 16 Oct 2002 21:19:30 -0500 (CDT)
guy         2002/10/16 21:19:30 CDT

  Modified files:
    .                    packet-tcp.c 
  Log:
  From Ronnie Sahlberg: use the frame number of a TCP segment, rather than
  its starting sequence number, as the "fragment ID" when reassembling,
  and include the source and destination port numbers in a
  "tcp_segment_key" structure and use that as part of the key in the hash
  table for segments, so that we don't get spoofed by segments in two
  directions in the same conversation, or by segments in two separate
  conversations between the same hosts, having the same starting sequence
  number (which is not unlikely to happen if relative sequence numbers are
  being used).
  
  Revision  Changes    Path
  1.161     +14 -6     ethereal/packet-tcp.c