{"id":205239,"date":"2020-11-22T09:05:36","date_gmt":"2020-11-22T01:05:36","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=205239"},"modified":"2020-11-10T18:06:08","modified_gmt":"2020-11-10T10:06:08","slug":"talking-about","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/talking-about.html","title":{"rendered":"\u4eceTCP\u534f\u8bae\u7684\u539f\u7406\u8bbarst\u590d\u4f4d\u653b\u51fb"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u5728\u8c08RST\u653b\u51fb\u524d\uff0c\u5fc5\u987b\u5148\u4e86\u89e3TCP\uff1a\u5982\u4f55\u901a\u8fc7\u4e09\u6b21\u63e1\u624b\u5efa\u7acbTCP\u8fde\u63a5\u3001\u56db\u6b21\u63e1\u624b\u600e\u6837\u628a\u5168\u53cc\u5de5\u7684\u8fde\u63a5\u5173\u95ed\u6389\u3001\u6ed1\u52a8\u7a97\u53e3\u662f\u600e\u4e48\u4f20\u8f93\u6570\u636e\u7684\u3001TCP\u7684flag\u6807\u5fd7\u4f4d\u91ccRST\u5728\u54ea\u4e9b\u60c5\u51b5\u4e0b\u51fa\u73b0\u3002\u4e0b\u9762\u6211\u4f1a\u753b\u4e00\u4e9b\u5c3d\u91cf\u7b80\u5316\u7684\u56fe\u6765\u8868\u8fbe\u6e05\u695a\u4e0a\u8ff0\u51e0\u70b9\uff0c\u4e4b\u540e\u518d\u4e86\u89e3\u4e0bRST\u653b\u51fb\u662f\u600e\u4e48\u56de\u4e8b\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n TCP\u662f\u4ec0\u4e48?<\/strong><\/span><\/div>\n TCP\u662f\u5728IP\u7f51\u7edc\u5c42\u4e4b\u4e0a\u7684\u4f20\u8f93\u5c42\u534f\u8bae\uff0c\u7528\u4e8e\u63d0\u4f9bport\u5230port\u9762\u5411\u8fde\u63a5\u7684\u53ef\u9760\u7684\u5b57\u8282\u6d41\u4f20\u8f93\u3002\u6211\u6765\u7528\u571f\u8bed\u89e3\u91ca\u4e0b\u4e0a\u9762\u7684\u51e0\u4e2a\u5173\u952e\u5b57\uff1a<\/p>\n port\u5230port\uff1aIP\u5c42\u53ea\u7ba1\u6570\u636e\u5305\u4ece\u4e00\u4e2aIP\u5230\u53e6\u4e00\u4e2aIP\u7684\u4f20\u8f93\uff0cIP\u5c42\u4e4b\u4e0a\u7684TCP\u5c42\u52a0\u4e0a\u7aef\u53e3\u540e\uff0c\u5c31\u662f\u9762\u5411\u8fdb\u7a0b\u4e86\uff0c\u6bcf\u4e2aport\u90fd\u53ef\u4ee5\u5bf9\u5e94\u5230\u7528\u6237\u8fdb\u7a0b\u3002<\/p>\n \u53ef\u9760\uff1aTCP\u4f1a\u8d1f\u8d23\u7ef4\u62a4\u5b9e\u9645\u4e0a\u5b50\u865a\u4e4c\u6709\u7684\u8fde\u63a5\u6982\u5ff5\uff0c\u5305\u62ec\u6536\u5305\u540e\u7684\u786e\u8ba4\u5305\u3001\u4e22\u5305\u540e\u7684\u91cd\u53d1\u7b49\u6765\u4fdd\u8bc1\u53ef\u9760\u6027\u3002\u7531\u4e8e\u5e26\u5bbd\u548c\u4e0d\u540c\u673a\u5668\u5904\u7406\u80fd\u529b\u7684\u4e0d\u540c\uff0cTCP\u8981\u80fd\u63a7\u5236\u6d41\u91cf\u3002<\/p>\n \u5b57\u8282\u6d41\uff1aTCP\u4f1a\u628a\u5e94\u7528\u8fdb\u7a0b\u4f20\u6765\u7684\u5b57\u8282\u6d41\u6570\u636e\u5207\u5272\u6210\u8bb8\u591a\u4e2a\u6570\u636e\u5305\uff0c\u5728\u7f51\u7edc\u4e0a\u53d1\u9001\u3002IP\u5305\u662f\u4f1a\u5931\u53bb\u987a\u5e8f\u6216\u8005\u4ea7\u751f\u91cd\u590d\u7684\uff0cTCP\u534f\u8bae\u8981\u80fd\u8fd8\u539f\u5230\u5b57\u8282\u6d41\u672c\u6765\u9762\u76ee\u3002<\/p>\n <\/p>\n \u4ece\u4e0a\u9762\u7684TCP\u534f\u8bae\u56fe\u53ef\u4ee5\u770b\u5230\uff0c\u6807\u5fd7\u4f4d\u5171\u6709\u516d\u4e2a\uff0c\u5176\u4e2dRST\u4f4d\u5c31\u5728TCP\u5f02\u5e38\u65f6\u51fa\u73b0\uff0c\u4e5f\u662f\u6211\u8fd9\u7bc7\u6587\u7ae0\u91cd\u70b9\u5173\u6ce8\u7684\u5730\u65b9\u3002<\/p>\n \u901a\u8fc7\u4e09\u6b21\u63e1\u624b\u5efa\u7acb\u8fde\u63a5<\/strong><\/span><\/div>\n \u4e0b\u9762\u6211\u901a\u8fc7A\u5411B\u5efa\u7acbTCP\u8fde\u63a5\u6765\u8bf4\u660e\u4e09\u6b21\u63e1\u624b\u600e\u4e48\u5b8c\u6210\u7684\u3002<\/p>\n <\/p>\n \u4e3a\u4e86\u80fd\u591f\u8bf4\u6e05\u695a\u4e0b\u9762\u7684RST\u653b\u51fb\uff0c\u9700\u8981\u7ed3\u5408\u4e0a\u56fe\u8bf4\u8bf4\uff1aSYN\u6807\u5fd7\u4f4d\u3001\u5e8f\u53f7\u3001\u6ed1\u52a8\u7a97\u53e3\u5927\u5c0f\u3002<\/p>\n \u5efa\u7acb\u8fde\u63a5\u7684\u8bf7\u6c42\u4e2d\uff0c\u6807\u5fd7\u4f4dSYN\u90fd\u8981\u7f6e\u4e3a1\uff0c\u5728\u8fd9\u79cd\u8bf7\u6c42\u4e2d\u4f1a\u544a\u77e5MSS\u6bb5\u5927\u5c0f\uff0c\u5c31\u662f\u672c\u673a\u5e0c\u671b\u63a5\u6536TCP\u5305\u7684\u6700\u5927\u5927\u5c0f\u3002<\/p>\n \u53d1\u9001\u7684\u6570\u636eTCP\u5305\u90fd\u6709\u4e00\u4e2a\u5e8f\u53f7\u3002\u5b83\u662f\u8fd9\u4e48\u5f97\u6765\u7684\uff1a\u6700\u521d\u53d1\u9001SYN\u65f6\uff0c\u6709\u4e00\u4e2a\u521d\u59cb\u5e8f\u53f7\uff0c\u6839\u636eRFC\u7684\u5b9a\u4e49\uff0c\u5404\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b9e\u73b0\u90fd\u662f\u4e0e\u7cfb\u7edf\u65f6\u95f4\u76f8\u5173\u7684\u3002\u4e4b\u540e\uff0c\u5e8f\u53f7\u7684\u503c\u4f1a\u4e0d\u65ad\u7684\u589e\u52a0\uff0c\u6bd4\u5982\u539f\u6765\u7684\u5e8f\u53f7\u662f100\uff0c\u5982\u679c\u8fd9\u4e2aTCP\u5305\u7684\u6570\u636e\u670910\u4e2a\u5b57\u8282\uff0c\u90a3\u4e48\u4e0b\u6b21\u7684TCP\u5305\u5e8f\u53f7\u4f1a\u53d8\u6210110\u3002<\/p>\n \u6ed1\u52a8\u7a97\u53e3\u7528\u4e8e\u52a0\u901f\u4f20\u8f93\uff0c\u6bd4\u5982\u53d1\u4e86\u4e00\u4e2aseq=100\u7684\u5305\uff0c\u7406\u5e94\u6536\u5230\u8fd9\u4e2a\u5305\u7684\u786e\u8ba4ack=101\u540e\u518d\u7ee7\u7eed\u53d1\u4e0b\u4e00\u4e2a\u5305\uff0c\u4f46\u6709\u4e86\u6ed1\u52a8\u7a97\u53e3\uff0c\u53ea\u8981\u65b0\u5305\u7684seq\u4e0e\u6ca1\u6709\u5f97\u5230\u786e\u8ba4\u7684\u6700\u5c0fseq\u4e4b\u5dee\u5c0f\u4e8e\u6ed1\u52a8\u7a97\u53e3\u5927\u5c0f\uff0c\u5c31\u53ef\u4ee5\u7ee7\u7eed\u53d1\u3002<\/p>\n \u6ed1\u52a8\u7a97\u53e3<\/strong><\/span><\/div>\n \u6ed1\u52a8\u7a97\u53e3\u6beb\u65e0\u7591\u95ee\u662f\u7528\u6765\u52a0\u901f\u6570\u636e\u4f20\u8f93\u7684\u3002TCP\u8981\u4fdd\u8bc1\u201c\u53ef\u9760\u201d\uff0c\u5c31\u9700\u8981\u5bf9\u4e00\u4e2a\u6570\u636e\u5305\u8fdb\u884cack\u786e\u8ba4\u8868\u793a\u63a5\u6536\u7aef\u6536\u5230\u3002\u6709\u4e86\u6ed1\u52a8\u7a97\u53e3\uff0c\u63a5\u6536\u7aef\u5c31\u53ef\u4ee5\u7b49\u6536\u5230\u8bb8\u591a\u5305\u540e\u53ea\u53d1\u4e00\u4e2aack\u5305\uff0c\u786e\u8ba4\u4e4b\u524d\u5df2\u7ecf\u6536\u5230\u8fc7\u7684\u591a\u4e2a\u6570\u636e\u5305\u3002\u6709\u4e86\u6ed1\u52a8\u7a97\u53e3\uff0c\u53d1\u9001\u7aef\u5728\u53d1\u9001\u5b8c\u4e00\u4e2a\u6570\u636e\u5305\u540e\u4e0d\u7528\u7b49\u5f85\u5b83\u7684ack\uff0c\u5728\u6ed1\u52a8\u7a97\u53e3\u5927\u5c0f\u5185\u53ef\u4ee5\u7ee7\u7eed\u53d1\u9001\u5176\u4ed6\u6570\u636e\u5305\u3002\u4e3e\u4e2a\u4f8b\u5b50\u6765\u770b\u5427\u3002<\/p>\n <\/p>\n \u5927\u5bb6\u770b\u4e0a\u56fe\uff0c\u6807\u5fd7\u4f4d\u4e3a.\u8868\u793a\u6240\u6709\u7684flag\u90fd\u4e3a0\u3002\u6807\u5fd7\u4f4dP\u8868\u793aflag\u4e3aPSH\u7684TCP\u5305\uff0c\u7528\u4e8e\u5feb\u901f\u4f20\u8f93\u6570\u636e\u3002<\/p>\n \u524d\u4e09\u4e2a\u5305\u662f\u4e09\u6b21\u63e1\u624b\uff0c\u5ba2\u6237\u7aef\u8868\u793a\u81ea\u5df1\u7684\u6ed1\u52a8\u7a97\u53e3\u5927\u5c0f\u662f65535(\u6211\u7684XP\u673a\u5668)\uff0c\u670d\u52a1\u5668\u7aef\u8868\u793a\u6ed1\u52a8\u7a97\u53e3\u662f5840(\u5c4f\u5e55\u5bbd\u4e86\uff0c\u6ca1\u622a\u51fa\u6765)\u3002\u4ece\u7b2c\u56db\u4e2a\u5305\u5f00\u59cb\uff0c\u5ba2\u6237\u7aef\u5411\u670d\u52a1\u5668\u53d1\u9001PSH\u5305\uff0c\u6570\u636e\u957f\u5ea6\u662f520\u5b57\u8282\uff0c\u670d\u52a1\u5668\u53d1\u4e86ack\u786e\u8ba4\u5305\u3002\u6ce8\u610f\u6b64\u65f6win\u7a97\u53e3\u5927\u5c0f\u53d1\u751f\u4e86\u6539\u53d8\u54c8\u3002\u4ee5\u6b64\u7c7b\u63a8\u3002<\/p>\n \u5012\u6570\u7b2c\u4e8c\u3001\u4e09\u5305\uff0c\u670d\u52a1\u5668\u5728\u6ed1\u52a8\u7a97\u53e3\u5185\u8fde\u7eed\u5411\u5ba2\u6237\u7aef\u53d1\u5305\uff0c\u5ba2\u6237\u7aef\u53d1\u9001\u7684ack 124\u540c\u65f6\u786e\u8ba4\u4e86\u4e4b\u524d\u7684\u4e24\u4e2a\u5305\u3002\u8fd9\u5c31\u662f\u6ed1\u52a8\u7a97\u53e3\u7684\u529f\u80fd\u4e86\u3002<\/p>\n \u5982\u679c\u8c08\u5230TCP\u653b\u51fb\u5c31\u9700\u8981\u6ce8\u610f\uff0cTCP\u7684\u5404\u79cd\u5b9e\u73b0\u4e2d\uff0c\u5728\u6ed1\u52a8\u7a97\u53e3\u4e4b\u5916\u7684seq\u4f1a\u88ab\u6254\u6389!\u4e0b\u9762\u4f1a\u8bb2\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n \u56db\u6b21\u63e1\u624b\u7684\u6b63\u5e38TCP\u8fde\u63a5\u5173\u95ed<\/strong><\/span><\/div>\n \u5148\u753b\u5f20\u7b80\u5355\u7684\u6b63\u5e38\u5173\u95ed\u8fde\u63a5\u72b6\u6001\u53d8\u8fc1\u56fe\u3002<\/p>\n <\/p>\n FIN\u6807\u5fd7\u4f4d\u4e5f\u770b\u5230\u4e86\uff0c\u5b83\u7528\u6765\u8868\u793a\u6b63\u5e38\u5173\u95ed\u8fde\u63a5\u3002\u56fe\u7684\u5de6\u8fb9\u662f\u4e3b\u52a8\u5173\u95ed\u8fde\u63a5\u65b9\uff0c\u53f3\u8fb9\u662f\u88ab\u52a8\u5173\u95ed\u8fde\u63a5\u65b9\uff0c\u7528netstat\u547d\u4ee4\u53ef\u4ee5\u770b\u5230\u6807\u51fa\u7684\u8fde\u63a5\u72b6\u6001\u3002<\/p>\n FIN\u662f\u6b63\u5e38\u5173\u95ed\uff0c\u5b83\u4f1a\u6839\u636e\u7f13\u51b2\u533a\u7684\u987a\u5e8f\u6765\u53d1\u7684\uff0c\u5c31\u662f\u8bf4\u7f13\u51b2\u533aFIN\u4e4b\u524d\u7684\u5305\u90fd\u53d1\u51fa\u53bb\u540e\u518d\u53d1FIN\u5305\uff0c\u8fd9\u4e0eRST\u4e0d\u540c\u3002<\/p>\n RST\u6807\u5fd7\u4f4d<\/strong><\/span><\/div>\n RST\u8868\u793a\u590d\u4f4d\uff0c\u7528\u6765\u5f02\u5e38\u7684\u5173\u95ed\u8fde\u63a5\uff0c\u5728TCP\u7684\u8bbe\u8ba1\u4e2d\u5b83\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u3002\u5c31\u50cf\u4e0a\u9762\u8bf4\u7684\u4e00\u6837\uff0c\u53d1\u9001RST\u5305\u5173\u95ed\u8fde\u63a5\u65f6\uff0c\u4e0d\u5fc5\u7b49\u7f13\u51b2\u533a\u7684\u5305\u90fd\u53d1\u51fa\u53bb(\u4e0d\u50cf\u4e0a\u9762\u7684FIN\u5305)\uff0c\u76f4\u63a5\u5c31\u4e22\u5f03\u7f13\u5b58\u533a\u7684\u5305\u53d1\u9001RST\u5305\u3002\u800c\u63a5\u6536\u7aef\u6536\u5230RST\u5305\u540e\uff0c\u4e5f\u4e0d\u5fc5\u53d1\u9001ACK\u5305\u6765\u786e\u8ba4\u3002<\/p>\n TCP\u5904\u7406\u7a0b\u5e8f\u4f1a\u5728\u81ea\u5df1\u8ba4\u4e3a\u7684\u5f02\u5e38\u65f6\u523b\u53d1\u9001RST\u5305\u3002\u4f8b\u5982\uff0cA\u5411B\u53d1\u8d77\u8fde\u63a5\uff0c\u4f46B\u4e4b\u4e0a\u5e76\u672a\u76d1\u542c\u76f8\u5e94\u7684\u7aef\u53e3\uff0c\u8fd9\u65f6B\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684TCP\u5904\u7406\u7a0b\u5e8f\u4f1a\u53d1RST\u5305\u3002<\/p>\n \u53c8\u6bd4\u5982\uff0cAB\u6b63\u5e38\u5efa\u7acb\u8fde\u63a5\u4e86\uff0c\u6b63\u5728\u901a\u8baf\u65f6\uff0cA\u5411B\u53d1\u9001\u4e86FIN\u5305\u8981\u6c42\u5173\u8fde\u63a5\uff0cB\u53d1\u9001ACK\u540e\uff0c\u7f51\u65ad\u4e86\uff0cA\u901a\u8fc7\u82e5\u5e72\u539f\u56e0\u653e\u5f03\u4e86\u8fd9\u4e2a\u8fde\u63a5(\u4f8b\u5982\u8fdb\u7a0b\u91cd\u542f)\u3002\u7f51\u901a\u4e86\u540e\uff0cB\u53c8\u5f00\u59cb\u53d1\u6570\u636e\u5305\uff0cA\u6536\u5230\u540e\u8868\u793a\u538b\u529b\u5f88\u5927\uff0c\u4e0d\u77e5\u9053\u8fd9\u91ce\u8fde\u63a5\u54ea\u6765\u7684\uff0c\u5c31\u53d1\u4e86\u4e2aRST\u5305\u5f3a\u5236\u628a\u8fde\u63a5\u5173\u4e86\uff0cB\u6536\u5230\u540e\u4f1a\u51fa\u73b0connect reset by peer\u9519\u8bef\u3002<\/p>\n RST\u653b\u51fb<\/strong><\/span><\/div>\n A\u548c\u670d\u52a1\u5668B\u4e4b\u95f4\u5efa\u7acb\u4e86TCP\u8fde\u63a5\uff0c\u6b64\u65f6C\u4f2a\u9020\u4e86\u4e00\u4e2aTCP\u5305\u53d1\u7ed9B\uff0c\u4f7fB\u5f02\u5e38\u7684\u65ad\u5f00\u4e86\u4e0eA\u4e4b\u95f4\u7684TCP\u8fde\u63a5\uff0c\u5c31\u662fRST\u653b\u51fb\u4e86\u3002\u5b9e\u9645\u4e0a\u4ece\u4e0a\u9762RST\u6807\u5fd7\u4f4d\u7684\u529f\u80fd\u5df2\u7ecf\u53ef\u4ee5\u770b\u51fa\u8fd9\u79cd\u653b\u51fb\u5982\u4f55\u8fbe\u5230\u6548\u679c\u4e86\u3002<\/p>\n \u90a3\u4e48\u4f2a\u9020\u4ec0\u4e48\u6837\u7684TCP\u5305\u53ef\u4ee5\u8fbe\u6210\u76ee\u7684\u5462?\u6211\u4eec\u81f3\u9876\u5411\u4e0b\u7684\u770b\u3002<\/p>\n \u5047\u5b9aC\u4f2a\u88c5\u6210A\u53d1\u8fc7\u53bb\u7684\u5305\uff0c\u8fd9\u4e2a\u5305\u5982\u679c\u662fRST\u5305\u7684\u8bdd\uff0c\u6beb\u65e0\u7591\u95ee\uff0cB\u5c06\u4f1a\u4e22\u5f03\u4e0eA\u7684\u7f13\u51b2\u533a\u4e0a\u6240\u6709\u6570\u636e\uff0c\u5f3a\u5236\u5173\u6389\u8fde\u63a5\u3002<\/p>\n \u5982\u679c\u53d1\u8fc7\u53bb\u7684\u5305\u662fSYN\u5305\uff0c\u90a3\u4e48\uff0cB\u4f1a\u8868\u793aA\u5df2\u7ecf\u53d1\u75af\u4e86(\u4e0eOS\u7684\u5b9e\u73b0\u6709\u5173)\uff0c\u6b63\u5e38\u8fde\u63a5\u65f6\u53c8\u6765\u5efa\u65b0\u8fde\u63a5\uff0cB\u4e3b\u52a8\u5411A\u53d1\u4e2aRST\u5305\uff0c\u5e76\u5728\u81ea\u5df1\u8fd9\u7aef\u5f3a\u5236\u5173\u6389\u8fde\u63a5\u3002<\/p>\n \u8fd9\u4e24\u79cd\u65b9\u5f0f\u90fd\u80fd\u591f\u8fbe\u5230\u590d\u4f4d\u653b\u51fb\u7684\u6548\u679c\u3002\u4f3c\u4e4e\u633a\u6050\u6016\uff0c\u7136\u800c\u5173\u952e\u662f\uff0c\u5982\u4f55\u80fd\u4f2a\u9020\u6210A\u53d1\u7ed9B\u7684\u5305\u5462?\u8fd9\u91cc\u6709\u4e24\u4e2a\u5173\u952e\u56e0\u7d20\uff0c\u6e90\u7aef\u53e3\u548c\u5e8f\u5217\u53f7\u3002<\/p>\n \u4e00\u4e2aTCP\u8fde\u63a5\u90fd\u662f\u56db\u5143\u7ec4\uff0c\u7531\u6e90IP\u3001\u6e90\u7aef\u53e3\u3001\u76ee\u6807IP\u3001\u76ee\u6807\u7aef\u53e3\u552f\u4e00\u786e\u5b9a\u4e00\u4e2a\u8fde\u63a5\u3002\u6240\u4ee5\uff0c\u5982\u679cC\u8981\u4f2a\u9020A\u53d1\u7ed9B\u7684\u5305\uff0c\u8981\u5728\u4e0a\u9762\u63d0\u5230\u7684IP\u5934\u548cTCP\u5934\uff0c\u628a\u6e90IP\u3001\u6e90\u7aef\u53e3\u3001\u76ee\u6807IP\u3001\u76ee\u6807\u7aef\u53e3\u90fd\u586b\u5bf9\u3002\u8fd9\u91ccB\u4f5c\u4e3a\u670d\u52a1\u5668\uff0cIP\u548c\u7aef\u53e3\u662f\u516c\u5f00\u7684\uff0cA\u662f\u6211\u4eec\u8981\u4e0b\u624b\u7684\u76ee\u6807\uff0cIP\u5f53\u7136\u77e5\u9053\uff0c\u4f46A\u7684\u6e90\u7aef\u53e3\u5c31\u4e0d\u6e05\u695a\u4e86\uff0c\u56e0\u4e3a\u8fd9\u53ef\u80fd\u662fA\u968f\u673a\u751f\u6210\u7684\u3002\u5f53\u7136\uff0c\u5982\u679c\u80fd\u591f\u5bf9\u5e38\u89c1\u7684OS\u5982windows\u548clinux\u627e\u51fa\u751f\u6210source port\u89c4\u5f8b\u7684\u8bdd\uff0c\u8fd8\u662f\u53ef\u4ee5\u641e\u5b9a\u7684\u3002<\/p>\n \u5e8f\u5217\u53f7\u95ee\u9898\u662f\u4e0e\u6ed1\u52a8\u7a97\u53e3\u5bf9\u5e94\u7684\uff0c\u4f2a\u9020\u7684TCP\u5305\u91cc\u9700\u8981\u586b\u5e8f\u5217\u53f7\uff0c\u5982\u679c\u5e8f\u5217\u53f7\u7684\u503c\u4e0d\u5728A\u4e4b\u524d\u5411B\u53d1\u9001\u65f6B\u7684\u6ed1\u52a8\u7a97\u53e3\u5185\uff0cB\u662f\u4f1a\u4e3b\u52a8\u4e22\u5f03\u7684\u3002\u6240\u4ee5\u6211\u4eec\u8981\u627e\u5230\u80fd\u843d\u5230\u5f53\u65f6\u7684AB\u95f4\u6ed1\u52a8\u7a97\u53e3\u7684\u5e8f\u5217\u53f7\u3002\u8fd9\u4e2a\u53ef\u4ee5\u66b4\u529b\u89e3\u51b3\uff0c\u56e0\u4e3a\u4e00\u4e2asequence\u957f\u5ea6\u662f32\u4f4d\uff0c\u53d6\u503c\u8303\u56f40-4294967296\uff0c\u5982\u679c\u7a97\u53e3\u5927\u5c0f\u50cf\u4e0a\u56fe\u4e2d\u6211\u6293\u5230\u7684windows\u4e0b\u768465535\u7684\u8bdd\uff0c\u53ea\u9700\u8981\u76f8\u9664\uff0c\u5c31\u77e5\u9053\u6700\u591a\u53ea\u9700\u8981\u53d165537(4294967296\/65535=65537)\u4e2a\u5305\u5c31\u80fd\u6709\u4e00\u4e2a\u5e8f\u5217\u53f7\u843d\u5230\u6ed1\u52a8\u7a97\u53e3\u5185\u3002RST\u5305\u662f\u5f88\u5c0f\u7684\uff0cIP\u5934+TCP\u5934\u4e5f\u624d40\u5b57\u8282\uff0c\u7b97\u7b97\u6211\u4eec\u7684\u5e26\u5bbd\u5c31\u77e5\u9053\u8fd9\u5b9e\u5728\u53ea\u9700\u8981\u51e0\u79d2\u949f\u5c31\u80fd\u641e\u5b9a\u3002<\/p>\n \u90a3\u4e48\uff0c\u5e8f\u5217\u53f7\u4e0d\u662f\u95ee\u9898\uff0c\u6e90\u7aef\u53e3\u4f1a\u9ebb\u70e6\u70b9\uff0c\u5982\u679c\u5404\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u4e0d\u80fd\u5b8c\u5168\u968f\u673a\u7684\u751f\u6210\u6e90\u7aef\u53e3\uff0c\u6216\u8005\u9ed1\u5ba2\u4eec\u80fd\u901a\u8fc7\u5176\u4ed6\u65b9\u5f0f\u83b7\u53d6\u5230source port\uff0cRST\u653b\u51fb\u6613\u5982\u53cd\u638c\uff0c\u540e\u679c\u5f88\u4e25\u91cd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" TCP\u662f\u5728IP\u7f51\u7edc\u5c42\u4e4b\u4e0a\u7684\u4f20\u8f93\u5c42\u534f\u8bae\uff0c\u7528\u4e8e\u63d0\u4f9bport\u5230port\u9762\u5411\u8fde\u63a5\u7684\u53ef\u9760\u7684\u5b57\u8282\u6d41\u4f20\u8f93\u3002\u6211\u6765\u7528\u571f\u8bed\u89e3\u91ca\u4e0b\u4e0a […]<\/p>\n","protected":false},"author":668,"featured_media":26358,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-205239","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/205239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/668"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=205239"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/205239\/revisions"}],"predecessor-version":[{"id":205250,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/205239\/revisions\/205250"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/26358"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=205239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=205239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=205239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |