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?
Is it possible to show packet loss in percentage for a specific tcp stream?
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2023-03-22 17:16:45 +0000
Seen: 244 times
Last updated: Mar 23 '23
Capture incoming packets from remote web server
How to set packet metadata in realtime?
Why would I be getting "LEN 1 (Malformed Packet)"... "(Malformed Packet: RTCP)" on UDP Packets
What is wrong with my internets?!
How do I dissect multiple packets?
How do I get relative ack number greater than sequence number?
How do I use the fragment_add_seq_check function in UDP packet reassembly?
Is it possible to use reassembly on non-split packets?
How do I dissect packets if the dissection depends on information from earlier packets?