How can I find out if a TCP packet is keep-alive?

Wireshark and Network Monitor provide filters for this, but I want to know how I can determine if a packet is a permanent or permanent TCP server by looking at the header or payload.

+4
source share
1 answer

The keep-alive TCP packet is an ACK with a sequence number set one less than the current sequence number for the connection.

+6
source

All Articles