Tcpdump cheat sheet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=== Display packtes from | === Display packtes from host on interface eth0: === | ||
<pre>tcpdump -i eth1 -vv host <IP-VSCOUT></pre> | <pre>tcpdump -i eth1 -vv host <IP-VSCOUT></pre> | ||
| | ||
=== | === Save packets to trace file on interface eth0: === | ||
<pre>tcpdump -i eth0 -s 0 -w <path> & | <pre>tcpdump -i eth0 -s 0 -w <path> & | ||
</pre> | </pre> |
Revision as of 08:31, 18 March 2018
Display packtes from host on interface eth0:
tcpdump -i eth1 -vv host <IP-VSCOUT>
Save packets to trace file on interface eth0:
tcpdump -i eth0 -s 0 -w <path> &
To stop:
<Enter>