Information

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

Tags

Sign in

Reordering the three-way-handshake

A TCP connection, as explained in the TCP chapter of Computer Networking: Principles, Protocols and Practice always starts with a three-way-handshake.


Three-way handshake

Can you correctly reorder the three segments that are used to establish a TCP connection ?


0000  d1d604d2f5872037  0139274450107080  
0010  00000000                            

0000  ÑÖ.Òõ. 7.9'DP.p.
0010  ....            
  • Transmission Control Protocol, Src Port: 53718, Dst Port: 1234, Seq: 4119273527, Ack: 20522820, Len: 0
    • Source Port: 53718
      • Destination Port: 1234
        • Sequence number: 4119273527
          • Acknowledgment number: 20522820
            • 0101 .... = Header Length: 20 bytes (5)
              • Flags: 0x010 (ACK)
                • 000. .... .... = Reserved: Not set
                  • ...0 .... .... = Nonce: Not set
                    • .... 0... .... = Congestion Window Reduced (CWR): Not set
                      • .... .0.. .... = ECN-Echo: Not set
                        • .... ..0. .... = Urgent: Not set
                          • .... ...1 .... = Acknowledgment: Set
                            • .... .... 0... = Push: Not set
                              • .... .... .0.. = Reset: Not set
                                • .... .... ..0. = Syn: Not set
                                  • .... .... ...0 = Fin: Not set
                                  • Window size value: 28800
                                    • Urgent pointer: 0