f) What will be the sequence number of the first request packet sent by the client to the server
(2)?
g) If the final packet sent by the client to the server in establishing a 3-way handshake gets lost in
the process, how will TCP handle this situation?
(2)
h) Explain the role of the FIN and ACKflags in the TCP.
(4)
Question 4
[20 marks]
1. Refer to the Wireshark screenshot below when answering the questions.
- 00
[•1 .lH ~•"'"
~..,h,.u ~,1,zt ~,1.,t,,t1 Tt'.-i.t,:ry ~Ol.{OI ,!OW ~•!.l
J .~ @ r, " ~- '.G1 , ., '> , • ~I 1:: ;;:; .::. .::; w lI
JI
I
' ,,
l:J •
r,otcrol
'. ,. 112 .... 192.168.178.24 128.119.245.12 HTTP 465GET. /wireshark-labs/HTTP-wireshark-filel.html
K
122 .... 128.119,245.12 192.168,178.24 TCP
66 80 -· 57439 (ACK) Seq=1 Ack=400 Win=30080 Len=0 ·_
~e~:-.~~~.: !'.l!!f\\'$ftt&MHNt{~11tlif5WiiSiJ:S%ffii:@ffHt
11 7~ :--·
1~~: ~;~- 1~~;:f45 .12 ~~:. ,.
I IG
/\\\\/(·JA11(lj!1 f·),t,ll( 1 1!1,.1,-HIC,\\~,l
•J.,, 'JI~'
-
•
_____
,..__
...... _
-·
•
l&,I
•
....
--
... __
·~--·-
-
1
6657439 - 80 [ACK) Seq=400 Ack=487 Win=131840 Len ,
, "'.ii, , , 0.111•1 , 1 1 •
ldJ I I i1 1 rn:I fr
r 1 , • ,, •
-
. Internet Protocol Ve-rsion 4, Src: 128 .119, 245 .12, Dst: 192 .168 .178. 24
-Transmission Control Protocol, Src Port: 80, Dst Port: 57439, Seq: 1, Ack: 400, Len: 486
Source Port: 80
Destination Port: 57439
(Stream index: 0)
(Conversation completeness: Complete, WITH_DATA(31))
... . (TCP Segment Len: 486)
Sequence Number: 1 (relative
1
;
sequence number)
[Next Sequence Number: 487 (relative sequence number))
A. c'know.l.ed.gment.
Nwnber: 400
'
,
,0020 b2 18 Q0 50 e0 5f
. fll'1JO 00 eb 66 41 00 00 01 01
I I fl,10 1f 45 48 54 54 50 2f 31
I i·H·J[,o 4b 0d 0a 44 61 74 65 3a
L. -- -•--•·.-- .. --·---- --··--·- 0 'l T)l-,...,,..,,1t,,,,~~•l<>&ottl).>u~iw:~rurt••fi<P'-"'l
.,.., Jt,,,:-.
(relative ack number)
--· ·---·95-e7 4274-80 18·----_-·.--·p._ ·-Bt
08 0a 47 81 b2 37 14 2e
2e 31 20 32 30 30 20 4f
20 54 75 65 2c 20 30 34
• •fA • • · -G · 7
·EHTTP/1 ,1 200 0
K· •Date: Tue, 04
e) Identify the IP address of the client and HTTPserver.
(2)
f) Based on the capture, how did you determine the server from the client?
(2)
g) Who is the owner of source port 80 as indicated in the figure?
(1)
h) Which type of sever is this?
(1)
i) The port number (second line, 57439): is it a dynamic or static port, justify your answer? (2)
j) Identify OSI layer 3 and 4 information from the capture.
(2)
pg.5