分析TCP流量

时间:2015-08-23 00:12:46

标签: networking tcp ip wireshark ns-3

我刚刚运行了一个模拟多路径tcp协议,在网络模拟器3中从客户端向服务器发送100,000个字节。我得到了跟踪文件(pcap)并在Wire Shark中对其进行了分析。 flow graph非常奇怪。如何在双方发送和接收ACK?

1 个答案:

答案 0 :(得分:0)

  

如何在双方发送和接收ACK?

因为这就是TCP的工作原理。 RFC 793说:

Acknowledgment Number:  32 bits

  If the ACK control bit is set this field contains the value of the
  next sequence number the sender of the segment is expecting to
  receive.  Once a connection is established this is always sent.

因此,一旦建立连接,连接中的每个数据包都设置了ACK位