6.1.3 - TCP Handshake and Teardown

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

Flashcards covering the TCP handshake and teardown process.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

First step of TCP three-way handshake

Client sends a SYN segment with a random sequence number and enters SYN-SENT state.

2
New cards

Second step of TCP three-way handshake

Server responds with SYN/ACK, containing its own random sequence number, and enters SYN-RECEIVED state.

3
New cards

Third step of TCP three-way handshake

Client responds with an ACK segment and assumes the connection is ESTABLISHED.

4
New cards

First step of TCP connection teardown

Client sends a FIN segment and enters FIN-WAIT1 state.

5
New cards

Second step of TCP connection teardown

Server responds with an ACK segment and enters CLOSE-WAIT state.

6
New cards

Third step of TCP connection teardown

Client receives the ACK segment and enters FIN-WAIT2 state.

7
New cards

Fourth step of TCP connection teardown

Server sends its own FIN segment to the client and goes to the LAST-ACK state.

8
New cards

Fifth step of TCP connection teardown

Client responds with an ACK and enters the TIME-WAIT state; after a defined period, the client closes its connection.

9
New cards

TCP reliability

The sending machine expects regular acknowledgments for segments it sends and, if a period elapses without an acknowledgment, it assumes the information did not arrive and automatically resends it

10
New cards

TCP reset (RST) segment

A host can also end a session abruptly using a reset (RST) segment.