本文介绍了如何确定数据包是否为 TCP Keep-Alive?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

Wireshark 和网络监视器为此提供了过滤器,但我想知道如何通过查看标头或有效负载来推断数据包是 TCP Keep-Alive 还是 Keep-Alive Ack.

Wireshark and Network Monitor provide filters for this but I want to know how can I infer whether a packet is a TCP Keep-Alive or Keep-Alive Ack by looking at the header or payload.

推荐答案

TCP keep-alive 数据包是一个 ACK​​,其序列号设置为小于连接的当前序列号.

A TCP keep-alive packet is an ACK with the sequence number set to one less than thecurrent sequence number for the connection.

这篇关于如何确定数据包是否为 TCP Keep-Alive?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 15:35