Your cart is currently empty!
Problem 1 Consider the following string of ASCII characters that were captured by W ireshark when the browser sent an HTTP GET message (i.e., this is the actual content of an HTTP GET message). The characters <CR><LF> are carriage-return and line-feed characters. Answer the following questions, indicating where in the HTTP GET message…
Problem 1
Consider the following string of ASCII characters that were captured by W ireshark when the browser sent an HTTP GET message (i.e., this is the actual content of an HTTP GET message). The characters <CR><LF> are carriage-return and line-feed characters. Answer the following questions, indicating where in the HTTP GET message below you nd the answer.
GET /classes/spring17/cs118/project-1.html HTTP/1.1<CR><LF>
Host: web.cs.ucla.edu<CR><LF>
Connection: keep-alive<CR><LF>
Upgrade-Insecure-Requests: 1<CR><LF>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10 12 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36<CR><LF>
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8<CR><LF> Referer: http://web.cs.ucla.edu/classes/spring17/cs118/homeworks.html<CR><LF> Accept-Encoding: gzip, deflate, sdch<CR><LF> Accept-Language: en-US,en;q=0.8,lv;q=0.6,ru;q=0.4<CR><LF>
If-None-Match: “5a17-54c4847c4f640-gzip”<CR><LF>
If-Modified-Since: Mon, 03 Apr 2017 19:36:49 GMT<CR><LF>
Problem 2
For each of the questions below, describe answer in terms of low-level packet sequences, drops, or network-level packet reordering.
Problem 3
Suppose within your Web browser you click on a link to obtain a Web page. The IP address for the associated URL is cached in your local host, so a DNS look-up is not needed. Suppose that the Web page associated with the link is a small HTML le, consisting only of references to 100 very small objects on the same server. Let RT T0 denote the RTT between the local host and the server containing the object. How much time elapses (in terms of RT T0) from when you click on the link until your host receives all of the objects, if you are using:
Ignore any processing, transmission, or queuing delays in your calculation.
Write your answer here
Problem 4
BitTorrent is a communication protocol for peer-to-peer le sharing which is used to distribute data (or les) over the Internet.
Write your answer here
Problem 5
The server tries to distribute a le of F = 15Gbits to N clients (peers). The server has an upload rate of us = 30Mbps, and each peer has a download rate of dp = 2Mbps and upload rate of up = 1Mbps. How long does it take to distribute if there are 1,000 peers for both client-server distribution and P2P distribu-tion.
Write your answer here