{"id":61740,"date":"2025-04-29T14:10:39","date_gmt":"2025-04-29T06:10:39","guid":{"rendered":"https:\/\/fwq.ai\/blog\/61740\/"},"modified":"2025-04-29T14:10:39","modified_gmt":"2025-04-29T06:10:39","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-ubuntu-22-04-%e4%b8%ad%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8-wireshark-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/61740\/","title":{"rendered":"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168357149.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe\" \/><\/p>\n<p>wireshark \u662f\u81ea\u7531\u5f00\u6e90\u7684\u3001\u8de8\u5e73\u53f0\u7684\u3001\u57fa\u4e8e gui \u7684\u7f51\u7edc\u6570\u636e\u5305\u5206\u6790\u5668\uff0c\u53ef\u7528\u4e8e \u3001windows\u3001macos\u3001solaris \u7b49\u3002\u5b83\u5b9e\u65f6\u6355\u83b7\u7f51\u7edc\u6570\u636e\u5305\u5e76\u4ee5\u4eba\u7c7b\u53ef\u8bfb\u7684\u683c\u5f0f\u5448\u73b0\u5b83\u4eec\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u76d1\u63a7\u5fae\u89c2\u5c42\u9762\u7684\u7f51\u7edc\u6570\u636e\u5305\u3002\u5b83\u8fd8\u6709\u4e00\u4e2a\u540d\u4e3a&nbsp;tshark&nbsp;\u7684\u547d\u4ee4\u884c\u7a0b\u5e8f\uff0c\u5b83\u6267\u884c\u4e0e wireshark \u76f8\u540c\u7684\u529f\u80fd\uff0c\u4f46\u901a\u8fc7\u7ec8\u7aef\u800c\u4e0d\u662f\u901a\u8fc7 gui\u3002<\/p>\n<p>Wireshark \u53ef\u7528\u4e8e\u7f51\u7edc\u6545\u969c\u6392\u9664\u3001\u5206\u6790\u3001\u8f6f\u4ef6\u548c\u901a\u4fe1\u534f\u8bae\u5f00\u53d1\uff0c\u4e5f\u53ef\u7528\u4e8e\u6559\u80b2\u76ee\u7684\u3002Wireshark \u4f7f\u7528\u540d\u4e3a&nbsp;pcap&nbsp;\u7684\u5e93\u6765\u6355\u83b7\u7f51\u7edc\u6570\u636e\u5305\u3002<\/p>\n<h3>Wireshark \u7684\u529f\u80fd<\/h3>\n<ul>\n<li>\u652f\u6301\u68c0\u67e5\u6570\u767e\u79cd\u534f\u8bae<\/li>\n<li>\u80fd\u591f\u5b9e\u65f6\u6355\u83b7\u6570\u636e\u5305\u5e76\u4fdd\u5b58\u5b83\u4eec\u4ee5\u4f9b\u4ee5\u540e\u79bb\u7ebf\u5206\u6790<\/li>\n<li>\u4e00\u4e9b\u7528\u4e8e\u5206\u6790\u6570\u636e\u7684\u8fc7\u6ee4\u5668<\/li>\n<li>\u6355\u83b7\u7684\u6570\u636e\u53ef\u4ee5\u52a8\u6001\u538b\u7f29\u548c\u89e3\u538b\u7f29<\/li>\n<li>\u652f\u6301\u591a\u79cd\u6570\u636e\u5206\u6790\u6587\u4ef6\u683c\u5f0f\uff0c\u8f93\u51fa\u4e5f\u53ef\u4ee5\u4fdd\u5b58\u4e3a XML\u3001CSV\u3001\u7eaf\u6587\u672c\u683c\u5f0f<\/li>\n<li>\u53ef\u4ee5\u4ece\u4ee5\u592a\u7f51\u3001WiFi\u3001\u84dd\u7259\u3001USB\u3001\u5e27\u4e2d\u7ee7\u3001\u4ee4\u724c\u73af\u7b49\u591a\u79cd\u63a5\u53e3\u6355\u83b7\u6570\u636e<\/li>\n<\/ul>\n<h3>\u5148\u51b3\u6761\u4ef6<\/h3>\n<ul>\n<li>\u9884\u88c5 Ubuntu 22.04<\/li>\n<li>\u5177\u6709 sudo \u6743\u9650\u7684\u672c\u5730\u7528\u6237<\/li>\n<li>\u4e92\u8054\u7f51\u8fde\u63a5<\/li>\n<\/ul>\n<h3>Wireshark \u5b89\u88c5\u6b65\u9aa4<\/h3>\n<h4>\u4ece Ubuntu \u4ed3\u5e93\u5b89\u88c5<\/h4>\n<p>Wireshark \u5305\u53ef\u5728\u9ed8\u8ba4\u7684 Ubuntu \u4ed3\u5e93\u4e2d\u627e\u5230\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u7b80\u5355\u5730\u5b89\u88c5\u3002\u4f46\u4f60\u53ef\u80fd\u65e0\u6cd5\u83b7\u5f97\u6700\u65b0\u7248\u672c\u7684 wireshark\u3002<\/p>\n<pre>$ sudo apt update$ sudo apt install wireshark<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168354078.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe1\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe1\" \/><span>Apt-Command-Install-Wireshark-Ubuntu<\/span><\/p>\n<p>\u9009\u62e9 \u201cYes\u201d \u5141\u8bb8\u975e\u8d85\u7ea7\u7528\u6237\u4f7f\u7528 Wireshark \u6355\u83b7\u6570\u636e\u5305\uff1a<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168343618.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe2\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe2\" \/><span>Allow-Non-SuperUsers-To-Capture-Packets-Wireshark-Ubuntu<\/span><\/p>\n<p>\u5b89\u88c5\u6210\u529f\u540e\uff0c\u8bbf\u95ee Wireshare UI\u3002\u5728\u201c\u6d3b\u52a8Activities\u201d\u4e2d\u641c\u7d22\u201cWireshark\u201d\uff0c\u7136\u540e\u70b9\u51fb\u5b83\u7684\u56fe\u6807\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168310406.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe3\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe3\" \/><span>Wireshark-UI-Ubuntu-Linux-Desktop<\/span><\/p>\n<p>\u4ee5\u4e0a\u786e\u8ba4\u4f60\u7684 Wireshark \u5b89\u88c5\u5df2\u6210\u529f\u5b8c\u6210\u3002<\/p>\n<h4>\u5b89\u88c5\u6700\u65b0\u7684\u7248\u672c<\/h4>\n<p>\u5982\u679c\u8981\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Wireshark\uff0c\u6211\u4eec\u5fc5\u987b\u4f7f\u7528\u4ee5\u4e0b&nbsp;apt&nbsp;\u547d\u4ee4\u542f\u7528\u5b98\u65b9 Wireshark \u4ed3\u5e93\uff1a<\/p>\n<pre>$ sudo add-apt-repository ppa:wireshark-dev\/stable$ sudo apt update<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u73b0\u5728\uff0c\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684 Wireshark\uff0c\u8fd0\u884c\uff1a<\/p>\n<pre>$ sudo apt install wireshark -y<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5b89\u88c5 Wireshark \u540e\uff0c\u9a8c\u8bc1\u5176\u7248\u672c\uff1a<\/p>\n<pre>$ wireshark --version<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168441836.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe4\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe4\" \/><span>Wireshark-Version-Check-Ubuntu-Linux<\/span><\/p>\n<p>\u8981\u5141\u8bb8\u666e\u901a\u7528\u6237\u4f7f\u7528 Wireshark \u4f7f\u7528\u548c\u6355\u83b7\u6570\u636e\u5305\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre>$ sudo dpkg-reconfigure wireshark-common<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u9009\u62e9 \u201cYes\u201d \u5e76\u6309\u56de\u8f66\u952e\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168453466.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe5\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe5\" \/><span>Allow-Regular-User-Use-Wireshark-Ubuntu<\/span><\/p>\n<p>\u4f7f\u7528&nbsp;usermod&nbsp;\u547d\u4ee4\u5c06\u672c\u5730\u7528\u6237\u6dfb\u52a0\u5230&nbsp;wireshark&nbsp;\u7ec4:<\/p>\n<pre>$ sudo usermod -aG wireshark $USER$ newgrp wireshark<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8981\u4f7f\u4e0a\u8ff0\u66f4\u6539\u751f\u6548\uff0c\u8bf7\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u3002<\/p>\n<pre>$ sudo reboot<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h3>\u4f7f\u7528 Wireshark \u6355\u83b7\u6570\u636e\u5305<\/h3>\n<p>\u542f\u52a8 Wireshark\uff0c\u4ece\u201c\u6d3b\u52a8\u201d-&gt;\u641c\u7d22 \u201cwireshark\u201d\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168480944.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe6\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe6\" \/><span>Access-Wireshark-Ubuntu-Desktop<\/span><\/p>\n<p>Access-Wireshark-Ubuntu-Desktop<\/p>\n<p>\u5355\u51fb Wireshark \u56fe\u6807\uff0c<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168410842.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe7\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe7\" \/><span>Choose-Interface-Wireshark-UI-Ubuntu<\/span><\/p>\n<p>\u6240\u6709\u8fd9\u4e9b\u90fd\u662f\u6211\u4eec\u53ef\u4ee5\u6355\u83b7\u7f51\u7edc\u6570\u636e\u5305\u7684\u63a5\u53e3\u3002\u6839\u636e\u4f60\u7cfb\u7edf\u4e0a\u7684\u754c\u9762\uff0c\u6b64\u9875\u9762\u53ef\u80fd\u4f1a\u6709\u6240\u4e0d\u540c\u3002<\/p>\n<p>\u6211\u4eec\u9009\u62e9 \u201cenp0s3\u201d \u6765\u6355\u83b7\u8be5\u63a5\u53e3\u7684\u7f51\u7edc\u6d41\u91cf\u3002\u5728\u9009\u62e9\u63a5\u53e3\u4e4b\u540e\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u5f00\u59cb\u586b\u5145\u6211\u4eec\u7f51\u7edc\u4e0a\u6240\u6709\u8bbe\u5907\u7684\u7f51\u7edc\u6570\u636e\u5305\uff08\u8bf7\u67e5\u770b\u4ee5\u4e0b\u7684\u622a\u56fe\uff09<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168468416.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe8\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe8\" \/><span>Capturing-Packets-WireShark-UI-Ubuntu<\/span><\/p>\n<p>\u7b2c\u4e00\u6b21\u770b\u5230\u6b64\u9875\u9762\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u4f1a\u88ab\u6b64\u5c4f\u5e55\u4e2d\u663e\u793a\u7684\u6570\u636e\u6df9\u6ca1\uff0c\u5e76\u4e14\u53ef\u80fd\u4f1a\u60f3\u5230\u5982\u4f55\u6574\u7406\u8fd9\u4e9b\u6570\u636e\uff0c\u4f46\u4e0d\u7528\u62c5\u5fc3\uff0cWireshark \u7684\u6700\u4f73\u529f\u80fd\u4e4b\u4e00\u5c31\u662f\u5b83\u7684\u8fc7\u6ee4\u5668\u3002<\/p>\n<p>\u6211\u4eec\u53ef\u4ee5\u6839\u636e IP \u5730\u5740\u3001\u7aef\u53e3\u53f7\u5bf9\u6570\u636e\u8fdb\u884c\u6392\u5e8f\/\u8fc7\u6ee4\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528\u6e90\u548c\u76ee\u6807\u8fc7\u6ee4\u5668\u3001\u6570\u636e\u5305\u5927\u5c0f\u7b49\uff0c\u8fd8\u53ef\u4ee5\u5c06 2 \u4e2a\u6216\u66f4\u591a\u8fc7\u6ee4\u5668\u7ec4\u5408\u5728\u4e00\u8d77\u4ee5\u521b\u5efa\u66f4\u5168\u9762\u7684\u641c\u7d22\u3002\u6211\u4eec\u53ef\u4ee5\u5728\u201c\u5e94\u7528\u663e\u793a\u8fc7\u6ee4\u5668Apply a Display Filter\u201d\u9009\u9879\u5361\u4e2d\u7f16\u5199\u8fc7\u6ee4\u5668\uff0c\u4e5f\u53ef\u4ee5\u9009\u62e9\u5df2\u521b\u5efa\u7684\u89c4\u5219\u4e4b\u4e00\u3002\u5982\u679c\u4f60\u60f3\u9009\u62e9\u9884\u5efa\u8fc7\u6ee4\u5668\uff0c\u70b9\u51fb\u201c\u65d7\u5e1c\u201d\u56fe\u6807\uff0c\u7136\u540e\u9009\u62e9\u201c\u5e94\u7528\u663e\u793a\u8fc7\u6ee4\u5668\u201d\u9009\u9879\u5361\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168598641.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe9\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe9\" \/><span>IP-Based-Filtering-WireShark-UI-Ubuntu<\/span><\/p>\n<p>\u6211\u4eec\u8fd8\u53ef\u4ee5\u6839\u636e\u989c\u8272\u4ee3\u7801\u6765\u8fc7\u6ee4\u6570\u636e\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u6d45\u7d2b\u8272\u662f TCP \u6d41\u91cf\uff0c\u6d45\u84dd\u8272\u662f UDP \u6d41\u91cf\uff0c\u9ed1\u8272\u6807\u8bc6\u6709\u9519\u8bef\u7684\u6570\u636e\u5305\uff0c\u8981\u67e5\u770b\u8fd9\u4e9b\u4ee3\u7801\u7684\u542b\u4e49\uff0c\u8bf7\u5355\u51fb\u201c\u67e5\u770bView\u201d-&gt;\u201c\u989c\u8272\u89c4\u5219Coloring Rules\u201d\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u66f4\u6539\u8fd9\u4e9b\u4ee3\u7801\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168533574.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe10\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe10\" \/><span>Coloring-Rules-WireShark-Ubuntu<\/span><\/p>\n<p>\u83b7\u5f97\u6240\u9700\u7684\u7ed3\u679c\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5355\u51fb\u4efb\u4f55\u6355\u83b7\u7684\u6570\u636e\u5305\u4ee5\u83b7\u53d6\u6709\u5173\u8be5\u6570\u636e\u5305\u7684\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff0c\u8fd9\u5c06\u663e\u793a\u6709\u5173\u8be5\u7f51\u7edc\u6570\u636e\u5305\u7684\u6240\u6709\u6570\u636e\u3002<\/p>\n<p>\u8981\u505c\u6b62\u6355\u83b7\u6570\u636e\u5305\uff0c\u8bf7\u5355\u51fb\u7ea2\u8272\u505c\u6b62\u6309\u94ae\uff0c\u7136\u540e\u5c06\u6355\u83b7\u7684\u6570\u636e\u5305\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\u3002<\/p>\n<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/465\/014\/168889168531439.jpg\" class=\"aligncenter\" title=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe11\" alt=\"\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u63d2\u56fe11\" \/><span>Save-Captured-Packets-Wireshark-Ubuntu<\/span><\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>Wireshark \u662f\u4e00\u6b3e\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u6765\u9002\u5e94\u548c\u638c\u63e1\u5b83\uff0c\u8fd9\u7bc7\u6587\u7ae0\u5c06\u5e2e\u52a9\u4f60\u5f00\u59cb\u4f7f\u7528\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u5728 Ubuntu 22.04 \u4e2d\u5b89\u88c5\u548c\u4f7f\u7528 Wireshark\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8FDCServers\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>wireshark \u662f\u81ea\u7531\u5f00\u6e90\u7684\u3001\u8de8\u5e73\u53f0\u7684\u3001\u57fa\u4e8e gui \u7684\u7f51\u7edc\u6570\u636e\u5305\u5206\u6790\u5668\uff0c\u53ef\u7528\u4e8e \u3001windows\u3001macos\u3001solaris \u7b49\u3002\u5b83\u5b9e\u65f6\u6355\u83b7\u7f51\u7edc\u6570\u636e\u5305\u5e76\u4ee5\u4eba\u7c7b\u53ef\u8bfb\u7684\u683c\u5f0f\u5448\u73b0\u5b83\u4eec\u3002\u5b83\u4f7f\u6211\u4eec\u80fd\u591f\u76d1\u63a7\u5fae\u89c2\u5c42\u9762\u7684\u7f51\u7edc\u6570\u636e\u5305\u3002\u5b83\u8fd8\u6709\u4e00\u4e2a\u540d\u4e3a&nbsp;tshark&nbsp;\u7684\u547d\u4ee4\u884c\u7a0b\u5e8f\uff0c\u5b83\u6267\u884c\u4e0e wireshark \u76f8\u540c\u7684\u529f\u80fd\uff0c\u4f46\u901a\u8fc7\u7ec8\u7aef\u800c\u4e0d\u662f\u901a\u8fc7 gui\u3002 Wireshark \u53ef\u7528\u4e8e\u7f51\u7edc\u6545\u969c\u6392\u9664\u3001\u5206\u6790\u3001\u8f6f\u4ef6\u548c\u901a\u4fe1\u534f\u8bae\u5f00\u53d1\uff0c\u4e5f\u53ef\u7528\u4e8e\u6559\u80b2\u76ee\u7684\u3002Wireshark \u4f7f\u7528\u540d\u4e3a&nbsp;pcap&nbsp;\u7684\u5e93\u6765\u6355\u83b7\u7f51\u7edc\u6570\u636e\u5305\u3002 Wireshark \u7684\u529f\u80fd \u652f\u6301\u68c0\u67e5\u6570\u767e\u79cd\u534f\u8bae \u80fd\u591f\u5b9e\u65f6\u6355\u83b7\u6570\u636e\u5305\u5e76\u4fdd\u5b58\u5b83\u4eec\u4ee5\u4f9b\u4ee5\u540e\u79bb\u7ebf\u5206\u6790 \u4e00\u4e9b\u7528\u4e8e\u5206\u6790\u6570\u636e\u7684\u8fc7\u6ee4\u5668 \u6355\u83b7\u7684\u6570\u636e\u53ef\u4ee5\u52a8\u6001\u538b\u7f29\u548c\u89e3\u538b\u7f29 \u652f\u6301\u591a\u79cd\u6570\u636e\u5206\u6790\u6587\u4ef6\u683c\u5f0f\uff0c\u8f93\u51fa\u4e5f\u53ef\u4ee5\u4fdd\u5b58\u4e3a XML\u3001CSV\u3001\u7eaf\u6587\u672c\u683c\u5f0f \u53ef\u4ee5\u4ece\u4ee5\u592a\u7f51\u3001WiFi\u3001\u84dd\u7259\u3001USB\u3001\u5e27\u4e2d\u7ee7\u3001\u4ee4\u724c\u73af\u7b49\u591a\u79cd\u63a5\u53e3\u6355\u83b7\u6570\u636e \u5148\u51b3\u6761\u4ef6 \u9884\u88c5 Ubuntu 22.04 \u5177\u6709 sudo \u6743\u9650\u7684\u672c\u5730\u7528\u6237 \u4e92\u8054\u7f51\u8fde\u63a5 Wireshark \u5b89\u88c5\u6b65\u9aa4 \u4ece Ubuntu \u4ed3\u5e93\u5b89\u88c5 Wireshark \u5305\u53ef\u5728\u9ed8\u8ba4\u7684 Ubuntu \u4ed3\u5e93\u4e2d\u627e\u5230\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u7b80\u5355\u5730\u5b89\u88c5\u3002\u4f46\u4f60\u53ef\u80fd\u65e0\u6cd5\u83b7\u5f97\u6700\u65b0\u7248\u672c\u7684 wireshark\u3002 $ sudo apt update$ sudo apt install wireshark \u767b\u5f55\u540e\u590d\u5236 Apt-Command-Install-Wireshark-Ubuntu \u9009\u62e9 \u201cYes\u201d \u5141\u8bb8\u975e\u8d85\u7ea7\u7528\u6237\u4f7f\u7528 Wireshark \u6355\u83b7\u6570\u636e\u5305\uff1a Allow-Non-SuperUsers-To-Capture-Packets-Wireshark-Ubuntu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-61740","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/61740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=61740"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/61740\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=61740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=61740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=61740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}