TCP Flags Reference

Reference guide for TCP flags: SYN, ACK, FIN, RST, PSH, URG.

TCP flags are control bits in the TCP header that manage the state of connections.

SYNBit 1

Synchronize β€” initiates a connection

Connection establishment (3-way handshake step 1&2)

ACKBit 4

Acknowledgment β€” acknowledges received data

Acknowledges all segments after initial SYN

FINBit 0

Finish β€” gracefully closes a connection

Connection termination (4-way close)

RSTBit 2

Reset β€” abruptly closes a connection

Error recovery, refuse connections, close immediately

PSHBit 3

Push β€” push data to application immediately

Real-time applications like SSH, Telnet

URGBit 5

Urgent β€” urgent pointer field is valid

Out-of-band data signaling (rarely used)

ECEBit 6

ECN-Echo β€” congestion notification

Explicit Congestion Notification support

CWRBit 7

Congestion Window Reduced

Tells peer congestion window was reduced

Related Tools

About this tool

Reference guide for TCP flags: SYN, ACK, FIN, RST, PSH, URG.