- generates statistic of scans detected by snort
cat /var/log/auth.log | /usr/sbin/snort-stat
is a small script that generates a nice statistic on the port scans that
were detected by snort and reported via /var/log/snort/alert.log.
The output of this script is mailed to a user that is setup in
The cron script /etc/cron.daily/5snort uses this script.