Skip to content

Commit

Permalink
Merge pull request tldr-pages#626 from agnivade/tcpdump
Browse files Browse the repository at this point in the history
tcpdump: fixed syntax error and added better params
  • Loading branch information
felixonmars committed Jan 6, 2016
2 parents b135828 + 3e355c7 commit 5021b5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/common/tcpdump.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

`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

Expand Down

0 comments on commit 5021b5b

Please sign in to comment.