W4L2 - TCP P2 Flashcards

1
Q

ACK Flag

A

1 bit

value in acknowledgement field is valid

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

RST Flag

A

1 bit

reset connection

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

SYN Flag

A

1 bit

Synchronize sequence numbers used to establish new conenction

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

FIN Flag

A

1 bit

no more data from sender to transmiter

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

Three Packet Handshake

A

Client send a SYN package
On receiving, server sends a SYN-ACK package
Client sends back ACK

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

SYN flood

A

Send many SYN packets with random source ports and spoofed addresses.
The receiver must search a table of existing connections then allocate record when it isn’t found, using lots of CPU

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

Closing a connection

A

Each side sends FIN to terminate its end of connection

Upon receiving FIN, each side sends ACK

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

RTO

A

Retransmission timeout

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

Explain how packet loss is handled

A

RTT - Round Trip Time. When it runs out and if an ACK is not received, then the server will resend. If the Client did get it, then it ACK and the process continues anyway. Vice versa.
Duplicate ACK also implies packet loss. After sender receives 3 duplicate ACK, it ignore RTT expiration and send a packet for each duplicate ACK

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

1 bit

value in acknowledgement field is valid

A

ACK Flag

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

1 bit

reset connection

A

RST Flag

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

1 bit

Synchronize sequence numbers used to establish new connection

A

SYN Flag

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

1 bit

no more data from sender to transmitter

A

FIN Flag

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