• Aucun résultat trouvé

+1/1/60+

N/A
N/A
Protected

Academic year: 2022

Partager "+1/1/60+"

Copied!
4
0
0

Texte intégral

(1)

y +1/1/60+ y

TCP/IP Networking 2017 Test 3 0

1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9

Grading:

For each question, exactly one of the four proposed answers is correct. If the good answer and only the good answer box is crossed)+1 point. If one bad answer box is crossed and no other box is crossed ) 13 = 0.333 point. If 0 or more than 1 answer box is crossed )+0 point.

Please encode your SCIPER number here and write your full name in the box below. #

Name, First Name:

. . . . Question 1 A sends data to B over a dedicated channel of capacity c, using a sliding window protocol with window size W. The round trip time is RT T. There is no packet loss, there is no interfering traffic, ACKs are sent on a separate channel of infinite capacity and we ignore overhead due to packet headers. The sending rate achieved by A is:

minc,RT TW minc,1.33RT TW

c+ RT TW minc,RT TW

Question 2 A and B use TCP. The maximum segment size is 1’000 bytes.

A Seq =1:101 B Seq =101:201

Seq =201:301 Ack =101, win = 200 

? At timet1, which bytes may A send ?

301:501

None of these.

301:1301 301:401

Question 3 A streaming application sends one short IP packet every 10 msec, using either UDP or TCP. When one packet is lost, can head-of-the line blocking occur ?

Yes with TCP, no with UDP.

Yes with UDP, no with TCP.

With both.

No.

Question 4 Say what is true.

1. UDP is the same with IPv4 and with IPv6.

2. TCP is the same with IPv4 and with IPv6.

None 1 and not 2. 2 and not 1. Both.

y y

(2)

y +1/2/59+ y

Question 5 Say what is true.

1. A TCP server can have multiple connections using the same socket for data transfer, as long as the local port is the same for all connections.

2. A TCP server uses a di↵erent socket for connection establishment and for data transfer.

2 and not 1. Both. None 1 and not 2.

Question 6 Lisa sends a mySQL query to a TCP server that has syn-cookies activated. mySQL is an application such that, after a connect(), the client’s next socket call is receive() and not send(). The connection finalizing ACK sent by Lisa’s device is lost. Say what happens next:

1. The TCP server sends no information to Lisa and Lisa’s device waits forever or until a timeout occurs.

2. The TCP server retransmits the SYN-ACK using one of its implemented loss detection mechanisms, in order to trigger Alice’s device to retransmit the lost ACK.

Both. 1 and not 2. 2 and not 1. None

Question 7 A UDP server application receives multiple messages over one single non-connected UDP socket and receives no other traffic from the network. We do a packet capture at this server of all UDP traffic that is received by this application.

Say what is true.

1. The source UDP port is the same in all packets.

2. The destination UDP port is the same in all packets.

1 and not 2. 2 and not 1. None Both.

Question 8 A version of TCP implements loss detection by timeout and fast retransmit, and no other loss detection mechanism. The last packet of a data transfer is lost. By which mechanism can the loss be detected ?

By fast retransmit only.

By timeout only.

Either by timeout or by fast re- transmit, depending on the case.

This loss will not be detected.

Question 9 ApplicationAon one host sends data to applicationBon some other host using TCP. TCP atA sends 5 segments of 100 bytes each; the second segment is lost and not yet re-transnmitted, the other segments are received by TCP at B.

How many bytes canB read from the socket ?

100. 400. 0. 200.

y y

(3)

y +1/3/58+ y

Question 10 The goal of flow control in TCP is to:

1. prevent sources from congesting network bu↵ers,

2. prevent the source from congesting the receiver’s bu↵er.

1 and not 2. 2 and not 1. None Both.

y y

(4)

y +1/4/57+ y

y y

Références

Documents relatifs

swamp: marécage valuables: objets de valeur wastes: (ici) déserts bog: marécage shaft: flèche shy: timide tags: clichés fens: marécages soaked: imbibée steeped: imprégnée

The trigger eciency has been calculated with an almost complete simulation of the set-up, including the trigger detector segmentation and the treatment of the information by the

A preliminary analysis of the data recorded in the experiment stressed out the necessity to distinguish the different types of passages: normal driving without any

Although the temperature of the fridge is imposed, a strong current induces Joule heating and increases the temperature locally in the wire.. Hence, the interest of the AA correction

In this limit the presence of the cavity necessarily modifies the vacuum states via the Purcell effect, and thus any changes to the dynamics of the system will manifest as changes

The Complications of Modifying Packet Headers in the Network In addition to firewalls that send resets in response to ECN-setup SYN packets and firewalls that drop ECN-setup

Application of Database Management to Geographical Information Systems (GIS); Geospatial Databases; spatial data types [point, line, polygon; OGC data types], spatially-extended SQL

(a) Disturbance force, pneumatic force recorded, and desired force recorded for the Backstepping con- trol law (b) Position of the piston during this test in this paper, for the