{"id":344,"date":"2023-04-25T17:12:32","date_gmt":"2023-04-25T09:12:32","guid":{"rendered":"http:\/\/idc.birk.cn\/?p=344"},"modified":"2023-04-25T17:17:25","modified_gmt":"2023-04-25T09:17:25","slug":"linux-tcpdump%e4%b8%80%e4%ba%9b%e7%89%b9%e6%ae%8a%e5%9c%ba%e6%99%af%e7%94%a8%e7%9a%84%e5%91%bd%e4%bb%a4%e9%9b%86%e5%90%88","status":"publish","type":"post","link":"https:\/\/idc.birk.cn\/?p=344","title":{"rendered":"Linux tcpdump\u4e00\u4e9b\u7279\u6b8a\u573a\u666f\u7528\u7684\u547d\u4ee4\u96c6\u5408"},"content":{"rendered":"<p>\u6211\u4eec\u7ecf\u5e38\u5728\u4e00\u4e9b\u573a\u666f\u4e0b\u60f3\u6293\u5305\uff0c\u4f46\u662f\u4e0d\u77e5\u9053\u600e\u4e48\u5199\u547d\u4ee4\uff0c\u4e0b\u9762\u5c06\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684tcpdump\u547d\u4ee4<\/p>\n<p>\u9700\u6c421\uff1atcpdump\u6293\u673a\u5668\u662f\u5426\u6709\u5411\u516c\u7f51\u53d1\u5305<\/p>\n<p>tcpdump -i eth0 -n dst net ! 10.0.0.0\/8 and ! 172.16.0.0\/12 and ! 192.168.0.0\/16<\/p>\n<p>\u9700\u6c422\uff1atcpdump\u6293\u5305\u67e5\u770bdns<\/p>\n<p>tcpdump -i eth0 udp port 53 -n<\/p>\n<p>\u9700\u6c423\uff1atcpdump\u6293\u5305\u6307\u5b9aIP<\/p>\n<p>tcpdump -i eth0 src host 192.168.1.100\u00a0 \/\/ src\u53ef\u4ee5\u6362\u6210dst\uff0c\u4e5f\u53ef\u4ee5\u53bb\u6389\uff0c\u5c31\u662f\u540c\u65f6\u8fc7\u6ee4src\u548cdst<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u7ecf\u5e38\u5728\u4e00\u4e9b\u573a\u666f\u4e0b\u60f3\u6293\u5305\uff0c\u4f46\u662f\u4e0d\u77e5\u9053\u600e\u4e48\u5199\u547d\u4ee4\uff0c\u4e0b\u9762\u5c06\u4ecb\u7ecd\u4e00\u4e9b\u5e38\u7528\u7684tcpdump\u547d\u4ee4 \u9700\u6c421\uff1atcpdump\u6293\u673a\u5668\u662f\u5426\u6709\u5411\u516c\u7f51\u53d1\u5305 tcpdump -i eth0 -n dst net ! 10.0.0.0\/8 and ! 172.16 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"topic":[37],"class_list":["post-344","post","type-post","status-publish","format-standard","hentry","category-linux","topic-linux"],"_links":{"self":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts\/344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=344"}],"version-history":[{"count":3,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts\/344\/revisions"}],"predecessor-version":[{"id":347,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=\/wp\/v2\/posts\/344\/revisions\/347"}],"wp:attachment":[{"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=344"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/idc.birk.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}