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

6.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.



Nigel Houghton 2006-10-02