First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

How do I get relative ack number greater than sequence number?

I could see my relative sequence number as "1" and my relative ack number as "493". As far as i know, the sequence number is starting number of packet number i'm going to send and ack is one the packet number which the computer at the other end expects to arrive. Here both contradicts.

relative sequence number = 1 and relative ack number = 493

Am I missing out something? Can someone explain me on this?

sharkwire's avatar
1
sharkwire
asked 2017-12-09 10:16:30 +0000
grahamb's avatar
23.8k
grahamb
updated 2017-12-09 12:16:25 +0000
edit flag offensive 0 remove flag close merge delete

Comments

This article says that wireshark would display an apparently random number for ack during handshake..

sharkwire's avatar sharkwire (2017-12-09 10:47:15 +0000) edit
add a comment see more comments

1 Answer

1

The sequence number and ack number refer to different directions of the connection. The sequence number is incremented in transmitted packets corresponding with the data payload size and the ack number is incremented corresponding to previously received packet data payload size.

Thus in any packet the sequence number and ack number are likely to be different as they reflect the data in different directions.

grahamb's avatar
23.8k
grahamb
answered 2017-12-09 13:21:57 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer