{"id":68235,"date":"2023-12-19T21:30:19","date_gmt":"2023-12-19T13:30:19","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=68235"},"modified":"2023-12-19T21:30:19","modified_gmt":"2023-12-19T13:30:19","slug":"txyzdfhrxh","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/68235.html","title":{"rendered":"TCP\u534f\u8bae\u4e2d\u7684FIN\u548cRST\u4fe1\u53f7"},"content":{"rendered":"

  \u672c\u6587\u5c06\u4ecb\u7ecdTCP\u534f\u8bae\u4e2d\u7684FIN\u548cRST\u4fe1\u53f7\uff0c\u89e3\u91ca\u5b83\u4eec\u7684\u4f5c\u7528\u548c\u5f71\u54cd\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u7f51\u7edc\u901a\u4fe1\u4e2d\u7684\u91cd\u8981\u6027\u3002<\/p>\n

FIN\u4fe1\u53f7\u7684\u4f5c\u7528\u548c\u5f71\u54cd<\/h2>\n

  TCP\u534f\u8bae\u4e2d\u7684FIN\u4fe1\u53f7\u662f\u7528\u4e8e\u7ec8\u6b62\u8fde\u63a5\u7684\u6807\u8bc6\u3002\u5f53\u4e00\u7aef\u7684\u5e94\u7528\u7a0b\u5e8f\u5b8c\u6210\u53d1\u9001\u6570\u636e\u540e\uff0c\u5b83\u4f1a\u5411\u53e6\u4e00\u7aef\u53d1\u9001\u4e00\u4e2aFIN\u5305\uff0c\u7528\u6765\u8868\u793a\u5b83\u4e0d\u518d\u6709\u6570\u636e\u8981\u53d1\u9001\u3002<\/p>\n

  \u53d1\u9001FIN\u4fe1\u53f7\u7684\u8fc7\u7a0b<\/h3>\n

  \u53d1\u9001FIN\u4fe1\u53f7\u7684\u8fc7\u7a0b\u5305\u62ec\uff1a\u5e94\u7528\u7a0b\u5e8f\u901a\u77e5TCP\u5c42\u53d1\u9001FIN\u5305\uff0cTCP\u5c42\u53d1\u9001FIN\u5305\u5230\u5bf9\u7aef\uff0c\u63a5\u6536\u7aef\u6536\u5230FIN\u5305\u540e\u8fdb\u884c\u786e\u8ba4\u5e76\u53d1\u9001ACK\u5305\u3002<\/p>\n

  FIN\u4fe1\u53f7\u7684\u5f71\u54cd<\/h3>\n

  \u63a5\u6536\u5230FIN\u5305\u7684\u4e00\u7aef\u4f1a\u8fdb\u5165CLOSED\u72b6\u6001\uff0c\u4e0d\u518d\u63a5\u6536\u65b0\u7684\u6570\u636e\uff0c\u4f46\u4ecd\u7136\u53ef\u4ee5\u53d1\u9001\u6570\u636e\u3002\u4e00\u65e6\u53cc\u65b9\u90fd\u53d1\u9001\u4e86FIN\u5e76\u6536\u5230\u4e86\u5bf9\u65b9\u7684FIN-ACK\uff0c\u8fde\u63a5\u5c31\u4f1a\u5b8c\u5168\u5173\u95ed\u3002<\/p>\n

RST\u4fe1\u53f7\u7684\u4f5c\u7528\u548c\u5f71\u54cd<\/h2>\n

  RST\u4fe1\u53f7\u662fTCP\u534f\u8bae<\/a>\u4e2d\u7684\u4e00\u79cd\u91cd\u7f6e\u4fe1\u53f7\uff0c\u7528\u4e8e\u7a81\u7136\u7ec8\u6b62\u8fde\u63a5\u6216\u54cd\u5e94\u975e\u6cd5\u8bf7\u6c42\u3002<\/p>\n

  \u53d1\u9001RST\u4fe1\u53f7\u7684\u60c5\u51b5<\/h3>\n

  \u5f53\u63a5\u6536\u5230\u4e00\u4e2a\u65e0\u6548\u7684\u6570\u636e\u5305\u6216\u8005\u8fde\u63a5\u72b6\u6001\u51fa\u73b0\u5f02\u5e38\u65f6\uff0cTCP\u4f1a\u53d1\u9001\u4e00\u4e2aRST\u5305\u6765\u7ec8\u6b62\u8fde\u63a5\uff0c\u4ee5\u6e05\u9664\u5f02\u5e38\u72b6\u6001\u3002<\/p>\n

  RST\u4fe1\u53f7\u7684\u5f71\u54cd<\/h3>\n

  \u63a5\u6536\u5230RST\u5305\u7684\u4e00\u7aef\u4f1a\u7acb\u5373\u5173\u95ed\u8fde\u63a5\uff0c\u4e0d\u4f1a\u8fdb\u884c\u6b63\u5e38\u7684\u8fde\u63a5\u5173\u95ed\u6d41\u7a0b\uff0c\u6b64\u65f6\u8fde\u63a5\u88ab\u5f3a\u5236\u4e2d\u65ad\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  FIN\u548cRST\u4fe1\u53f7\u5728TCP\u534f\u8bae\u4e2d\u626e\u6f14\u7740\u91cd\u8981\u7684\u89d2\u8272\uff0c\u7528\u4e8e\u63a7\u5236\u548c\u7ec8\u6b62\u8fde\u63a5\u3002<\/strong>\u4e86\u89e3\u5b83\u4eec\u7684\u4f5c\u7528\u548c\u5f71\u54cd\u5bf9\u4e8e\u7f51\u7edc\u901a\u4fe1\u7684\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027\u81f3\u5173\u91cd\u8981\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u672c\u6587\u5c06\u4ecb\u7ecdTCP\u534f\u8bae\u4e2d\u7684FIN\u548cRST\u4fe1\u53f7\uff0c\u89e3\u91ca\u5b83\u4eec\u7684\u4f5c\u7528\u548c\u5f71\u54cd\uff0c\u4ee5\u53ca\u5b83\u4eec\u5728\u7f51\u7edc\u901a\u4fe1\u4e2d\u7684\u91cd\u8981\u6027\u3002FIN\u4fe1\u53f7\u7684\u4f5c\u7528\u548c\u5f71\u54cdTCP\u534f\u8bae\u4e2d\u7684FIN\u4fe1\u53f7\u662f\u7528\u4e8e\u7ec8\u6b62\u8fde\u63a5\u7684\u6807\u8bc6<\/p>\n","protected":false},"author":1,"featured_media":64231,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[161],"class_list":["post-68235","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-tcp"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/68235","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=68235"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/68235\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/64231"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=68235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=68235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=68235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}