Snort - the de facto standard for intrusion detection/prevention
next up previous
Next: 5.11 Is it possible Up: 5 Getting Fancy Previous: 5.9 How do I

5.10 How do I log a specific type of traffic and send alerts to syslog?

An example addition to snort.conf:

ruletype redalert {
   type alert
   output alert_syslog: LOG_LOCAL2
    output database: alert, postgresql, user=user dbname=snort password=pwd
}

Go into your local.rules and make sure you have something like:

redalert tcp any any -> any any (msg:"REDRUM REDRUM"; content:"redalerttest")

Then just do a telnet and type `redalerttest.' Presto, alerts to both.