Anda di halaman 1dari 4

A-The Basic HTTP GET/response interaction

1 The browser is running on HTTP 1.1 protocol. The server is also


running HTTP version 1.1.
2.The browser indicates to the server that it can accept english(en) and
english-US(en-us).
3.The ip address of this computer is 192.168.1.102 and the ip address
of gaia.cd.umass.edu
4.The status code returned to the HTTP requests were
a)200 response OK
b)404 response Not Found
5.The html file being retrieved was last modified on Tue , 23 Sep 2003
05:29:00
6.The size of the received file was 73 bytes.
7.No there are no different headers in both the windows.

B-The HTTP CONDITIONAL GET/response interaction


8.No there is no IF MODIFIED SINCE line in the HTTP GET.
9.Yes, the server returned the contents of the file explicitly. This can be
seen from the Line-based text data in the OK response to the GET.
10.An IF-MODIFIED-SINCE line in the HTTP GET is
present. The information that followed it and was not present
in the other HTTP GET was the date it was modified, a match query,
and a cache control.

11.The HTTP status code and response phrase


in the response to the second HTTP GET was
a)Status Code 304
b)Response Not Modified
No the server did not explicitly return the contents of the file as the Line
bases text data field was missing.

C-Retrieving Long Documents


12.The browser sent 1 HTTP GET request message.The GET message
for the bill oif rights is contained in packet no 8.
13.Packet number 14 contains the status code and
phrase response for the HTTP GET request.
14.The status code of the respojnse is 200 and the response phrase is OK.
15.To carry the single HTTP response and the text of the bill of rights 3
data containing TCP segments were required.

D-HTML Documents with Embedded Objects


16.The browser sent a total of 3 HTTP GET requests.These requests were
sent to the following internet addresses
a)128.119.245.12
b)165.193.123.218
c)134.241.6.82
17.The images were downloaded in a paarallel manner from two
websites.This can be said becase after the initial request to the initial
website the further requests were made to two different websites.
As a result of which the two images were downloaded from different
websites and in a parallel fashion.

E-HTTP Authentications

18.The response code for the first HTTP GET request was 401
and the response phrase was authorisation required.
19.During the second HTTP GET request the browser also included an
authorisation filed in the HTTP GET message.

TCP
A- A first look at the captured trace
1.The client ip address is :192.168.1.102
The port number being is :1161
2.The ip address of gaia.cs.umass.edu is 123.119.245.12
It uses port number 80 for receiving the tcp components

B-TCP Basics
3. The connection to the server e sequence number of the SYN segment
used to initiate connection to the gaia.cd.umass.edu server is 0. It is
identified as a SYN segment by the flag value set in the TCP portion to
0x002(SYN)
4.The number of the SYNACK segment sent by the gaia.cs.umass.edu
server in response to the initial SYN is 2.The value of the
acknowledgement field in the response is 1.The value of the response is
seq number of request +1 i.e. 1.The SYNACK segment is recognized by
both the SYN and ACK flags to be set to 1;
5.The sequence number is 164041.
6

S.no

Time

1
2
3
4
5
6

5.297341
5.389471
5.447887
5.455803
5.651141
7.595557

Sequence
No
164041
1
1
1
164091
0

ACK

RTT

1
162309
164041
164091
731
16384

0.150546
0.035557
0.070059
0.114428
0.139894
0.189645

7> Length of segments :


Segment
Length(bytes)
1
104
2
60
3
60
4
60
5
54
6
62
8> The minimum amount of available buffer space advertised at the
received is indicated at the first ACK from the server, which is : 5840
The lack of receiver buffer space never throttles the sender as we never
reach the maximum size in the given trace.
9> There are no re-transmitted segments.
We plotted Stevens graph to check if it is monotonically increasing.
10> The receiver is acknowledging 1460 bytes of data.
In all the cases, receiver is acknowledging every other segment.
11> The last TCP acknowledgment is of 164091 bytes in 5.651141 seconds
from the beginning.
so the throughput is : (164091/5.651141) = 29036.79 bytes/sec

Anda mungkin juga menyukai