Ask Your Question
0

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

asked 2017-12-09 10:16:30 +0000

sharkwire gravatar image

updated 2017-12-09 12:16:25 +0000

grahamb gravatar image

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?

edit retag flag offensive close merge delete

Comments

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

sharkwire gravatar imagesharkwire ( 2017-12-09 10:47:15 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-12-09 13:21:57 +0000

grahamb gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-12-09 10:16:30 +0000

Seen: 1,140 times

Last updated: Dec 09 '17