snippetbashTip
snort — Open-source network intrusion detection system. More information: <https://www.snort.org/#documents>
Viewed 0 times
intrusioncommandsourcenetworksnortclidetectionopen
Problem
How to use the
snort command: Open-source network intrusion detection system. More information: <https://www.snort.org/#documents>.Solution
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}}Code Snippets
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}}Context
tldr-pages: common/snort
Revisions (0)
No revisions yet.