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: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2003 19:25:38 -0500 (CDT)
sahlberg    2003/10/24 19:25:38 CDT

  Modified files:
    .                    packet-tcp.c 
  Log:
  Update / cleanup to tcp sequence number analysis and new features
  
  moved some variables to the structure where they belonged instead of where they
  currently were and reduced the complexity of the code
  
  Fast Retransmission:
  Ethereal not tries to detect and flag FastRetransmissions:
  The heuristics for this check is:
    >=3 dupacks in other direction
    this semgent is what the dupacks are asking for
    it arrived within 10ms of the last dupack (10ms should be short enough to not confuse with real RTOs)
  
  OutOfOrder segments
  Previously all segments that did not advance the right edge of the window was flagged as retransmission   now ethereal will try to flag segments that are merely reordered as OutOfOrder segments insteaD
  
  tHE HEURISTICS ARE:
     it has not been ACKed yet
     we have not seen it before
     it arrived within 4ms of the segment immediately to the right in the window
  
  Revision  Changes    Path
  1.209     +221 -47   ethereal/packet-tcp.c