Networking · IP Fundamentals › TCP
Connection-oriented
Cheat sheet · https://pcornel.dk/topic.php?topic=911
Answer
TCP is connection-oriented: a three-way handshake (SYN, SYN-ACK, ACK) sets up the session before data, and sequence numbers, acknowledgements and retransmission make delivery reliable and ordered.
Remember
- SYN, SYN-ACK, ACK establish a connection
- Sequence and acknowledgement numbers track bytes
- Receive windows provide flow control; retransmission handles loss
- A completed handshake proves a transport endpoint, not application correctness.
First checks
- Packet capture showing SYN, SYN-ACK, ACK — handshake
ss -tan state established— sessions
Commands
ss -tnip tcp adjust-mss 1360
Verify in this order
handshake → established → data → teardown
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=911