Reference no: EM132373930 , Length: word count:500
Assignment -
1. Consider a scenario where a web portal uses cookies to track the users and provides a customized view to the individual user based on the previously visited sites. The web portal sends a cookie to the browser which is stored in the browser at the client's side along with the visited sites. This helps to keep track the previously visited pages of a client from different sites. Prepare a diagram illustrating how the cookie is used between a browser and the web portal when a user revisits the web portal and how the pages are retrieved from different webservers to provide a customized view to the user. Consider two different webservers for two visited sites, a web portal and a client in your diagram. Explain the steps of your diagram.
Guideline: Prepared diagram and explained well with all servers and client as mentioned, with request, response and cookies, retrieved pages from servers.
2. In the following diagram, a web client is communicating with a web server which opens a TCP connection at client's end. The client is using an initial sequence number (ISN) 2048 with a port of 51000 and receiving window size of 2000. In response, server also opens a TCP connection with ISN 21732 and receiving window size of 4000, port 80. After connection establishment, client sends two data segments each of size 500 bytes. Then server responds in a single segment with 1000 bytes. Then client closes the connection, in response server also closes the connection.
Show all TCP segments during connection establishment, data transfer and connection termination between client and server (no segments are corrupted/dropped in the exchange). For each segment, write header information which should include port number, sequence number, acknowledgement number, values of all bits in the control field, window sizes and ranges of data bytes in the data section (as appropriate for the segment type). The header information of each segment needs to be written in a separate table. Please do not write header information in the diagram. This makes it harder to read the diagram. Instead, in the diagram, identify the segments as SYN, SYN+ACJK, ACK, Data, FIN, FIN+ACK for their type etc. In each table for header information of a segment, first row in the table should mention the type of a segment and a direction symbol (→ or ←) from client to server or vice versa.

Guideline - Marks for each segment-1.44, then each component marks=segment mark/number of component in the segment
1. Connection establishment (11 component + 13 component + 13 component)
2. Data transfer (15 component + 15 component + 15 component)
3. Connection termination ( 13 component + 13 component + 13 component).