Snort mailing list archives

Re: odd output plugin behavior?


From: Kiira Triea <kiira-t () mail bsasinc org>
Date: Tue, 19 Jun 2001 14:49:23 -0400 (EDT)


On Tue, 19 Jun 2001, Kiira Triea wrote:

Maybe I'm missing something simple here but I want an output that will
write to a logfile so that my Logchecker can email cheery tales
of nefarious s'kddies but I also want my alerts going into my
posgresql DB.

Yep.  It's one of the "Should be in the FAQ" questions.  :)  Don't worry--It
bit me too!


So I did this in snort.conf as per the example:

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

[...snip...]

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.

Hope this helps!

Yes that did it fine... I misunderstood the actual use of defining
output plugins. 

thanks!

Kiira 

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: