mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:22:09 +02:00
tcpdump: fixed syntax error and added better params
This commit is contained in:
parent
b1358283f1
commit
3e355c7f36
1 changed files with 2 additions and 2 deletions
|
@ -14,9 +14,9 @@
|
||||||
|
|
||||||
`tcpdump host {{www.example.com}}`
|
`tcpdump host {{www.example.com}}`
|
||||||
|
|
||||||
- capture the traffic from a specific interface, source, destination and port
|
- capture the traffic from a specific interface, source, destination and destination port
|
||||||
|
|
||||||
`tcpdump -i {{eth0}} src {{192.168.1.1}} dest {{192.168.1.2}} and port 80`
|
`tcpdump -i {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port 80`
|
||||||
|
|
||||||
- capture the traffic of a network
|
- capture the traffic of a network
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue