{"id":479259,"date":"2023-08-09T10:32:55","date_gmt":"2023-08-09T10:32:55","guid":{"rendered":""},"modified":"2023-09-05T11:18:29","modified_gmt":"2023-09-05T11:18:29","slug":"tcp-handshake","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/tcp-handshake\/","title":{"rendered":"TCP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af"},"content":{"rendered":"<h2>\u5c0e\u5165<\/h2>\n<p>TCP (Transmission Control Protocol) \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u306e 2 \u3064\u306e\u30c7\u30d0\u30a4\u30b9\u9593\u3067\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u5b89\u5168\u306a\u63a5\u7d9a\u3092\u78ba\u7acb\u3059\u308b\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u9001\u4fe1\u8005\u3068\u53d7\u4fe1\u8005\u306e\u9593\u3067\u30c7\u30fc\u30bf\u9001\u4fe1\u304c\u958b\u59cb\u3055\u308c\u3001\u9069\u5207\u306b\u540c\u671f\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3059\u308b TCP \u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u91cd\u8981\u306a\u90e8\u5206\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u6b74\u53f2\u3001\u8a73\u7d30\u306a\u30e1\u30ab\u30cb\u30ba\u30e0\u3001\u7a2e\u985e\u3001\u304a\u3088\u3073\u5c06\u6765\u306e\u5c55\u671b\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3068 TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u95a2\u4fc2\u306b\u3064\u3044\u3066\u3082\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u6b74\u53f2<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u6982\u5ff5\u306f\u30011970 \u5e74\u4ee3\u521d\u982d\u3001Vint Cerf \u3068 Bob Kahn \u306b\u3088\u308b\u4f1d\u9001\u5236\u5fa1\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u958b\u767a\u4e2d\u306b\u521d\u3081\u3066\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002TCP \u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30d7\u30ed\u30c8\u30b3\u30eb (IP) \u3068\u3068\u3082\u306b\u73fe\u4ee3\u306e\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306e\u57fa\u76e4\u3068\u306a\u308a\u3001TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u305d\u306e\u6210\u529f\u306b\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306b\u95a2\u3059\u308b\u6700\u521d\u306e\u8a00\u53ca\u306f\u30011981 \u5e74 9 \u6708\u306b\u516c\u958b\u3055\u308c\u305f Request for Comments (RFC) 793 \u306b\u9061\u308a\u307e\u3059\u3002RFC 793 \u306e\u30bf\u30a4\u30c8\u30eb\u306f\u300cTransmission Control Protocol\u300d\u3067\u3001TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u4e2d\u6838\u3068\u306a\u308b 3 \u30a6\u30a7\u30a4 \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af \u30e1\u30ab\u30cb\u30ba\u30e0\u306e\u6982\u8981\u304c\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u9577\u5e74\u306b\u308f\u305f\u308a\u3001TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u6539\u826f\u3068\u6700\u9069\u5316\u304c\u884c\u308f\u308c\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u901a\u4fe1\u306e\u9032\u5316\u3059\u308b\u30cb\u30fc\u30ba\u306b\u5bfe\u5fdc\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<h2>TCP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u8a73\u7d30\u60c5\u5831<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b 3 \u6bb5\u968e\u306e\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4e21\u65b9\u306e\u30c7\u30d0\u30a4\u30b9\u306f\u3001\u30c7\u30fc\u30bf\u4ea4\u63db\u3092\u958b\u59cb\u3059\u308b\u524d\u306b\u3055\u307e\u3056\u307e\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u3064\u3044\u3066\u5408\u610f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306b\u542b\u307e\u308c\u308b 3 \u3064\u306e\u624b\u9806\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30b9\u30c6\u30c3\u30d71 \u2013 SYN<\/strong>: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u3001\u63a5\u7d9a\u3092\u958b\u59cb\u3059\u308b\u305f\u3081\u306b\u30b5\u30fc\u30d0\u30fc\u306b\u540c\u671f (SYN) \u30d1\u30b1\u30c3\u30c8\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\u3053\u306e\u30d1\u30b1\u30c3\u30c8\u306b\u306f\u3001\u30c7\u30fc\u30bf\u306e\u540c\u671f\u306b\u5f79\u7acb\u3064\u30e9\u30f3\u30c0\u30e0\u306b\u751f\u6210\u3055\u308c\u305f\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30b9\u30c6\u30c3\u30d7 2 \u2013 SYN-ACK<\/strong>: SYN \u30d1\u30b1\u30c3\u30c8\u3092\u53d7\u4fe1\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d0\u30fc\u306f SYN-ACK \u30d1\u30b1\u30c3\u30c8\u3067\u5fdc\u7b54\u3057\u307e\u3059\u3002SYN-ACK \u30d1\u30b1\u30c3\u30c8\u306f SYN \u30d1\u30b1\u30c3\u30c8\u306e\u53d7\u4fe1\u3092\u78ba\u8a8d\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30b9\u30c6\u30c3\u30d73 \u2013 ACK<\/strong>: \u6700\u5f8c\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306f\u30b5\u30fc\u30d0\u30fc\u306b\u78ba\u8a8d\u5fdc\u7b54 (ACK) \u30d1\u30b1\u30c3\u30c8\u3092\u9001\u4fe1\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u306e SYN-ACK \u30d1\u30b1\u30c3\u30c8\u306e\u53d7\u4fe1\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u3053\u308c\u3067 TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u304c\u5b8c\u4e86\u3057\u3001\u63a5\u7d9a\u304c\u78ba\u7acb\u3055\u308c\u3001\u30c7\u30fc\u30bf\u4ea4\u63db\u3092\u958b\u59cb\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>TCP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u5185\u90e8\u69cb\u9020<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u3001\u30c7\u30d0\u30a4\u30b9\u9593\u306e\u30a8\u30f3\u30c9\u30c4\u30fc\u30a8\u30f3\u30c9\u306e\u901a\u4fe1\u3092\u62c5\u5f53\u3059\u308b OSI \u30e2\u30c7\u30eb\u306e\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u5c64\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af \u30d7\u30ed\u30bb\u30b9\u306b\u3088\u308a\u3001\u4e21\u65b9\u306e\u30c7\u30d0\u30a4\u30b9\u304c\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u3001\u30a6\u30a3\u30f3\u30c9\u30a6 \u30b5\u30a4\u30ba\u3001\u304a\u3088\u3073\u305d\u306e\u4ed6\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u540c\u610f\u3059\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u3001\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u9806\u5e8f\u4ed8\u3051\u3089\u308c\u305f\u30c7\u30fc\u30bf\u4ea4\u63db\u3092\u7dad\u6301\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u5185\u90e8\u69cb\u9020\u3092\u8aac\u660e\u3059\u308b\u305f\u3081\u306b\u3001\u5404\u30b9\u30c6\u30c3\u30d7\u3092\u5206\u89e3\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30b9\u30c6\u30c3\u30d71 \u2013 SYN<\/strong>:<\/p>\n<ul>\n<li>\u9001\u4fe1\u5143 IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e IP \u30a2\u30c9\u30ec\u30b9\u3068\u30e9\u30f3\u30c0\u30e0\u306b\u9078\u629e\u3055\u308c\u305f\u30dd\u30fc\u30c8\u3002<\/li>\n<li>\u5b9b\u5148 IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8: \u30b5\u30fc\u30d0\u30fc\u306e IP \u30a2\u30c9\u30ec\u30b9\u3068\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30dd\u30fc\u30c8\u3002<\/li>\n<li>\u30d5\u30e9\u30b0: SYN \u30d5\u30e9\u30b0\u306f 1 \u306b\u8a2d\u5b9a\u3055\u308c\u3001\u305d\u306e\u4ed6\u306e\u30d5\u30e9\u30b0\u306f 0 \u306b\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7: \u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u958b\u59cb\u3059\u308b\u305f\u3081\u306b\u30e9\u30f3\u30c0\u30e0\u306b\u751f\u6210\u3055\u308c\u305f\u756a\u53f7\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u30b9\u30c6\u30c3\u30d7 2 \u2013 SYN-ACK<\/strong>:<\/p>\n<ul>\n<li>\u9001\u4fe1\u5143 IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8: \u30b5\u30fc\u30d0\u30fc\u306e IP \u30a2\u30c9\u30ec\u30b9\u3068\u30b5\u30fc\u30d0\u30fc\u304c\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30dd\u30fc\u30c8\u3002<\/li>\n<li>\u5b9b\u5148 IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e IP \u30a2\u30c9\u30ec\u30b9\u3068\u624b\u9806 1 \u3067\u4f7f\u7528\u3057\u305f\u30dd\u30fc\u30c8\u3002<\/li>\n<li>\u30d5\u30e9\u30b0: SYN \u30d5\u30e9\u30b0\u3068 ACK \u30d5\u30e9\u30b0\u306f 1 \u306b\u8a2d\u5b9a\u3055\u308c\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e SYN \u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<li>\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7: \u30b5\u30fc\u30d0\u30fc\u306b\u5bfe\u3057\u3066\u30e9\u30f3\u30c0\u30e0\u306b\u751f\u6210\u3055\u308c\u308b\u756a\u53f7\u3002<\/li>\n<li>\u78ba\u8a8d\u5fdc\u7b54\u756a\u53f7: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u521d\u671f\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u304c 1 \u5897\u52a0\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u30b9\u30c6\u30c3\u30d73 \u2013 ACK<\/strong>:<\/p>\n<ul>\n<li>\u9001\u4fe1\u5143 IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e IP \u30a2\u30c9\u30ec\u30b9\u3068\u624b\u9806 1 \u3067\u4f7f\u7528\u3057\u305f\u30dd\u30fc\u30c8\u3002<\/li>\n<li>\u5b9b\u5148 IP \u30a2\u30c9\u30ec\u30b9\u3068\u30dd\u30fc\u30c8: \u30b5\u30fc\u30d0\u30fc\u306e IP \u30a2\u30c9\u30ec\u30b9\u3068\u30b5\u30fc\u30d0\u30fc\u304c\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30dd\u30fc\u30c8\u3002<\/li>\n<li>\u30d5\u30e9\u30b0: ACK \u30d5\u30e9\u30b0\u306e\u307f\u304c 1 \u306b\u8a2d\u5b9a\u3055\u308c\u3001\u30b5\u30fc\u30d0\u30fc\u306e SYN-ACK \u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<li>\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7: \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u521d\u671f\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u304c 1 \u5897\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li>\u78ba\u8a8d\u5fdc\u7b54\u756a\u53f7: \u30b5\u30fc\u30d0\u30fc\u306e\u521d\u671f\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u304c 1 \u5897\u52a0\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2>TCP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u4e3b\u306a\u7279\u5fb4\u306e\u5206\u6790<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u3001\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u79e9\u5e8f\u3042\u308b\u30c7\u30fc\u30bf\u8ee2\u9001\u3092\u4fdd\u8a3c\u3059\u308b\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u63a5\u7d9a\u306e\u78ba\u7acb<\/strong>: \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u8ee2\u9001\u304c\u59cb\u307e\u308b\u524d\u306b\u30c7\u30d0\u30a4\u30b9\u540c\u58eb\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u540c\u671f<\/strong>: \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u4e2d\u306b\u4ea4\u63db\u3055\u308c\u308b\u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u306b\u3088\u308a\u3001\u4e21\u65b9\u306e\u30c7\u30d0\u30a4\u30b9\u304c\u30c7\u30fc\u30bf\u9001\u4fe1\u3092\u540c\u671f\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u4fe1\u983c\u6027<\/strong>: SYN \u30d1\u30b1\u30c3\u30c8\u3068 SYN-ACK \u30d1\u30b1\u30c3\u30c8\u306e\u78ba\u8a8d\u5fdc\u7b54\u3092\u8981\u6c42\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001TCP \u306f\u30c7\u30d0\u30a4\u30b9\u9593\u306e\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u901a\u4fe1\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u79e9\u5e8f<\/strong>: \u30b7\u30fc\u30b1\u30f3\u30b9\u756a\u53f7\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u304c\u6b63\u3057\u3044\u9806\u5e8f\u3067\u53d7\u4fe1\u304a\u3088\u3073\u914d\u4fe1\u3055\u308c\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d5\u30ed\u30fc\u5236\u5fa1<\/strong>: \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u4e2d\u306b\u30cd\u30b4\u30b7\u30a8\u30fc\u30c8\u3055\u308c\u305f\u30a6\u30a3\u30f3\u30c9\u30a6 \u30b5\u30a4\u30ba\u306b\u3088\u308a\u30d5\u30ed\u30fc\u5236\u5fa1\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u53d7\u4fe1\u5074\u30c7\u30d0\u30a4\u30b9\u306b\u30c7\u30fc\u30bf\u304c\u5927\u91cf\u306b\u9001\u4fe1\u3055\u308c\u308b\u306e\u3092\u9632\u304e\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>TCP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u7a2e\u985e<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u30013 \u30a6\u30a7\u30a4 \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3068 4 \u30a6\u30a7\u30a4 \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e 2 \u7a2e\u985e\u306b\u5927\u5225\u3067\u304d\u307e\u3059\u3002\u8868\u3067\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>3\u30a6\u30a7\u30a4\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af<\/th>\n<th>4\u30a6\u30a7\u30a4\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u30b9\u30c6\u30c3\u30d71 \u2013 SYN<\/strong><\/td>\n<td><strong>\u30b9\u30c6\u30c3\u30d71 \u2013 \u7d42\u4e86<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>\u30b9\u30c6\u30c3\u30d7 2 \u2013 SYN-ACK<\/strong><\/td>\n<td><strong>\u30b9\u30c6\u30c3\u30d72 \u2013 ACK<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>\u30b9\u30c6\u30c3\u30d73 \u2013 ACK<\/strong><\/td>\n<td><strong>\u30b9\u30c6\u30c3\u30d73 \u2013 \u7d42\u4e86<\/strong><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><strong>\u30b9\u30c6\u30c3\u30d74 \u2013 ACK<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u7d9a\u306e\u78ba\u7acb\u306b\u306f 3 \u3064\u306e\u30b9\u30c6\u30c3\u30d7\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/td>\n<td>\u63a5\u7d9a\u306e\u7d42\u4e86\u306b\u306f 4 \u3064\u306e\u624b\u9806\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u63a5\u7d9a\u3092\u958b\u59cb\u3059\u308b\u305f\u3081\u306b\u5e83\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/td>\n<td>\u63a5\u7d9a\u3092\u9589\u3058\u308b\u3068\u304d\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u4f7f\u7528\u65b9\u6cd5\u3001\u554f\u984c\u3001\u304a\u3088\u3073\u89e3\u6c7a\u7b56<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u3001Web \u30d6\u30e9\u30a6\u30b8\u30f3\u30b0\u3001\u96fb\u5b50\u30e1\u30fc\u30eb\u901a\u4fe1\u3001\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001\u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u4e0d\u53ef\u6b20\u306a\u90e8\u5206\u3067\u3059\u3002\u305f\u3060\u3057\u3001\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af \u30d7\u30ed\u30bb\u30b9\u4e2d\u306b\u6b21\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>SYN\u30d5\u30e9\u30c3\u30c9\u653b\u6483<\/strong>: \u653b\u6483\u8005\u306f\u5927\u91cf\u306e SYN \u30d1\u30b1\u30c3\u30c8\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u308a\u3064\u3051\u3001\u30ea\u30bd\u30fc\u30b9\u3092\u5727\u8feb\u3057\u3066\u30b5\u30fc\u30d3\u30b9\u62d2\u5426\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u306f\u3001SYN \u30af\u30c3\u30ad\u30fc\u3068\u30ec\u30fc\u30c8\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u63a5\u7d9a\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8<\/strong>: \u30b5\u30fc\u30d0\u30fc\u304c SYN-ACK \u306b\u5fdc\u7b54\u3057\u3066 ACK \u30d1\u30b1\u30c3\u30c8\u3092\u53d7\u4fe1\u3057\u306a\u3044\u5834\u5408\u3001\u63a5\u7d9a\u304c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u306f\u3001\u518d\u9001\u4fe1\u3068\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u306e\u8abf\u6574\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u63a5\u7d9a\u306e\u30ea\u30bb\u30c3\u30c8<\/strong>: \u8aa4\u3063\u305f\u8a2d\u5b9a\u3084\u60aa\u610f\u306e\u3042\u308b\u610f\u56f3\u306b\u3088\u308a\u3001RST \u30d1\u30b1\u30c3\u30c8\u306e\u9001\u4fe1\u306b\u3088\u308b\u63a5\u7d9a\u306e\u4e88\u671f\u3057\u306a\u3044\u7d42\u4e86\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u6bd4\u8f03<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3092\u3001UDP (User Datagram Protocol) \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3084 SSL\/TLS \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306a\u3069\u306e\u985e\u4f3c\u306e\u7528\u8a9e\u3068\u8868\u3067\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>TCP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af<\/th>\n<th>UDP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af<\/th>\n<th>SSL\/TLS \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u63a5\u7d9a\u6307\u5411\u30d7\u30ed\u30c8\u30b3\u30eb\u3002<\/td>\n<td>\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u30ec\u30b9\u30d7\u30ed\u30c8\u30b3\u30eb\u3002<\/td>\n<td>\u6697\u53f7\u5316\u3092\u4f34\u3046\u63a5\u7d9a\u6307\u5411\u30d7\u30ed\u30c8\u30b3\u30eb\u3002<\/td>\n<\/tr>\n<tr>\n<td>3 \u30a6\u30a7\u30a4\u307e\u305f\u306f 4 \u30a6\u30a7\u30a4 \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3002<\/td>\n<td>\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u884c\u308f\u308c\u305a\u3001\u30c7\u30fc\u30bf\u30b0\u30e9\u30e0\u306f\u76f4\u63a5\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002<\/td>\n<td>\u30ad\u30fc\u4ea4\u63db\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u305f\u3081\u306e\u8907\u6570\u306e\u30b9\u30c6\u30c3\u30d7\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u4fe1\u983c\u6027\u3068\u79e9\u5e8f\u3042\u308b\u30c7\u30fc\u30bf\u8ee2\u9001\u3002<\/td>\n<td>\u9ad8\u901f\u3067\u3059\u304c\u3001\u4fe1\u983c\u6027\u304c\u4f4e\u304f\u3001\u9806\u5e8f\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/td>\n<td>\u5b89\u5168\u3067\u306a\u3044\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u3067\u306e\u5b89\u5168\u306a\u30c7\u30fc\u30bf\u8ee2\u9001\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u672a\u6765\u306e\u5c55\u671b\u3068\u30c6\u30af\u30ce\u30ed\u30b8\u30fc<\/h2>\n<p>\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u304c\u9032\u5316\u3059\u308b\u306b\u3064\u308c\u3001TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3082\u9032\u5316\u3057\u307e\u3059\u3002\u4eca\u5f8c\u306e\u9032\u6b69\u306b\u306f\u3001\u63a5\u7d9a\u306e\u78ba\u7acb\u3092\u9ad8\u901f\u5316\u3059\u308b\u305f\u3081\u306e\u3055\u3089\u306a\u308b\u6700\u9069\u5316\u3001\u65b0\u305f\u306a\u8105\u5a01\u306b\u5bfe\u6297\u3059\u308b\u305f\u3081\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u306e\u5f37\u5316\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3055\u308c\u308b\u30c7\u30d0\u30a4\u30b9\u306e\u6570\u306e\u5897\u52a0\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306e\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u306e\u5411\u4e0a\u306a\u3069\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u3068TCP\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af<\/h2>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30b5\u30fc\u30d0\u30fc\u9593\u306e\u4ef2\u4ecb\u5f79\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u5fdc\u7b54\u3092\u8ee2\u9001\u3057\u307e\u3059\u3002\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u3067 TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3068\u95a2\u9023\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u63a5\u7d9a\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>: \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f TCP \u63a5\u7d9a\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3057\u3001\u983b\u7e41\u306a\u63a5\u7d9a\u306e\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af \u30d7\u30ed\u30bb\u30b9\u3092\u9ad8\u901f\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0<\/strong>\u30d7\u30ed\u30ad\u30b7\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u8981\u6c42\u3092\u8907\u6570\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u5206\u6563\u3057\u3001\u5404\u63a5\u7d9a\u306e\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af \u30d7\u30ed\u30bb\u30b9\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u5168<\/strong>: \u30d7\u30ed\u30ad\u30b7\u306f\u3001\u6f5c\u5728\u7684\u306a\u8105\u5a01\u306b\u5bfe\u3057\u3066 TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u304a\u3088\u3073\u76e3\u8996\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<p>TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc793\" target=\"_new\" rel=\"noopener nofollow\">RFC 793: \u4f1d\u9001\u5236\u5fa1\u30d7\u30ed\u30c8\u30b3\u30eb<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Transmission_Control_Protocol#Connection_establishment\" target=\"_new\" rel=\"noopener nofollow\">TCP 3\u30a6\u30a7\u30a4\u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/TCP-Illustrated-Protocols-Addison-Wesley-Professional\/dp\/0321336313\" target=\"_new\" rel=\"noopener nofollow\">TCP\/IP \u56f3\u89e3 \u7b2c 1 \u5dfb: \u30d7\u30ed\u30c8\u30b3\u30eb<\/a><\/li>\n<\/ul>\n<p>\u7d50\u8ad6\u3068\u3057\u3066\u3001TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u3067\u4fe1\u983c\u6027\u304c\u9ad8\u304f\u5b89\u5168\u306a\u901a\u4fe1\u3092\u4fdd\u8a3c\u3059\u308b\u57fa\u790e\u7684\u306a\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002\u30c7\u30d0\u30a4\u30b9\u9593\u306e\u63a5\u7d9a\u3092\u78ba\u7acb\u3059\u308b\u4e0a\u3067\u306e\u305d\u306e\u91cd\u8981\u6027\u306f\u5f37\u8abf\u3057\u3059\u304e\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u305d\u306e\u7d99\u7d9a\u7684\u306a\u9032\u5316\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u901a\u4fe1\u306e\u660e\u308b\u3044\u672a\u6765\u3092\u7d04\u675f\u3057\u307e\u3059\u3002TCP \u30cf\u30f3\u30c9\u30b7\u30a7\u30a4\u30af\u306e\u8907\u96d1\u3055\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u3068\u4f01\u696d\u306f\u60c5\u5831\u306b\u57fa\u3065\u3044\u305f\u6c7a\u5b9a\u3092\u4e0b\u3057\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u6700\u9069\u5316\u3067\u304d\u307e\u3059\u3002<\/p>","protected":false},"featured_media":479260,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-479259","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>TCP Handshake: A Comprehensive Guide<\/mark>","faq_items":[{"question":"What is TCP handshake, and why is it important?","answer":"<p>TCP handshake is a three-step process that establishes a reliable and secure connection between devices over a network. It ensures synchronized data transmission and orderly communication, making it a fundamental part of internet communication.<\/p>"},{"question":"How did the TCP handshake originate, and where was it first mentioned?","answer":"<p>The concept of TCP handshake was introduced during the development of the Transmission Control Protocol in the early 1970s by Vint Cerf and Bob Kahn. The first mention of TCP handshake can be found in the Request for Comments (RFC) 793, published in September 1981.<\/p>"},{"question":"Can you explain the internal structure of the TCP handshake?","answer":"<p>Certainly! The TCP handshake operates at the Transport Layer of the OSI model and involves three steps:<\/p><ol><li>The client sends a SYN packet to the server to initiate the connection.<\/li><li>The server responds with a SYN-ACK packet, acknowledging the SYN and providing its own sequence number.<\/li><li>The client sends an ACK packet, confirming the receipt of the server's SYN-ACK. This completes the handshake, and the connection is established.<\/li><\/ol>"},{"question":"What are the key features of TCP handshake?","answer":"<p>The TCP handshake offers several important features:<\/p><ul><li>Connection Establishment: It allows devices to establish a connection before data transmission.<\/li><li>Synchronization: Devices agree on sequence numbers for data synchronization.<\/li><li>Reliability: Acknowledgments ensure reliable communication.<\/li><li>Orderliness: Sequence numbers maintain data order.<\/li><li>Flow Control: Window size negotiation enables flow control.<\/li><\/ul>"},{"question":"Are there different types of TCP handshake?","answer":"<p>Yes, there are two types: the three-way handshake and the four-way handshake. The three-way handshake is used for connection establishment, while the four-way handshake is used for connection termination.<\/p>"},{"question":"How is the TCP handshake used, and what problems may arise?","answer":"<p>The TCP handshake is crucial for various applications like web browsing, email, and file transfer. Some problems include SYN flood attacks and connection timeouts, but solutions like SYN cookies and retransmission exist to counter these issues.<\/p>"},{"question":"How does the TCP handshake compare to UDP and SSL\/TLS handshakes?","answer":"<p>TCP handshake is connection-oriented, while UDP is connectionless. SSL\/TLS handshake involves multiple steps for key exchange and security, while TCP handshake ensures ordered data transmission.<\/p>"},{"question":"What are the perspectives and future technologies related to TCP handshake?","answer":"<p>As technology evolves, TCP handshake may see further optimization for faster connection establishment, enhanced security measures, and improved scalability for growing internet usage.<\/p>"},{"question":"How do proxy servers relate to TCP handshake?","answer":"<p>Proxy servers can enhance TCP handshake by caching connections, load balancing, and providing additional security measures to protect the communication between clients and servers.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/479259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/479259\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/479260"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=479259"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}