Ch. 3 - Transport Layer Flashcards

1
Q

Define TCP

A

Transmission Control Protocol - provides reliable, ordered, and error-checked delivery of a stream of packets on the internet. TCP is tightly linked with IP and usually seen as TCP/IP in writing.

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

UDP

A

User Datagram Protocol - Unreliable, connectionless protocol.

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

Transport services & protocols

A

provide logical communication between application processes running on different hosts

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

Transport vs. network layer

A

Transport: communication between processes
Network: communication between hosts

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

RDT

A

Reliable Data Transfer

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

What is a handshake?

A

sender/receiver agree:
* to establish connection (each knowing the other willing to establish connection)
* on connection parameters (e.g., starting seq #s)

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

What is a connection closure?

A

This is a special message to securely close a connection.

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

ECN

A

Explicit Congestion Notification

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

QUIC

A

Quick UDP Internet Connections

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

TCP Fairness goal

A

if K TCP sessions share same bottleneck link of bandwidth R, each should have average rate of R/K

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

Congestion Control Mechanisms in TCP (4)

A

Slow start, AIMD/congestion avoidance, fast retransmit, fast recovery

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

AIMD (Congestion Avoidance)

A

Additive Increase Multiplicative Decrease
senders can increase sending rate until packet loss (congestion) occurs, then decrease sending rate to half.

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

Slow Start

A

Sender gradually increases the number of packets sent in each round trip time (RTT) until congestion is detected.

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

Fast Retransmit

A

Detects packet loss and retransmits the lost packet immediately without waiting for the RTT timeout.

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

Fast Recovery

A

After a fast retransmit, the sender reduces the congestion window to half its size and then increases it slowly, similar to congestion avoidance.

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

Multiplexing

A

Combining multiple data streams into a single channel.

17
Q

Demultiplexing

A

Separating multiple data streams from a single channel.

18
Q

Flow control mechanisms (4)

A

Stop-and-wait protocol, pipelining protocol, Go-Back-N, Selective Repeat

19
Q

Stop-and-Wait Protocol

A

Sender sends one frame at a time and waits for acknowledgment.

20
Q

Pipelining Protocol

A

Sender can send multiple frames before receiving acknowledgments.

21
Q

Go-Back-N Protocol

A

Sender sends up to N frames before receiving ACKs. If an ACK is lost, all unacknowledged frames are retransmitted.

22
Q

Selective Repeat Protocol

A

Sender sends multiple frames, receiver acknowledges each frame individually. Only lost frames are retransmitted, improving efficiency compared to Go-Back-N.

23
Q

Checksum Algorithm

A

Add up all the data words, add the carry to the 1s place, take the one’s complement of the sum, append the checksum to the data.