TCP Flags, Connection Management, and Congestion Control Concepts

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

What flags are set during TCP's three-way handshake?

SYN, SYN-ACK, and ACK flags are set on the segments.

2
New cards

Which flag does a server set when a client connects to a closed port?

The RST (Reset) flag.

3
New cards

What flag initiates the closing of a TCP connection?

The FIN (Finish) flag.

4
New cards

Who typically closes a TCP connection, the client or the server?

Either the client or the server can initiate the closure.

5
New cards

What does a lost segment imply in TCP congestion control?

It implies congestion in the network.

6
New cards

What should a sender do when it determines a packet has been lost?

The sender must retransmit the lost packet.

7
New cards

What is bufferbloat?

An inflated queuing delay caused by large router buffers leading to long wait times.

8
New cards

What are the two approaches to congestion control in TCP?

End-to-end and network-assisted approaches.

9
New cards

Why does TCP primarily use an end-to-end approach?

Not all routers can notify senders of congestion, and relying on feedback is necessary.

10
New cards

What is the congestion window (cwnd) in TCP?

A control mechanism that limits the amount of data a sender can send before receiving an acknowledgment.

11
New cards

What happens to cwnd during a loss event?

It is reduced in size.

12
New cards

What are the three phases of TCP congestion control?

Slow start, congestion avoidance, and fast recovery.

13
New cards

How is cwnd initialized at the start of a TCP connection?

It is typically initialized to 1 MSS (Maximum Segment Size).

14
New cards

What occurs during the slow start phase of TCP?

cwnd doubles each time an ACK is received, leading to exponential growth.

15
New cards

What happens when a timeout occurs during slow start?

cwnd is reset to 1 and ssthresh is set to half of cwnd at the time of congestion.

16
New cards

How does congestion avoidance differ from slow start?

In congestion avoidance, cwnd increases linearly instead of exponentially.

17
New cards

What should happen when a triple duplicate ACK occurs?

A fast retransmit is performed, and the sender enters the fast recovery phase.

18
New cards

What is the role of acknowledgments in TCP congestion control?

More acknowledgments indicate successful delivery and help reduce congestion.

19
New cards

What is the purpose of probing for more bandwidth in TCP?

To maximize the utilization of available bandwidth when there is no congestion.