1

In TLS separate implicit sequence numbers for sent and received packets are used to calculate the HMAC in the record layer. The RFC 5246 says:

Each connection state contains a sequence number, which is maintained separately for read and write states.

Why do I need separate sequence numbers? Why can't two parties share the same one?

0

2 Answers 2

1

TLS is for bidirectional traffic, i.e. there are separate data streams for each direction which can have a different position in the data stream. That's why one also needs two sequence numbers to describe these positions. Same as with TCP.

1

Because the two sides don't take turns transmitting. Both sides transmit at the same time.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.