Snort mailing list archives

Snort output plugins using Barnyard.


From: fatema bannatwala <fatema.bannatwala () gmail com>
Date: Tue, 20 Sep 2016 14:55:32 -0400

Hi,

We have snort 2.9.7 up and running, with unified2 format output setup in
snort.conf.
We also have barnyard2 configured to log the snort unified2 output in
different formats.
We have two output plugins enabled in barnyard, one is to syslog to local1
facility  (output alert_syslog: LOG_INFO LOG_LOCAL1) and another one to log
the alerts into a postgres DB (output database: log, postgresql,
user=db_user password=some_password dbname=snorby host=host123.somedomain).

Recently we ran into an issue where snort stopped sending the syslog
messages to local facility, when the other barnyard plugin ,i.e, database
connection failed.
Hence my question is, does snort stop processing other output plugins as
well, if any one of them fails in barnyard?
or is there any way to make sure the other output plugins still get
processed if one of them fails?

Also, the order of the output plugins definition in barnyard2.conf is,
first the syslog output is defined and at the end of the file database
output plugin is defined.
Hence I was thinking that snort should have processed the syslog plugin and
have sent the syslogs to local1, before processing the database plugin and
finding out that it is not able to connect to the database.

Any suggestion/comment appreciated.

Thanks,
Fatema.
------------------------------------------------------------------------------
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: