mirror of https://github.com/CrimsonTome/tldr.git
Merge pull request #177 from jlinder/tcpdump
tcpdump command to output to a dated filename all traffic not on port 22waldyrious/alt-syntax
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