Information

Author(s) Olivier Bonaventure
Deadline No deadline
Submission limit No limitation
Category tags tcp

Tags

Sign in

Utilisation of the SYN and ACK flags during the three-way-handshake used by TCP

The TCP header, shown in the TCP chapter of Computer Networking: Principles, Protocols and Practice contains several flags, including the SYN and the ACK flags. These two flags play an important role during the establishment of a connection. The three segments below correspond to the three-way handshake that is used to establish a TCP connection.


Acknowledgement numbers

Can you infer the value of the SYN and ACK flags in the three segments below ?


0000  d1cc04d28626a13b  0000000060??7080  
0010  00000000020405a0                    

0000  ÑÌ.Ò.&¡;....`?p.
0010  ........        
  • Transmission Control Protocol, Src Port: 53708, Dst Port: 1234, Seq: 2250678587, Len: 0
    • Source Port: 53708
      • Destination Port: 1234
        • Sequence number: 2250678587
          • Acknowledgment number: 0
            • 0110 .... = Header Length: 24 bytes (6)
              • Flags
                • 000. .... .... = Reserved: Not set
                  • ...0 .... .... = Nonce: Not set
                    • .... 0... .... = Congestion Window Reduced (CWR): Not set
                      • .... .0.. .... = ECN-Echo: Not set
                        • .... ..0. .... = Urgent: Not set
                          • .... ...? .... = Acknowledgment: ?
                          • .... .... 0... = Push: Not set
                            • .... .... .0.. = Reset: Not set
                              • .... .... ..?. = Syn: ?
                              • .... .... ...0 = Fin: Not set
                              • Window size value: 28800
                                • Urgent pointer: 0
                                  • Options: (4 bytes), Maximum segment size
                                    • TCP Option - Maximum segment size: 1440 bytes
                                      • Kind: Maximum Segment Size (2)
                                        • Length: 4
                                          • MSS Value: 1440