{"id":9011,"date":"2022-05-23T16:47:32","date_gmt":"2022-05-23T21:47:32","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=9011"},"modified":"2023-08-09T22:09:52","modified_gmt":"2023-08-10T03:09:52","slug":"using-tcpdump-to-capture-traffic","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=9011","title":{"rendered":"Using tcpdump to capture traffic"},"content":{"rendered":"<p>I like tshark (command line wireshark), but some of our servers don&#8217;t have it installed and <em>won&#8217;t<\/em> have it installed. So I&#8217;m re-learning tcpdump!<\/p>\n<p>List data from a specific source IP<\/p>\n<p><tt>tcpdump src 10.1.2.3<\/tt><\/p>\n<p>List data sent to a specific port<\/p>\n<p><tt>tcpdump dst port 5048<\/tt><\/p>\n<p>List data sent from an entire subnet<\/p>\n<p><tt>tcpdump net 10.1.2.0\/26<\/tt><\/p>\n<p>And add -X or -A to see the whole packet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I like tshark (command line wireshark), but some of our servers don&#8217;t have it installed and won&#8217;t have it installed. So I&#8217;m re-learning tcpdump! List data from a specific source IP tcpdump src 10.1.2.3 List data sent to a specific port tcpdump dst port 5048 List data sent from an entire subnet tcpdump net 10.1.2.0\/26 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[1641,1336,1640],"class_list":["post-9011","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-linx","tag-packet-capture","tag-tcpdump"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9011","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9011"}],"version-history":[{"count":3,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9011\/revisions"}],"predecessor-version":[{"id":10242,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/9011\/revisions\/10242"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9011"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9011"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9011"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}