Hello, I'm looking for syntax in Wireshark/tshark or any other tool for pcap analyzing for port statistics. I don't know if its possible, but I need to make statistics of port in pcap file. Show statistics by port and display in descending order by occurrence. Calculation will be performed only on Well known ports (0-1023). Output should be something like:
Thanks a lot asked 06 Apr '15, 12:56 Eduard Woidig edited 06 Apr '15, 12:59 |
One Answer:
answered 08 Apr ‘15, 10:31 John_Modlin edited 08 Apr ‘15, 10:41 grahamb ♦ |
Hi Eduard - Did you try the Statistics function within Wireshark? In Wireshark, select Statistics from the top menu. Then select Conversations. A window pop-up will be displayed with multiple tabs. You can select TCP. In the TCP tab, you can arrange the amount of traffic in descending order by either bytes or packets. The only limitation on this approach is that each TCP stream (IP-address:TCP-port) is treated separately.