When investigating a large trace, it is easy to point an error packet filtering on Is there a way to get a summary of TCP Conversations for only TCP streams that contain no error packet ? I got the following idea but have no clue how to implement it:
asked 30 Oct '15, 05:02 ymartin |
2 Answers:
Please take a look at the examples in the answers of the following questions.
Both examples wil work on Linux. You'll have to adapt it to your use case.
Then merge all of the pcap files with mergecap and create the conversation statistics in Wireshark or tshark.
You can also export the conversation stats in the loop
Regards answered 02 Nov '15, 04:32 Kurt Knochner ♦ |
Hm, you could just try to do it this way, using the standard Wireshark statistics functionality:
You should end up with a list of all conversations that have no error packet (or, more exact, no packet that a TCP analysis was diagnosed for) answered 31 Oct '15, 10:10 Jasper ♦♦ |
Thought the same. But it hasn´t worked for me, at least in my try.
Example: If I have a session where only one packet has the field
tcp.analysis.flags
(The other 100 have that field not) Then only this packet is not displayed in TCP conversation(with the limit to display...)At least in my try....
Now, I think this case, which I have described, could be solved with a small script.
I agree. My two bullets idea would consist in almost two tshark commands invocation. Any proposal ?
About what kind of OS do we talk?