mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 11:15:26 +02:00
Add -D and -r from tcpdump
This commit is contained in:
parent
59221d54fd
commit
eb7224387b
1 changed files with 8 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
> Dump traffic on a network.
|
||||
|
||||
- List available network interfaces:
|
||||
|
||||
`tcpdump -D`
|
||||
|
||||
- Capture the traffic of a specific interface:
|
||||
|
||||
`tcpdump -i {{eth0}}`
|
||||
|
@ -25,3 +29,7 @@
|
|||
- Capture all traffic except traffic over port 22 and save to a dump file:
|
||||
|
||||
`tcpdump -w dumpfile.pcap not port 22`
|
||||
|
||||
- Read from an exist dump file:
|
||||
|
||||
`tcpdump -r dumpfile.pcap`
|
||||
|
|
Loading…
Add table
Reference in a new issue