tcpdump
Verified for current stable LTS
Tcpdump Command: Capture Traffic Specific Interface Source Destination Port Common
Use for capture traffic specific interface source destination port common with Tcpdump. Exact CLI syntax to capture traffic specific interface source destination port common using Tcpdump.
When to use this: Use for capture traffic specific interface source destination port common with Tcpdump.
Command Syntax
sudo tcpdump -i <eth0> src <192.168.1.1> and dst <192.168.1.2> and dst port <80> sudo tcpdump -i <eth0> src <192.168.1.1> and dst <192.168.1.2> and dst port <80> Live Command Builder
Final Command
sudo tcpdump -i <eth0> src <192.168.1.1> and dst <192.168.1.2> and dst port <80> Command Breakdown
-i- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to capture traffic specific interface source destination port common using Tcpdump.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Tcpdump Command: Capture Network Traffic Common
sudo tcpdump net <192.168.1.0/24> Tcpdump Command: Capture Tcp Traffic Contents Console Common sudo tcpdump -A tcp Tcpdump Command: Capture Traffic Except Port Write Dumpfile Common sudo tcpdump -w <path/to/dumpfile.pcap> port not 22 Tcpdump Command: Capture Traffic From Host Common sudo tcpdump host <www.example.com> Tcpdump Command: Capture Traffic Specific Interface Common sudo tcpdump -i <eth0>