mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
snort: add page (#10018)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# snort
|
||||
|
||||
> Open-source network intrusion detection system.
|
||||
> More information: <https://www.snort.org/#documents>.
|
||||
|
||||
- Capture packets with verbose output:
|
||||
|
||||
`sudo snort -v -i {{interface}}`
|
||||
|
||||
- Capture packets and dump application layer data with verbose output:
|
||||
|
||||
`sudo snort -vd -i {{interface}}`
|
||||
|
||||
- Capture packets and display link layer packet headers with verbose output:
|
||||
|
||||
`sudo snort -ve -i {{interface}}`
|
||||
|
||||
- Capture packets and save them in the specified directory:
|
||||
|
||||
`sudo snort -i {{interface}} -l {{path/to/directory}}`
|
||||
|
||||
- Capture packets according to rules and save offending packets along with alerts:
|
||||
|
||||
`sudo snort -i {{interface}} -c {{path/to/rules.conf}} -l {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user