Sequence number

From Computer History Wiki
Jump to: navigation, search

In a packet switching communication network, a sequence number is given to even byte or packet (different systems have made different choices on this point) which is sent from one entity to another. This allows each item to be uniquely acknowledged after it has been sent.

In the TCP/IP protocol suite, the initial sequence number used on any given connection is random. This was initially intended to guard against old packets left circulating in the internet, but it later turned out that systems which did not pick the number randomly were vulnerable to attacks based on being able to predict sequence numbers.