Merge pull request #177 from jlinder/tcpdump

tcpdump command to output to a dated filename all traffic not on port 22
waldyrious/alt-syntax
Ruben Vereecken 2014-05-15 16:22:57 +02:00
commit 2d6a81f2a7
1 changed files with 5 additions and 0 deletions

View File

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