I am trying to find out the host that has sent the most TCP packets in a trace file, regardless of destination. Is there a way to do that with Wireshark? asked 27 Nov '12, 20:56 user9909 |
One Answer:
Yes, there is:
Then you may use "Copy" to export the results in CSV to the clipboard... answered 27 Nov '12, 23:43 SYN-bit ♦♦ |
Thank you so much! That's exactly what I needed
Is there a way to use the Endpoints IPv4 tab to display only the src ips instead of src + dest ips in the statistics?
That's not possible. Then you need to cook something up with tshark and some scripting. If you are just interested in the count of packets, you can use:
If you want the top 10, you can add:
(if you're on windows, you can use powershell for similar commands or install cygwin to get a bash shell)
The PowerShell equivalents would be:
tshark -r <file> -R tcp -T fields -e "ip.src" | Sort-Object -Unique | Measure-Object
and:
... | Group-Object | Sort-Object -Descending | Select-Object -First 10
Fantastic, thanks guys