TCP Header : Sequence and Acknowledgement Number

TCP Header seq ack

Sequence & Acknowledgement Number

Sequence and acknowledgement fields are another important fields in tcp header.Each of these fields are 32 bits long.

Datas generally sent and received with packets larger than MTU. So using sequence and acknowledgement number getting important during this process.

These fields are in the features that make TCP connection oriented. With sequence and acknowledgement numbers, packet reache to the destination without lost. If any of the packet do not reach to the destination, it is known by its sequence number and requested again. This results no loast during the session.

Before data transfer a new TCP connection is created. The host’s first sequence number that is used during starting of the connection is called “Initial Sequence Number(ISN)”.

From the point of security, this is open to the hijacking attacks. It is easy for an hacker to hijack the system. Different operating systems handle sequence and acknowledgement parameters differently. A hacker checks the ISN number and then determines the operating system. After that hijacking is almost completed. He predict the next sequence number and after that the destination do not understand that it is an hacker. Hacker also use flooding towards the sending host in order to be busy. You can check this scenario better with the below picture.

Sequence and the acknowledgement numbers are also used to reorder of the packets at the remote node.Because sometimes the packets reaches the destiantion at different times and different order.

Let’s explain these sequence and acknowledgement numbers with the below picture.

Lesson tags: tcp, tcp header
Back to: HCNA (HCIA-Datacom) > TCP and UDP
Comments are closed.

HCNA (HCIA-Datacom)

Collapse
Expand
Latest Blog Posts