# TCPDump

**#Assorted Commands**

<pre><code>tcpdump -D #Listing possible network interfaces on the system

$ tcpdump -D
1.eth0
2.eth1
3.eth2

tcpdump -c N 
<strong>tcpdump -i eth1 -c 10     #Capture only N number of packets
</strong>
tcpdump -i eth0           #Capture everything on a given interface

tcpdump host 10.10.10.10    #Target a specific IP

tcpdump src 11.11.11.11   #filter by source
tcpdump dst 11.10.10.11    #filter by destination

</code></pre>
