33%(3)1 out of 3 people found this document helpful
This preview shows page 3 - 6 out of 11 pages.
Wireshark when the browser sent an HTTP GET message (i.e., this is the actualcontent of an HTTP GET message). The characters <cr><lf>are carriagereturn and line-feed characters (that is, the italized character string <cr>inthe text below represents the single carriage-return character that was con-tained at that point in the HTTP header). Answer the following questions,indicating where in the HTTP GET message below you find the answer.PROBLEMS181
GET /cs453/index.html HTTP/1.1<cr><lf>Host: gaia.cs.umass.edu<cr><lf>User-Agent: Mozilla/5.0 (Windows;U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) <cr><lf>Accept:ext/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5<cr><lf>Accept-Language: en-us,en;q=0.5<cr><lf>Accept-Encoding: zip,deflate<cr><lf>Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7<cr><lf>Keep-Alive: 300<cr><lf>Connection:keep-alive<cr><lf><cr><lf>a.What is the URL of the document requested by the browser?b.What version of HTTP is the browser running?c.Does the browser request a non-persistent or a persistent connection?d.What is the IP address of the host on which the browser is running?e.What type of browser initiates this message? Why is the browser typeneeded in an HTTP request message?P5.The text below shows the reply sent from the server in response to the HTTPGET message in the question above. Answer the following questions, indicat-ing where in the message below you find the answer.•APPLICATION LAYERHTTP/1.1 200 OK<cr><lf>Date: Tue, 07 Mar 200812:39:45GMT<cr><lf>Server: Apache/2.0.52 (Fedora)<cr><lf>Last-Modified: Sat, 10 Dec2005 18:27:46GMT<cr><lf>ETag: “526c3-f22-a88a4c80”<cr><lf>Accept-Ranges: bytes<cr><lf>Content-Length: 3874<cr><lf>Keep-Alive: timeout=max=100<cr><lf>Connection:Keep-Alive<cr><lf>Content-Type: text/html; charset=ISO-8859-1<cr><lf><cr><lf><!doctype html public “-//w3c//dtd html 4.0 transitional//en”><lf><html><lf><head><lf><meta http-equiv=”Content-Type”content=”text/html; charset=iso-8859-1”><lf><metaname=”GENERATOR” content=”Mozilla/4.79 [en] (Windows NT5.0; U) Netscape]”><lf><title>CMPSCI 453 / 591 / NTU-ST550A Spring 2005 homepage</title><lf></head><lf><much more document text following here (not shown)>a.Was the server able to successfully find the document or not? What timewas the document reply provided?b.When was the document last modified?c.How many bytes are there in the document being returned?d.What are the first 5 bytes of the document being returned? Did the serveragree to a persistent connection?182CHAPTER 2