How to find the number of content of bytes returned to browser by the server [closed] - wireshark

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 months ago.
Improve this question
I am new to wireshark and trying to solve simple examples. I captured a simple html file and the question i am trying to answer is: "How many bytes of content are being returned to your browser?".
I am confused here. Let me first show the screenshot here:
I see two things when i click on the "OK" message received from the server. First it says 540 bytes captured, and second it also says that content length is 232. Which one is the answer to my question and what is the difference between these two numbers? Can anyone explain?
Thanks

The two numbers are measuring different things. The Content-Length is the actual size of the HTTP response body in bytes (only the body, so not including the headers), whereas the 540 is the total size of the network frame including the IP and TCP protocol overhead and the HTTP headers.

Related

How to display most used ports when analyzing packets in Wireshark? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 10 months ago.
Improve this question
I've collected an array of packets on Wireshark and i'm wondering how do I filter that properly to see the most used ports / protocols?
I'd assume it'd be within "Analyze" "Filters" and then you'd have to create a specific one if this is the way of doing it, although I am unsure of how to properly express that in code.
I'd assume I dont need to provide any images of data for this query but if I should, please let me know
Any ideas?
How can I find out the traffic flow rates of my packets in Wireshark?
you can go to "statistics" then "ipv4" or "ipv6" depending of your network, then "destinations and ports".
It will give you the most used port and protocol.
Then you can just apply a filter by entering something like tcp.port == the_port in the searchbar (you have to replace tcp by the most used protocol and the_port by the port that you want to filter).
concerning the flow rate, you can find it with the flow graph. (again in statistics menu).
Have a nice day
JC

Cannot fit er-example-server to TelosB [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying to make 2 motes connect via a border-router, using the contiki 3 examples. I compiled er-example-client but it does not fit on my Crossbow TelosB mote. It comes up with error message:
er-example-server.sky section '.text' will not fit in region 'rom'
I am using Instant Contiki, which has msp430-gcc v4.7. The same seems to happen in Cooja as well, using Sky motes.
The application doesn't fit the Sky/TelosB ROM. Using the msp430-4.7.x provides a nice size reduction, but doesn't seem to benefit the Sky. Try disabling some of the resources enabled by default, for example compiling only with the hello test yields:
msp430-size er-example-server.sky
text data bss dec hex filename
48669 278 8646 57593 e0f9 er-example-server.sky

What is the encoding size of the average emoji emoticon? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I sent my friend a text with a pizza slice emoji. With tongue in cheek, he asked my how many bytes the slice was. I would like to know the answer, but I'm struggling to find a detailed answer regarding the size individual emojis.
Here is a description of the pizza slice emoji being used.
Your own link indicates that this is Unicode code point U+1F355, and that its appearance differs according to the client displaying it. Assuming the character is utf-8 encoded, that's 4 bytes: F0 9F 8D 95. Whatever you see on the receiving end is a locally stored bitmap, not something from the sender.

Wireshark - On which interface a packet arrived? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Does anybody know how can I find out what's the interface a packet arrived on? I captured packets with tcpdump using "-i any" and now I want to find out on what interface a certain packet was received.
And another question, can I start tcpdump on an interface that does not exist yet? The code I am testing creates an interface and starts sending packets imediately. The problem is that by the time I get to hit tcpdump, some packets are already sent.
Thanks!
I think we cannot do that on a interface which is not in network .. we can work on packets which flies in the network so the Ethernet should be in network

Why short links are introduced? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I see in many sites the use of short links like this:
http://www.chipbennett.net/2011/04/28/2011-nfl-draft-colts-round-1/
to this
http://bit.ly/mxytw8
but I wonder to know why they've been used!
The only thing I could imagine is to hide the original link or to gain data weight in a database?
Simply because services like Twitter are limited in the message size. Or to make it easier to type in the address instead of copy/pasting. Could also be misused by spammers or phishing attacks to hide the real address. See http://en.wikipedia.org/wiki/URL_shortening
The user may be doing it to take advantage of link tracking provided by bitly.
Every bitly link has an info page, which reveals the number of related clicks and other relevant data. You can get to the info page in a few different ways.
They're mostly used with Twitter (which has a very short message size) and historically for plain text email where mail readers would line-wrap long URLs in the middle.

Resources