1
0
Fork 0
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:
Ming Chen 2017-12-03 08:22:45 -08:00 committed by GitHub
parent 59221d54fd
commit eb7224387b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`