<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Network Monitoring on Support Tools</title><link>https://support.tools/categories/network-monitoring/</link><description>Recent content in Network Monitoring on Support Tools</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Fri, 13 Oct 2023 11:30:00 -0500</lastBuildDate><atom:link href="https://support.tools/categories/network-monitoring/index.xml" rel="self" type="application/rss+xml"/><item><title>How to Use tcpdump to Capture Incoming Traffic</title><link>https://support.tools/post/using-tcpdump-capture-incoming-traffic-guide/</link><pubDate>Fri, 13 Oct 2023 11:30:00 -0500</pubDate><guid>https://support.tools/post/using-tcpdump-capture-incoming-traffic-guide/</guid><description>&lt;h2 id="how-to-use-tcpdump-to-capture-incoming-traffic"&gt;How to Use tcpdump to Capture Incoming Traffic&lt;/h2&gt;&#10;&lt;p&gt;If you need to capture incoming network traffic using &lt;code&gt;tcpdump&lt;/code&gt;, the most reliable option is to use the &lt;code&gt;-Q&lt;/code&gt; option as follows:&lt;/p&gt;&#10;&lt;div class="code-block" data-copy-label="Copy bash code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;span class="code-block-lang"&gt;bash&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tcpdump -Qin other filter logic&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The &lt;code&gt;-Q&lt;/code&gt; option may not be supported on all platforms, and an alternative is to use equivalent logic in BPF (Berkeley Packet Filter) syntax in the form of the &lt;code&gt;inbound&lt;/code&gt; predicate:&lt;/p&gt;</description></item><item><title>How to Filter MAC Addresses Using tcpdump</title><link>https://support.tools/post/filtering-mac-addresses-tcpdump-guide/</link><pubDate>Fri, 13 Oct 2023 10:45:00 -0500</pubDate><guid>https://support.tools/post/filtering-mac-addresses-tcpdump-guide/</guid><description>&lt;h2 id="how-to-filter-mac-addresses-using-tcpdump"&gt;How to Filter MAC Addresses Using &lt;code&gt;tcpdump&lt;/code&gt;&lt;/h2&gt;&#10;&lt;p&gt;Suppose you&amp;rsquo;re using &lt;code&gt;tcpdump&lt;/code&gt; for network monitoring and must filter traffic based on MAC addresses. In that case, you can utilize the &amp;ldquo;ether&amp;rdquo; qualifier to specify Ethernet addresses in the standard colon-separated format. Here&amp;rsquo;s how you can do it:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;To capture any broadcast traffic, use the following command:&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div class="code-block" data-copy-label="Copy bash code, block 1"&gt;&#10; &lt;div class="code-block-header" data-pagefind-ignore&gt;&lt;span class="code-block-lang"&gt;bash&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;tcpdump ether dst ff:ff:ff:ff:ff:ff&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;This command will capture all packets sent to the broadcast MAC address.&lt;/p&gt;</description></item></channel></rss>