mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 14:59:36 +03:00
Merge pull request #177 from jlinder/tcpdump
tcpdump command to output to a dated filename all traffic not on port 22
This commit is contained in:
commit
2d6a81f2a7
@ -22,3 +22,8 @@
|
||||
|
||||
`tcpdump net {{192.168.1.0/24}}`
|
||||
|
||||
- capture all traffic except traffic over port 22 and save to a dump file with today's date
|
||||
|
||||
```
|
||||
tcpdump -w dumpfile.`date +%Y.%m.%d-%H.%M`.pcap not port 22
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user