The 3-way handshake in Wireshark: SYN, SYN-ACK and ACK packets
Sign in to read this lesson
Let's see the 3-way handshake on a real network with Wireshark. In each of the three packets we look at the Flags field and the sequence and acknowledgment numbers: SYN (0x02), SYN-ACK (0x12) and ACK (0x10).
What you will learn
- On a real network the 3-way handshake shows up in Wireshark as three packets in a row: [SYN], [SYN, ACK], [ACK].
- The message type (SYN, ACK) is set in the Flags field of the TCP header: SYN = 0x02, SYN-ACK = 0x12, ACK = 0x10.
- Wireshark shows relative sequence numbers, so the numbers start at 0.
- The computer connects from source port 54841 to the server's http (80) port.
- In the last step the computer that started the handshake sets the ACK bit and acknowledges the other side's SYN.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.