

The SPAN port, the adapter, the driver, the library, or even your code are simply not presenting the two uni-directional streams in perfect synchronized order.Īpplications that reassemble need not be anything like a typical TCP endpoint. In several captures, I have seen it is neither of these – if you just waited a little longer you would see the packet. Did it make it to your observation point, but your capture stack could not reliably deliver it from the observation point to your application ?.


This is all too common especially if you are hanging off a SPAN port, bonding two interfaces, or use an aggregating TAP sufficiently close to an endpoint. You can measure this accurately.įrankly I have never found the “Lost Segment” flag in Wireshark to be very useful because it appears to flag all out of order segments which could be solely due to the components in capture stack shuffling the order around. If you reconstructed the TCP session and find holes, it is squarely the analyzers fault irrespective of the lossiness of the network. Now irrespective of network packet loss your analyzer ought to have the complete payloads from both ends. Measure holes caused by the capture toolchain : Say a TCP session completed successfully with both sides ACKing the total payload size sent by the other side.All this means is that you can only make a rough guess of network packet loss. The reverse path is even more hairy due to the use of delayed ACKs. But you cant say all retransmitted packets were originally lost due to a late ACK or a retransmission timeout. In the forward path you can look at retransmissions and make a guess. Estimate packet loss on network : It is well known that it is hard to pin point which TCP packets were lost in the network.How good can an analyzer get in detecting network vs probe packet loss when deployed in a single observation point ? Here is my take on this along with a small plug towards the end. I got to read this comprehensive blog post by Charles Smutz today titled “ Flushing out leaky taps 2” Like others working on products that do reconstruction we too have wrangled with this issue.
