๐Ÿฅ‡3-way handshake

Icarus_wยท2022๋…„ 12์›” 25์ผ
0

CS๊ณต๋ถ€

๋ชฉ๋ก ๋ณด๊ธฐ
15/25

TCP/IP ํ”„๋กœํ† ์ฝœ๋กœ ํ†ต์‹ ํ•˜๊ธฐ ์ „ ์ •ํ™•ํ•œ ์ •๋ณด ์ „์†ก์„ ์œ„ํ•ด ์ƒ๋Œ€๋ฐฉ ์ปดํ“จํ„ฐ์™€ ์„ธ์…˜์„ ์ˆ˜๋ฆฝ(์—ฐ๊ฒฐํ•˜๋Š” ๊ณผ์ •) => TCP ์—ฐ๊ฒฐ ์ดˆ๊ธฐํ™”

  1. Client -> SYNํŒจํ‚ท -> Server
  2. Client <- SYN + ACK ํŒจํ‚ท <- Server
  3. Client -> ACKํŒจํ‚ท-> Server

image

4-way handshake

TCP ์—ฐ๊ฒฐ ์ข…๋ฃŒ

  1. Client -> FIN -> Server

  2. Client <- ACK <- Server

  3. Client <- FIN <- Server

  4. Client -> ACK -> Server

TCP ํ†ต์‹ ๊ณผ์ •

  1. Connetction Setup(TCP์—ฐ๊ฒฐ ์ดˆ๊ธฐํ™”) - 3way handshaking
  2. Data Transfer(๋ฐ์ดํ„ฐ ์ „์†ก)
  3. Connection Termination(TCP์—ฐ๊ฒฐ ์ข…๋ฃŒ) - 4way handshaking
profile
ํ•˜๋ฃจ์— ํ•˜๋‚˜

0๊ฐœ์˜ ๋Œ“๊ธ€