{"id":124,"date":"2026-10-16T20:03:28","date_gmt":"2026-10-16T12:03:28","guid":{"rendered":"http:\/\/laoke.pw\/?p=124"},"modified":"2026-10-16T20:03:28","modified_gmt":"2026-10-16T12:03:28","slug":"86-wireshark-%e5%85%8d%e8%b4%b9%e7%9a%84%e6%8a%93%e5%8c%85%e7%a5%9e%e5%99%a8%ef%bc%8c%e6%8a%8a%e7%bd%91%e7%bb%9c%e9%97%ae%e9%a2%98%e7%9c%8b%e6%98%8e%e7%99%bd","status":"publish","type":"post","link":"https:\/\/laoke.pw\/?p=124","title":{"rendered":"86 Wireshark \u2014\u2014 \u514d\u8d39\u7684\u6293\u5305\u795e\u5668\uff0c\u628a\u7f51\u7edc\u95ee\u9898\u770b\u660e\u767d"},"content":{"rendered":"<p><strong>\u4e00\u53e5\u8bdd\u5b9a\u4f4d<\/strong>\uff1a\u5168\u7403\u4f7f\u7528\u6700\u5e7f\u7684\u514d\u8d39\u5f00\u6e90\u7f51\u7edc\u534f\u8bae\u5206\u6790\u5de5\u5177\uff0c\u628a\u7f51\u5361\u4e0a\u6765\u6765\u5f80\u5f80\u7684\u6570\u636e\u5305\u9010\u6761\u644a\u5f00\u7ed9\u4f60\u770b\uff0c\u662f\u6392\u67e5\u7f51\u7edc\u95ee\u9898\u7684\u300c\u663e\u5fae\u955c\u300d\u3002<\/p>\n<h2>\u75db\u70b9\uff1a\u7f51\u901f\u6162\u3001\u8fde\u4e0d\u4e0a\uff0c\u53ea\u80fd\u9760\u731c<\/h2>\n<p>\u300c\u7f51\u9875\u6253\u4e0d\u5f00\u300d\u300c\u89c6\u9891\u4e00\u76f4\u8f6c\u5708\u300d\u300c\u516c\u53f8\u7cfb\u7edf\u8fde\u4e0d\u4e0a\u300d\u2014\u2014\u9047\u5230\u8fd9\u7c7b\u95ee\u9898\uff0c\u5e38\u89c4\u505a\u6cd5\u662f\u91cd\u542f\u8def\u7531\u5668\u3001\u6362\u6d4f\u89c8\u5668\u3001\u6253\u7535\u8bdd\u95ee\u8fd0\u7ef4\uff0c\u672c\u8d28\u90fd\u662f\u5728\u731c\u3002<\/p>\n<p>\u95ee\u9898\u5728\u4e8e\uff0c\u7f51\u7edc\u4e16\u754c\u7684\u4e00\u5207\u90fd\u4ee5\u6570\u636e\u5305\u7684\u5f62\u5f0f\u5b58\u5728\u3002\u54ea\u4e00\u6b65\u8bf7\u6c42\u53d1\u51fa\u53bb\u4e86\u3001\u5bf9\u65b9\u6709\u6ca1\u6709\u56de\u5e94\u3001\u56de\u5e94\u7528\u4e86\u591a\u4e45\u3001\u5361\u5728 DNS \u8fd8\u662f TLS \u63e1\u624b\uff0c\u8fd9\u4e9b\u4fe1\u606f\u5176\u5b9e\u90fd\u6446\u5728\u94fe\u8def\u4e0a\uff0c\u53ea\u662f\u666e\u901a\u7528\u6237\u770b\u4e0d\u5230\u3002<\/p>\n<p>Wireshark \u505a\u7684\u4e8b\u60c5\u5c31\u662f\u628a\u8fd9\u4e9b\u5305\u6293\u4e0b\u6765\u3001\u89e3\u6790\u6210\u4eba\u7c7b\u80fd\u8bfb\u61c2\u7684\u534f\u8bae\u5b57\u6bb5\uff0c\u8ba9\u300c\u731c\u300d\u53d8\u6210\u300c\u770b\u300d\u3002<\/p>\n<h2>\u6838\u5fc3\u80fd\u529b<\/h2>\n<ul>\n<li><strong>\u534f\u8bae\u89e3\u6790<\/strong>\uff1a\u5185\u7f6e\u4e0a\u5343\u79cd\u534f\u8bae\u89e3\u6790\u5668\uff0c\u4ece TCP\/IP \u5230 HTTP\/2\u3001DNS\u3001TLS \u90fd\u80fd\u9010\u5c42\u5c55\u5f00<\/li>\n<li><strong>\u8fc7\u6ee4\u8868\u8fbe\u5f0f<\/strong>\uff1a\u6293\u5b8c\u4e4b\u540e\u7528\u663e\u793a\u8fc7\u6ee4\u5668\u7cbe\u786e\u5b9a\u4f4d\uff0c\u6bd4\u5982\u53ea\u770b\u67d0\u4e2a IP \u6216\u67d0\u4e2a\u57df\u540d<\/li>\n<li><strong>\u8ddf\u968f\u6570\u636e\u6d41<\/strong>\uff1a\u628a\u4e00\u6b21\u5b8c\u6574\u4f1a\u8bdd\u7684\u6240\u6709\u5305\u62fc\u6210\u8fde\u7eed\u6587\u672c\uff0c\u8bfb\u8d77\u6765\u76f4\u89c2<\/li>\n<li><strong>\u7edf\u8ba1\u89c6\u56fe<\/strong>\uff1a\u4f1a\u8bdd\u5217\u8868\u3001\u534f\u8bae\u5206\u5e03\u3001\u541e\u5410\u66f2\u7ebf\uff0c\u5feb\u901f\u5b9a\u4f4d\u5f02\u5e38<\/li>\n<li><strong>\u5bfc\u5165\u5bfc\u51fa<\/strong>\uff1a\u652f\u6301 pcap \/ pcapng \u683c\u5f0f\uff0c\u53ef\u4e0e\u5176\u4ed6\u5de5\u5177\u4e92\u8f6c<\/li>\n<li><strong>\u8de8\u5e73\u53f0<\/strong>\uff1aWindows\u3001macOS\u3001Linux \u90fd\u6709\u5b98\u65b9\u7248\u672c<\/li>\n<\/ul>\n<h2>\u5b9e\u6d4b\u4f53\u9a8c<\/h2>\n<p>\u5b89\u88c5\u5305\u7ea6 80MB\uff0c\u5b89\u88c5\u65f6\u4f1a\u9644\u5e26 Npcap \u6293\u5305\u9a71\u52a8\uff0c\u8fd9\u4e00\u6b65\u5fc5\u987b\u52fe\u9009\uff0c\u5426\u5219\u542f\u52a8\u540e\u770b\u4e0d\u5230\u4efb\u4f55\u7f51\u5361\u3002<\/p>\n<p>\u6253\u5f00\u540e\u9009\u62e9\u8981\u76d1\u542c\u7684\u7f51\u5361\uff0c\u70b9\u5f00\u59cb\u6293\u5305\uff0c\u6d41\u91cf\u7acb\u523b\u5c31\u6eda\u8d77\u6765\u4e86\u3002\u7b2c\u4e00\u6b21\u7528\u7684\u4eba\u5bb9\u6613\u88ab\u6ee1\u5c4f\u7684\u6570\u636e\u5305\u5413\u5230\uff0c\u5b9e\u9645\u4f7f\u7528\u65f6\u901a\u5e38\u5148\u6293\u51e0\u5341\u79d2\uff0c\u7136\u540e\u6309\u505c\u6b62\uff0c\u518d\u6162\u6162\u8fc7\u6ee4\u3002<\/p>\n<p>\u4e00\u4e2a\u5178\u578b\u573a\u666f\uff1a\u67d0\u4e2a\u7f51\u7ad9\u6253\u5f00\u7279\u522b\u6162\u3002\u5148\u6293\u5305\uff0c\u518d\u7528\u8fc7\u6ee4\u5668\u7b5b\u51fa\u8fd9\u4e2a\u57df\u540d\u76f8\u5173\u7684 DNS \u67e5\u8be2\uff0c\u5f88\u5feb\u53d1\u73b0\u89e3\u6790\u82b1\u4e86\u4e09\u79d2\u591a\u2014\u2014\u95ee\u9898\u51fa\u5728 DNS\uff0c\u4e0d\u5728\u7f51\u7ad9\u672c\u8eab\uff0c\u6362\u6210\u516c\u5171 DNS \u540e\u6062\u590d\u6b63\u5e38\u3002\u6574\u4e2a\u8fc7\u7a0b\u6bd4\u53cd\u590d\u91cd\u542f\u8def\u7531\u5668\u9ad8\u6548\u5f97\u591a\u3002<\/p>\n<p>\u53e6\u4e00\u4e2a\u5e38\u89c1\u7528\u6cd5\u662f\u6392\u67e5 HTTPS \u63e1\u624b\u5931\u8d25\u3002Wireshark \u4f1a\u628a Client Hello\u3001Server Hello\u3001\u8bc1\u4e66\u94fe\u9010\u6761\u5217\u51fa\uff0c\u80fd\u76f4\u63a5\u770b\u5230\u662f\u8bc1\u4e66\u8fc7\u671f\u8fd8\u662f\u57df\u540d\u4e0d\u5339\u914d\uff0c\u7701\u53bb\u5927\u91cf\u6765\u56de\u8bd5\u9519\u3002<\/p>\n<p>\u5bf9\u666e\u901a\u7528\u6237\u6765\u8bf4\uff0c\u95e8\u69db\u4e3b\u8981\u5728\u8fc7\u6ee4\u8868\u8fbe\u5f0f\u4e0a\uff0c\u4f46\u53ea\u8981\u8bb0\u4f4f\u51e0\u4e2a\u5e38\u7528\u5199\u6cd5\uff08\u6309 IP\u3001\u6309\u7aef\u53e3\u3001\u6309\u534f\u8bae\uff09\uff0c\u8986\u76d6\u65e5\u5e38\u6392\u67e5\u5df2\u7ecf\u591f\u7528\u3002<\/p>\n<h2>\u9002\u5408\u8c01<\/h2>\n<ul>\n<li>\u9700\u8981\u6392\u67e5\u7f51\u7edc\u6545\u969c\u7684\u8fd0\u7ef4\u3001IT \u652f\u6301\u4eba\u5458<\/li>\n<li>\u5b66\u4e60\u8ba1\u7b97\u673a\u7f51\u7edc\u7684\u5b66\u751f\uff0c\u4ee5\u53ca\u5907\u8003\u7f51\u7edc\u5de5\u7a0b\u5e08\u7684\u8003\u751f<\/li>\n<li>\u5f00\u53d1\u4eba\u5458\u8c03\u8bd5\u81ea\u5df1\u670d\u52a1\u7684 HTTP \/ WebSocket \u63a5\u53e3<\/li>\n<li>\u5173\u5fc3\u5bb6\u5ead\u7f51\u7edc\u91cc\u662f\u5426\u5b58\u5728\u5f02\u5e38\u5916\u8054\u7684\u7528\u6237<\/li>\n<\/ul>\n<h2>\u9700\u8981\u6ce8\u610f\u7684\u5730\u65b9<\/h2>\n<ul>\n<li>\u6293\u5305\u4f1a\u6355\u83b7\u7ecf\u8fc7\u7f51\u5361\u7684\u6240\u6709\u660e\u6587\u6d41\u91cf\uff0c\u6d89\u53ca\u9690\u79c1\uff0c\u516c\u5171\u7f51\u7edc\u73af\u5883\u4e0b\u4e0d\u8981\u968f\u610f\u6293\u53d6\u5e76\u5206\u4eab<\/li>\n<li>\u73b0\u4ee3\u7f51\u7ad9\u7edd\u5927\u591a\u6570\u6d41\u91cf\u5df2\u52a0\u5bc6\uff0c\u6293\u5230 TLS \u5305\u53ea\u80fd\u770b\u63e1\u624b\u548c\u5143\u6570\u636e\uff0c\u770b\u4e0d\u5230\u6b63\u6587<\/li>\n<li>\u6570\u636e\u5305\u5217\u8868\u4fe1\u606f\u5bc6\u5ea6\u6781\u9ad8\uff0c\u65b0\u624b\u9700\u8981\u4e00\u4e2a\u5b66\u4e60\u8fc7\u7a0b<\/li>\n<li>\u6301\u7eed\u6293\u5305\u4f1a\u5360\u7528 CPU \u548c\u78c1\u76d8\uff0c\u6392\u67e5\u5b8c\u8bb0\u5f97\u53ca\u65f6\u505c\u6b62\u5e76\u6e05\u7406\u4fdd\u5b58\u7684\u6587\u4ef6<\/li>\n<\/ul>\n<h2>\u5c0f\u7ed3<\/h2>\n<p>Wireshark \u66f4\u50cf\u4e00\u4ef6\u300c\u4e13\u4e1a\u4eea\u5668\u300d\u800c\u4e0d\u662f\u65e5\u5e38\u8f6f\u4ef6\u2014\u2014\u4f60\u4e0d\u4f1a\u5929\u5929\u6253\u5f00\u5b83\uff0c\u4f46\u53ea\u8981\u9047\u5230\u8bf4\u4e0d\u6e05\u7684\u7f51\u7edc\u95ee\u9898\uff0c\u5b83\u7ed9\u51fa\u7684\u7b54\u6848\u6bd4\u4efb\u4f55\u731c\u6d4b\u90fd\u53ef\u9760\u3002\u514d\u8d39\u3001\u5f00\u6e90\u3001\u8de8\u5e73\u53f0\uff0c\u52a0\u4e0a\u7f51\u7edc\u4e0a\u73b0\u6210\u7684\u5927\u91cf\u6559\u7a0b\uff0c\u5b66\u4e60\u6210\u672c\u5176\u5b9e\u6bd4\u60f3\u8c61\u4e2d\u4f4e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300c\u7f51\u9875\u6253\u4e0d\u5f00\u300d\u300c\u89c6\u9891\u4e00\u76f4\u8f6c\u5708\u300d\u300c\u516c\u53f8\u7cfb\u7edf\u8fde\u4e0d\u4e0a\u300d\u2014\u2014\u9047\u5230\u8fd9\u7c7b\u95ee\u9898\uff0c\u5e38\u89c4\u505a\u6cd5\u662f\u91cd\u542f\u8def\u7531\u5668\u3001\u6362\u6d4f\u89c8\u5668\u3001\u6253\u7535\u8bdd\u95ee\u8fd0\u7ef4\uff0c\u672c\u8d28\u90fd\u662f\u5728\u731c\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","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":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2],"tags":[],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-2"],"_links":{"self":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":0,"href":"https:\/\/laoke.pw\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"wp:attachment":[{"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoke.pw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}