This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Perl script to export Sequence numbers & data rates of QoS Data frames from pcap file to excel sheet?

0

Hi I am new to perl scripting & wireshark usage. Can any one please please help me exporting the sequence numbers & data rates of QoS data frames from a pcap file to excel sheet.

Thanks in Advance, Srinivas

asked 14 Jul '14, 22:05

srinivas's gravatar image

srinivas
11112
accept rate: 0%


One Answer:

0

Please try this:

tshark -nr input.pcap -T fields -e frame.number -e ip.src -e ip.dst -e tcp.seq -E header=yes -E separator=; > output.csv

Furthermore, you need a display filter for 'QoS' frames. As you did not specify what kind of QoS frames you are talking, I can only tell you how it works in general.

tshark -nr input.pcap -Y 'tcp.port eq 80' -T fields -e frame.number -e ip.src -e ip.dst -e tcp.seq -E header=yes -E separator=; > output.csv

Please replace tcp.port eq 80 with your filter for 'QoS' traffic.

BTW: Please also define what you mean by: 'data rates' of QoS data frames.

Regards
Kurt

answered 15 Jul '14, 00:50

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%