{"id":6013,"date":"2022-08-03T11:20:35","date_gmt":"2022-08-03T03:20:35","guid":{"rendered":"https:\/\/dingxuan.info\/wp\/?p=6013"},"modified":"2022-08-03T11:21:09","modified_gmt":"2022-08-03T03:21:09","slug":"openwrt%e4%b8%adtcpdump%e6%97%a0%e6%b3%95%e8%bf%90%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/dingxuan.info\/wp\/?p=6013","title":{"rendered":"OpenWRT\u4e2dtcpdump\u65e0\u6cd5\u8fd0\u884c"},"content":{"rendered":"<div class=\"postie-post\"><div> <div class=\"ennote\"><div style=\"margin: 0px;padding: 0px;font-family: Tahoma,\">\u6545\u969c\u73b0\u8c61\uff1a<\/div><\/div><\/div><\/div>\n<p><div><br \/><\/div>\n<div><div><a href=\"mailto:root@SaharaWrt\">root@SaharaWrt<\/a>:~# tcpdump<br \/><\/div><\/p>\n<div>Error relocating \/usr\/bin\/tcpdump: pcap_open: symbol not found<\/div>\n<div>Error relocating \/usr\/bin\/tcpdump: pcap_findalldevs_ex: symbol not found<\/div>\n<div><br><\/div>\n<div>\u6298\u817e\u4e86\u51e0\u4e2a\u5c0f\u65f6\uff0cgoogle\u4e0a\u90fd\u627e\u4e0d\u5230\u7ed3\u679c\u3002<\/div>\n<div>\u51c6\u5907\u4e0a\u6069\u5c71\u6c42\u52a9\u7684\u65f6\u5019\uff0c\u81ea\u5df1\u7a81\u7136\u610f\u8bc6\u5230\u95ee\u9898\u539f\u56e0\u4e86\u3002<\/div>\n<div><br><\/div>\n<p><div><div><a href=\"mailto:root@SaharaWrt\">root@SaharaWrt<\/a>:~# opkg info tcpdump<\/div><\/p>\n<div>Package: tcpdump<\/div>\n<div>Version: 4.99.1-1<\/div>\n<div><b>Depends: libc, libpcap1<\/b><\/div>\n<div>Status: install user installed<\/div>\n<div>Section: net<\/div>\n<div>Architecture: x86_64<\/div>\n<div>Size: 363238<\/div>\n<div>Filename: tcpdump_4.99.1-1_x86_64.ipk<\/div>\n<div>Description: Network monitoring and data acquisition tool<\/div>\n<div><span style=\"font-weight: bold\"><br><\/span><\/div>\n<div>\u6ce8\u610f\u5230\uff1aDepends: libc, libpcap1\u8fd9\u4e00\u884c\u3002\u6709\u4e24\u4e2a\u4f9d\u8d56\u5305\u3002<\/div>\n<div><br><\/div>\n<p><div><div>opkg install libc<\/div><\/p>\n<div>opkg install libpcap<\/div>\n<div><br><\/div>\n<div><font color=\"#333333\" face=\"Monaco\"><span style=\"font-size: 12px\">\u5904\u7406\u6210\u529f\u3002<\/span><\/font><\/div>","protected":false},"excerpt":{"rendered":"<p>\u6545\u969c\u73b0\u8c61\uff1a root@SaharaWrt:~# tcpdump Error relocating \/usr\/b &hellip; <a href=\"https:\/\/dingxuan.info\/wp\/?p=6013\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">OpenWRT\u4e2dtcpdump\u65e0\u6cd5\u8fd0\u884c<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-6013","post","type-post","status-publish","format-standard","hentry","category-live"],"_links":{"self":[{"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/6013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6013"}],"version-history":[{"count":1,"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/6013\/revisions"}],"predecessor-version":[{"id":6014,"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/6013\/revisions\/6014"}],"wp:attachment":[{"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dingxuan.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}