diff options
author | johannst <johannst@users.noreply.github.com> | 2023-02-05 17:28:38 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2023-02-05 17:28:38 +0000 |
commit | b590f4ed4db110bb61da35fec288a467d32c9a62 (patch) | |
tree | d4ec35b4b6fd3013cae24b41f7721915588abd43 /network | |
parent | 2b76da0df5f8c8ebd103bdd1d41eb4b5189d7e53 (diff) | |
download | notes-b590f4ed4db110bb61da35fec288a467d32c9a62.tar.gz notes-b590f4ed4db110bb61da35fec288a467d32c9a62.zip |
deploy: 728d263753b998b8944a66eec1be0e743961fa1c
Diffstat (limited to 'network')
-rw-r--r-- | network/tcpdump.html | 5 |
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 <host> tcpdump -i <IF> -w - | sudo wireshark -k -i - +ssh <host> 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> |