Reputation: 8670
I have a huge pcap file. I want to know facebook usage in terms of data transfered (upload, download). For that, I am using wireshark to read this file. From a question on stackoverflow , there are many fields that can be used to find bytes.
frame.len==243
ip.len=229
udp.length==209
data.len=201
Now, I have test frame.len and ip.len both gives different results. What I should consider correct ? I am a newbie in networks terminology and I have to just find correct data transfered.
Upvotes: 0
Views: 2442
Reputation: 3153
What happens, when you connects to server and requests some simple page:
<body>Hello world</body>
string) and passes it to HTTP layerSo your question is actually up to you. What do you want to measure? Is it "data, which I need to display excluding all auxiliary info"? Or is it "all number of bytes I need to send/receive for getting this lovely cat picture"? Here is a list of fields to get size of each part:
http.content_length_header == "606"
tcp.len == 973
ip.len=1013
frame.len == 1027
If you want to measure bandwidth occupation, use frame.len
. If you're interested in "pure site weight", it should be independent from environment, so use http.content_length_header
. Things might become more complicated on high level considering the following:
tcp.len
might be the highest optionUpvotes: 1