Transport layer Flashcards

1
Q

TCP Features

A
  1. Establish session - establish connection between source and destination device
  2. Ensure reliable delivery - ensures all packets arrive at destination
  3. Ensure same order delivery - sequencing
  4. Flow control - limit rate of data flow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

UDP Features

A
  1. No flow control
  2. No session establishment
  3. Segments are ordered in the way they were received
  4. Segments that are lost are not sent back
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

TCP Protocols

A
  1. HTTP
  2. SMTP
  3. FTP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UDP Protocols

A
  1. Live and multimedia applications
  2. Simple request and reply applications - DNS DHCP
  3. Applications that handle reliability themselves - TFTP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Socket pair

A

Combination of destination IP address and destination Port address or source IP address and destination port address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain 3 way handshake

A

Step 1: The initiating client requests a clientto-server communication session with the
server.
Step 2: The server acknowledges the clientto-server communication session and
requests a server-to-client communication
session.
Step 3: The initiating client acknowledges
the server-to-client communication session.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain session termination

A

Step 1: When the client has no more data
to send in the stream, it sends a segment
with the FIN flag set.
Step 2: The server sends an ACK to
acknowledge the receipt of the FIN to
terminate the session from client to server.
Step 3: The server sends a FIN to the client
to terminate the server-to-client session.
Step 4: The client responds with an ACK to
acknowledge the FIN from the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is data loss managed in tcp

A
  1. SACK (Selective acknowledegement) is applied
  2. If both host support SACK then it can be used, and SACK is used to explicitly acknowledge the packets that were received as well as any packets that were not received.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is flow control managed in tcp

A
  1. When A sends segments to B and does not receive expected acknowledgements, it will reduce the size of the MSS until it receive ACK from B in order to reduce congestion
How well did you know this?
1
Not at all
2
3
4
5
Perfectly