[SOLVED] CSCI3171 Assignment 2

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment2-vnzbbq.zip (230.1 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

 

Write the answers to the questions in a word or similar text-based document, convert the document to PDF and submit ONE PDF file on Brightspace. On top of the document, clearly write your full name and Banner ID.

For research type questions, cite your sources at the end of the answer. For instance, for Questions 2 and 3, some sources have been given to you. Cite them at the end of your answer. If you used additional sources, cite them as well.

Question 1 <TCP/IP Addressing Question> The network shown below has the following sessions that have been set up concurrently:

  • Telnet session from A to X (Client is A and Server is X).
  • SSH session from X to A (Client is X and server is A).
  • HTTP session from A to X (Client is A and server is X).
  • FTP session from X to A (Client is X and server is A).

    Write the frame formats on each network showing all the significant addresses for the following messages:

  1. a)  Telnet request message from A to X
  2. b)  Telnet reply message from X to A
  3. c)  SSH request message from X to A
  4. d)  SSH reply message from A to X
  5. e)  HTTP request message from A to X
  6. f)  HTTP reply message from X to A
  7. g)  FTP request message from X to A
  8. h)  FTP reply message from A to X
  9. i)  If a second SSH session is set up from X to A (Client is X and server is A) what would be the message format on each network?

The address notation is (A = IP address, a = MAC address) (and similar for the other nodes).
Use the following representation for the frame format:
Source MAC addr, Destination MAC addr, Source IP addr, Destination IP addr, Source Port addr, Destination Port addr, DATA

R11,r11 R1

R31,r31

(A,a)

ABC

XYZ

(X,x)

R12,r12

R32,r32

R21,r21

R41,r41

R2

R4

R22,r22

R42,r42

R3

1

Question 2 <HTTP Analysis Question> Suppose a client-to-server HTTP GET message is the following:

GET /kurose_ross/interactive/quotation4.htm HTTP/1.1
Host: gaia.cs.umass.edu
Accept: text/plain, text/html, image/jpeg, image/gif, audio/mpeg, audio/vnf.wave, video/mp4, video/wmv, application/*, */*
Accept-Language: en-us, en-gb;q=0.6, en;q=0.5, fr, fr-ch, da, ar, cs If-Modified-Since: Mon, 07 Oct 2019 18:08:57 -0700
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11

Answer the following questions (briefly):

  1. a)  What is the name of the file that is being retrieved in this GET message?
  2. b)  What version of HTTP is the client running?

For the following questions, you may need to read up additional resources on the web. A few resources are the following:

RFC 2616: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.2
Media Types: https://en.wikipedia.org/wiki/Media_type
Tech Blog on User Agents: https://techblog.willshouse.com/2012/01/03/most-common-user-agents/

c) What formats of text, images, audio, and video does the client browser prefer to receive?

  1. d)  What do the strings “application/*” and “*/*” signify in the Accept: header?
  2. e)  What languages is the browser indicating that it is willing to accept?
  3. f)  What is the meaning of the “relative quality factor,” q, associated with the various version of English?
  4. g)  What is the client’s preferred version of English? What is the browser’s least preferred version of English?
  5. h)  Does the browser sending the HTTP message prefer Swiss French over traditional French? Explain.
  6. i)  Does the client already have a (possibly out-of-date) copy of the requested file? If so, when did it receive the file?
  7. j)  What is the type of client browser and the client’s operating system?

Question 3 <Research Question> As we discussed in the lectures, the details of protocols are available in the form of RFC (Request for Comment) documents on the Internet Engineering Task Force’s website: https://www.ietf.org/standards/rfcs/
Using the RFC Search page, read up the RFC corresponding to any one application layer protocol (other than HTTP, SMTP or DNS) and write a brief report (approximately 2 pages, single-spaced, 12-point font size) summarizing the important features of the protocol as outlined in the RFC.

  • Assignment2-vnzbbq.zip