aboutsummaryrefslogtreecommitdiffhomepage
path: root/network/tcpdump.html
diff options
context:
space:
mode:
authorjohannst <johannst@users.noreply.github.com>2023-02-05 17:28:38 +0000
committerjohannst <johannst@users.noreply.github.com>2023-02-05 17:28:38 +0000
commitb590f4ed4db110bb61da35fec288a467d32c9a62 (patch)
treed4ec35b4b6fd3013cae24b41f7721915588abd43 /network/tcpdump.html
parent2b76da0df5f8c8ebd103bdd1d41eb4b5189d7e53 (diff)
downloadnotes-b590f4ed4db110bb61da35fec288a467d32c9a62.tar.gz
notes-b590f4ed4db110bb61da35fec288a467d32c9a62.zip
deploy: 728d263753b998b8944a66eec1be0e743961fa1c
Diffstat (limited to 'network/tcpdump.html')
-rw-r--r--network/tcpdump.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/tcpdump.html b/network/tcpdump.html
index 391856f..3b9d1ef 100644
--- a/network/tcpdump.html
+++ b/network/tcpdump.html
@@ -165,8 +165,11 @@ tcp/udp/icmp Filter for protocol.
<h1 id="examples"><a class="header" href="#examples">Examples</a></h1>
<h2 id="capture-packets-from-remote-host"><a class="header" href="#capture-packets-from-remote-host">Capture packets from remote host</a></h2>
<pre><code class="language-makrdown"># -k: Start capturing immediately.
-ssh &lt;host&gt; tcpdump -i &lt;IF&gt; -w - | sudo wireshark -k -i -
+ssh &lt;host&gt; tcpdump -i any -w - | sudo wireshark -k -i -
</code></pre>
+<blockquote>
+<p>The <code>any</code> interface is a special keyword to capture traffic on all interfaces.</p>
+</blockquote>
</main>