1. The Basic HTTP GET/response interaction
Start up your web browser.
Start up the Wireshark packet sniffer, as described in the Introductory lab (but
don’t yet begin packet capture). Enter “http” (just the letters, not the quotation marks) in the display-filter-specification window, so that only captured HTTP messages will be displayed later in the packet-listing window. (We’re only interested in the HTTP protocol here, and don’t want to see the clutter of all captured packets).Wait a bit more than one minute (we’ll see why shortly), and then begin Wireshark packet capture.
Enter the following to your browser
http://gaia.cs.umass.edu/wireshark-labs/HTTP-wireshark-file1.html
Your browser should display the very simple, one-line HTML file.
- Stop Wireshark packet capture.
The WireShark Capturing Result
Problem and My Answer
1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running?
My browser run HTTP 1.1 and the server does too.
2. What languages (if any) does your browser indicate that it can accept to the server?
zh-cn,zh;q=0.8
3. What is the IP address of your computer? Of the gaia.cs.umass.edu server?
My IP address is 10.95.64.155 and the Server IP address is 128.119.245.12
4. What is the status code returned from the server to your browser?
200 OK
###5. When was the HTML file that you are retrieving last modified at the server?
Last-Modified: Mon, 11 Jan 2010 01:59:52 GMT\r\n
6. How many bytes of content are being returned to your browser?
349