← All tools

TCP Flags Reference

All 9 TCP flags with meanings and when you see them in captures.

FlagMeaningWhen seen
NSNonce Sum, ECN concealment protectionRarely; ECN nonce experiments.
CWRCongestion Window Reduced, sender throttlesAfter congestion; sender confirms it throttled.
ECEECN Echo, network congestion signalDuring congestion; receiver echoes ECN signal.
URGUrgent pointer field significantLegacy urgent/OOB data, e.g. Telnet interrupts.
ACKAcknowledgment number validAlmost every packet after the initial SYN.
PSHPush data to application nowInteractive sends pushing buffered data up.
RSTReset connection immediatelyRefused port, aborted or half-open reset.
SYNSynchronize sequence numbers, openConnection open handshake (SYN, SYN-ACK).
FINFinish, no more data, closeGraceful close, each side in turn.

How to read the result

Flags live in the TCP header control bits. handshake = SYN, steady state = ACK/PSH, teardown = FIN, abort = RST, congestion = ECE/CWR.

Example

SYN → SYN-ACK → ACK opens; FIN closes; RST aborts.

FAQ

What does SYN-ACK mean?

A packet with both SYN and ACK set: the server accepts the open request and syncs its own sequence number.

FIN vs RST?

FIN is a graceful close (data delivered, each side finishes); RST aborts immediately, dropping state.