{"id":11208,"date":"2020-06-16T10:12:07","date_gmt":"2020-06-16T01:12:07","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=11208"},"modified":"2023-05-28T08:41:42","modified_gmt":"2023-05-27T23:41:42","slug":"%e3%80%90%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e3%80%91tcp-ip%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=11208","title":{"rendered":"\u3010\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3011\u30d7\u30ed\u30c8\u30b3\u30eb\u3084TCP\/IP\u306b\u3064\u3044\u3066"},"content":{"rendered":"<h2>\u30d7\u30ed\u30c8\u30b3\u30eb<\/h2>\n<p>\u6a5f\u5668\u306e\u30e1\u30fc\u30ab\u30fc\u3084OS\u304c\u7570\u306a\u3063\u3066\u3044\u3066\u3082\u901a\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306e\u5171\u901a\u306e\u7d04\u675f\u4e8b\u3067\u3059\u3002HTTP\u3084FTP\u7b49\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>TCP\/IP\u3068\u306f\uff1f<\/h2>\n<p>\u500b\u3005\u306bTCP\u3084IP\u3068\u3044\u3046\u30d7\u30ed\u30c8\u30b3\u30eb\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u4e00\u822c\u7684\u306bTCP\/IP\u3068\u306f<span style=\"color: #ff0000;\"><strong>\u300c\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3092\u69cb\u7bc9\u3001\u904b\u7528\u3059\u308b\u4e0a\u3067\u5fc5\u8981\u306a\u30d7\u30ed\u30c8\u30b3\u30eb\u7fa4\u306e\u7dcf\u79f0\u300d<\/strong><\/span>\u3092\u6307\u3057\u307e\u3059\u3002<\/p>\n<h2>TCP\/IP\u306e\u968e\u5c64\u30e2\u30c7\u30eb<\/h2>\n<p>\u5404\u968e\u5c64\u304c\u72ec\u7acb\u3057\u3066\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002\u5404\u968e\u5c64\u306b\u306f\u968e\u5c64\u3092\u8b58\u5225\u3059\u308b\u30d8\u30c3\u30c0\u60c5\u5831\u3092\u542b\u3093\u3067\u304a\u308a\u3001\u9001\u4fe1\u5074\u3068\u53d7\u4fe1\u5074\u306e\u3084\u308a\u53d6\u308a\u306f\u30eb\u30fc\u30bf\u30fc\u304c\u53d7\u3051\u6301\u3061\u307e\u3059\u3002<\/p>\n<h3>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5c64(\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30c8\u30b3\u30eb)<\/h3>\n<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u4e0a\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540c\u58eb\u304c\u3084\u308a\u3068\u308a\u3059\u308b\u3002<\/p>\n<h4>\u30d7\u30ed\u30c8\u30b3\u30eb\u4f8b<\/h4>\n<ul>\n<li>HTTP<\/li>\n<li>SMTP<\/li>\n<li>FTP<\/li>\n<li>SSH<\/li>\n<li>DNS<\/li>\n<li>SMTP<\/li>\n<\/ul>\n<h4>\u7528\u9014<\/h4>\n<ul>\n<li>Web<\/li>\n<li>\u30e1\u30fc\u30eb<\/li>\n<li>\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001<\/li>\n<li>IP\u96fb\u8a71<\/li>\n<li>\u540d\u524d\u89e3\u6c7a<\/li>\n<li>IP\u30a2\u30c9\u30ec\u30b9\u81ea\u52d5\u5272\u308a\u5f53\u3066<\/li>\n<\/ul>\n<h4>HTTP\u306eTCP\/IP\u306e\u51e6\u7406\u306e\u6d41\u308c<\/h4>\n<p>\u5404\u5c64\u304c\u305d\u308c\u305e\u308c\u306e\u5f79\u5272\u3092\u3053\u306a\u3057\u3001\u6b21\u306e\u5c64\u306b\u4f9d\u983c\u3092\u3059\u308b\u3053\u3068\u3067Web\u30a2\u30af\u30bb\u30b9\u306f\u5b9f\u73fe\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h5>HTTP\u306fTCP\u306b\u901a\u4fe1\u4f9d\u983c\u3059\u308b\u3002<\/h5>\n<p>TCP\u306f\u4f9d\u983c\u3092\u53d7\u3051\u3066\u300c\u901a\u4fe1\u306e\u4fdd\u8a3c\u300d\u3084\u3001\u300c\u30c7\u30fc\u30bf\u306e\u5206\u5272\u300d\u3001\u300c\u901a\u4fe1\u901f\u5ea6\u306e\u8abf\u6574\u300d\u306a\u3069\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<h5>TCP\u306fIP\u306b\u914d\u9001\u4f9d\u983c\u3059\u308b\u3002<\/h5>\n<p>IP\u306f\u4f9d\u983c\u3092\u53d7\u3051\u3066\u3001\u300c\u901a\u4fe1\u76f8\u624b\u306b\u5bfe\u3057\u3066\u3069\u3046\u3044\u3046\u7d4c\u8def\u3067\u9001\u308b\u3079\u304d\u304b\u300d\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h5>IP\u306f\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u306b\u5b9f\u969b\u306e\u901a\u4fe1\u3092\u4f9d\u983c\u3059\u308b\u3002<\/h5>\n<p>\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u306f\u3001\u4f9d\u983c\u3092\u53d7\u3051\u3066\u300c\u5b9f\u969b\u306b\u7269\u7406\u7684\u306a\u901a\u4fe1\u300d\u3092\u884c\u3044\u307e\u3059\u3002\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540c\u58eb\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306f\u610f\u8b58\u3057\u306a\u3044\u3002\u901a\u4fe1\u306b\u6709\u7dda\u304b\u7121\u7dda\u3092\u4f7f\u3046\u304b\u306a\u3069\u306e\u307f\u3092\u610f\u8b58\u3059\u308b\u3002<\/p>\n<h3>\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u5c64\uff08\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u30d7\u30ed\u30c8\u30b3\u30eb\uff09<\/h3>\n<p>\u30c7\u30fc\u30bf\u8ee2\u9001\u3092\u5236\u5fa1\u3059\u308b\u3002\u5177\u4f53\u7684\u306b\u306f<span style=\"color: #ff0000;\"><strong>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540c\u58eb\u306e\u901a\u4fe1\u306e\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u78ba\u7acb\u3084\u5207\u65ad\u3001\u8ee2\u9001\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u306e\u518d\u9001\u51e6\u7406<\/strong><\/span>\u7b49\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>TCP<\/li>\n<li>UDP<\/li>\n<\/ul>\n<h3>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5c64\uff08\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30d7\u30ed\u30c8\u30b3\u30eb\uff09<\/h3>\n<p>IP\u30a2\u30c9\u30ec\u30b9\u3092\u7ba1\u7406\u3057\u3001\u7d4c\u8def\u9078\u629e\u3059\u308b\u3002\u5177\u4f53\u7684\u306b\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u74b0\u5883\u3067\u5b9b\u5148IP\u3092\u53c2\u7167\u3057\u3066\u6b21\u306b\u30c7\u30fc\u30bf\u3092\u6e21\u3059\u30eb\u30fc\u30bf\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<ul>\n<li>IP<\/li>\n<li>ICMP<\/li>\n<li>ARP<\/li>\n<\/ul>\n<h3>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u5c64<\/h3>\n<p>\u76f4\u63a5\u63a5\u7d9a\u3055\u308c\u305f\u6a5f\u5668\u540c\u58eb\u3067\u901a\u4fe1\u3059\u308b\u3002\u5177\u4f53\u7684\u306b\u306f\u3001\u5b9f\u969b\u306b\u30c7\u30fc\u30bf\u3092\u901a\u4fe1\u3057\u307e\u3059\u3002NIC\u3092\u52d5\u304b\u3059\u305f\u3081\u306e\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3067\u3059\u3002<\/p>\n<ul>\n<li>Ethernet<\/li>\n<li>PPP<\/li>\n<\/ul>\n<h4>\u7528\u9014<\/h4>\n<ul>\n<li>\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8<\/li>\n<li>\u7121\u7ddaLAN<\/li>\n<li>\u30d5\u30ec\u30fc\u30e0\u30ea\u30ec\u30fc<\/li>\n<\/ul>\n<h2>TCP\u30b3\u30cd\u30af\u30b7\u30e7\u30f3<\/h2>\n<p>OSI\u53c2\u7167\u30e2\u30c7\u30eb\u306e\u30ec\u30a4\u30e44\u306b\u8a72\u5f53\u3057\u3066\u3001<span style=\"color: #ff0000;\"><strong>3Way-Handshake<\/strong><\/span>\u306b\u3088\u3063\u3066\u30d1\u30b1\u30c3\u30c8\u3092\u9001\u4fe1\u5143\u304b\u3089\u9001\u4fe1\u5148\u306b\u9001\u4ed8\u3057\u307e\u3059\u3002\u53cc\u65b9\u306e\u30ce\u30fc\u30c9\u304c<span style=\"color: #ff0000;\"><strong>ESTABLISHED<\/strong><span style=\"color: #000000;\">\u306b\u306a\u3063\u305f\u72b6\u614b\u306e\u3053\u3068\u3092<strong>TCP<\/strong><strong>\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u7acb<\/strong>\u3068\u547c\u3073\u307e\u3059\u3002<\/span><\/span><\/p>\n<h3>TCP\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u306e\u4f8b<\/h3>\n<p>\u30d6\u30e9\u30a6\u30b6\u304cWeb\u30da\u30fc\u30b8\u3092\u8868\u793a\u3055\u305b\u3066\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u969b\u306b\u78ba\u7acb\u3057\u307e\u3059\u3002\u540c\u6642\u4e26\u884c\u3067\u8907\u6570\u753b\u50cf\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408\u306f\u8907\u6570\u306eTCP\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002<\/p>\n<h3>TCP\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u7acb\u624b\u9806\uff08<span style=\"color: #ff0000;\"><strong>3Way-Handshake<\/strong><\/span>\uff09<\/h3>\n<ol>\n<li>\u8981\u6c42\u5143\u304b\u3089\u8981\u6c42\u5148\u306b\u5bfe\u3057\u3066<span style=\"color: #ff0000;\"><strong>SYN\u30d1\u30b1\u30c3\u30c8<\/strong><\/span>\u3092\u9001\u4fe1<\/li>\n<li>SYN\u30d1\u30b1\u30c3\u30c8\u3092\u53d7\u4fe1\u3057\u8981\u6c42\u5148\u306f\u3001\u8981\u6c42\u8005\u306e\u63a5\u7d9a\u3092\u8a31\u53ef\u3059\u308b\u3053\u3068\u3092\u8868\u3059<span style=\"color: #ff0000;\"><strong>SYN\/ACK\u30d1\u30b1\u30c3\u30c8<\/strong><\/span>\u3092\u9001\u4fe1\uff08\u63a5\u7d9a\u8a31\u53ef\uff09<\/li>\n<li>SYN\/ACK\u30d1\u30b1\u30c3\u30c8\u3092\u53d7\u4fe1\u3057\u305f\u8981\u6c42\u5143\u306f\u63a5\u7d9a\u958b\u59cb\u3092\u8868\u3059<span style=\"color: #ff0000;\"><strong>ACK\u30d1\u30b1\u30c3\u30c8<\/strong><\/span>\u3092\u8981\u6c42\u5148\u306b\u9001\u4fe1\u3057\u3001\u76f8\u624b\u3068\u306e\u901a\u4fe1\u3092\u958b\u59cb\u3059\u308b\uff08\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u78ba\u7acb\uff09<\/li>\n<\/ol>\n<h2>\u901a\u4fe1\u306e\u72b6\u614b<\/h2>\n<h3>TIME_WAIT<\/h3>\n<p><span style=\"color: #ff0000;\"><strong>\u63a5\u7d9a\u7d42\u4e86\u5f85\u3061<\/strong><\/span>\u306e\u72b6\u614b\u3067\u3059\u3002\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3069\u308c\u304f\u3089\u3044\u63a5\u7d9a\u306e\u7d42\u4e86\u3092\u5f85\u3064\u304b\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u4f7f\u7528\u6e08\u307f\u306eTCP\u30dd\u30fc\u30c8\u306e\u958b\u653e\u3092\u65e9\u304f\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u30bd\u30b1\u30c3\u30c8\u306b\u3064\u3044\u3066<\/h2>\n<p><span style=\"color: #ff0000;\"><strong>\u30bd\u30b1\u30c3\u30c8\u306fTCP\u901a\u4fe1\u3092\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9<\/strong><\/span>\u3067\u3059\u3002TCP\u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u4e00\u3064\u78ba\u7acb\u3059\u308b\u3068\u4e00\u3064\u30bd\u30b1\u30c3\u30c8\u3092\u6d88\u8cbb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u30d7\u30ed\u30c8\u30b3\u30eb \u6a5f\u5668\u306e\u30e1\u30fc\u30ab\u30fc\u3084OS\u304c\u7570\u306a\u3063\u3066\u3044\u3066\u3082\u901a\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306e\u5171\u901a\u306e\u7d04\u675f\u4e8b\u3067\u3059\u3002HTTP\u3084FTP\u7b49\u304c\u3042\u308a\u307e\u3059\u3002 TCP\/IP\u3068\u306f\uff1f \u500b\u3005\u306bTCP\u3084IP\u3068\u3044\u3046\u30d7\u30ed\u30c8\u30b3\u30eb\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u4e00\u822c\u7684\u306bTCP\/IP\u3068\u306f\u300c [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[89],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/11208"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11208"}],"version-history":[{"count":15,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/11208\/revisions"}],"predecessor-version":[{"id":20781,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/11208\/revisions\/20781"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11208"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}