Snort
Snort
6) Edit the file "c:\Snort\rules\local.rules" with NotePad++ paste the following alerts at
the bottom of the file:
alert icmp any any -> any any (msg:"Testing ICMP"; sid:1000001;)
alert tcp any any -> any any (msg:"Testing TCP"; sid:1000002;)
alert udp any any -> any any (msg:"Testing UDP"; sid:1000003;)
Then click save
7) To run snort execute the following command :
snort -i 5 -c c:\Snort\etc\snort.conf -A console (display will be in the console you can do
it in a file by executing this command instead of the 1st:
snort -i 5 -c c:\Snort\etc\snort.conf -A > "path of the file")
Testing snort
attention
images by Freepik