TCP Flashcards

1
Q

What is binary exponential backoff?

A

Doubling of time between TCP retransmissions.

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

What is Retransmission Timeout?

A

TCP sets a timer when it sends data, and if the data is not acknowledged when the timer expires, a timeout or timer-based retransmission of data occurs. The timeout occurs after an interval called the retransmission timeout (RTO).

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

What is the term for TCPs clock “tick”?

A

Granularity

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

What is the initial TCP RTO?

A

According to [RFC6298], the initial setting for the RTO should be 1s, although 3s is used in the event of a timeout on the initial SYN segment

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

What is the first part of Karns algorithm?

A

If a retransmitted packet is acknowledged, ignore any round trip measurement based on the packet. This solves the retransmission ambiguity problem.

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

What is the second part of Karns algorithm?

A

When a retransmitted packet is acknowledged, don’t reset the backed off RTO. Wait until the NEXT TCP packet is acknowledged before doing so.

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

What is the retransmission ambiguity problem?

A

If a retransmitted packet is acknowledged, it is not possible to figure out what the RTT was because it isn’t clear if the original or retransmitted packet is being ACKed.

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

What triggers a fast retransmit?

A

Three duplicate ACK in a row.

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

What’s up with delayed ACK?

A

It’s desirable for TCP to piggyback an ACK on top of additional data. For this reason, ACK can be delayed up to 500ms (typically 200ms)

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

What’s the Nagle algorithm?

A

If a link is saturated, small packets suck because of all the overhead. Nigel algorithm is a self governing tool that says that a packet smaller than SMSS can’t be sent until all unacknowledged data is acknowledged. If ACKs are slow, then good, it bunched up traffic. If ACKs are fast, then it didn’t matter.

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

ICMP dest unreachable, packet too large? What message

A

ICMP type 3 code 4. Response also includes MTU

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

What does the sending TCP do when window size is 0?

A

Send 1 byte window probe (regular TCP packet) at RTO interval. This prompts a response which will have the window size. No response = keep sending, but double the time between each message.

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