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

Is it possible to show packet loss in percentage for a specific tcp stream?

Is it possible to show packet loss in percentage for a specific tcp stream?

historicalswimming's avatar
1
historicalswimming
asked 2023-03-22 17:16:45 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Because TCP is connection-oriented, there will be retransmission when segments are lost. You could come up with a mathematical way of counting how many segments were sent properly and how many were lost but this would require some time and effort. Depending on various factors, like the kind of hosts you are using and the different implementation of TCP on those hosts, you'll have different ways of dealing with packet loss.

You may see the same lost segment retransmitted once or multiple time depending on TCP implementation. If you "really" wanted to, you could go through the TCP sequence numbers and see which one were retransmitted. You'd have to decide on the math but could do retransmitted segments divided by total segments times 100.

This approach is not foolproof because it does not take into account everything that can go wrong during a TCP session.

Look at the documentation for help with TCP analysis.

tcp.analysis.retransmission is a good way to start identifying the segments that were lost.

Also, you can right click a TCP segment and click Follow TCP stream if you have more than one stream in your PCAP file.

Spooky's avatar
191
Spooky
answered 2023-03-23 03:09:08 +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