Snort mailing list archives

Re: BASE installation in snort


From: basant subba <basantsubba () gmail com>
Date: Mon, 12 May 2014 19:36:10 +0530

Thank you Joel for that information. Now I have a different problem. When I
am trying to process my unified2 output using barnyard2 I am getting this
error

       --== Initializing Barnyard2 ==--
Initializing Input Plugins!
Initializing Output Plugins!
Parsing config file "./barnyard2.conf"
Log directory = /var/log/barnyard2
database: 'mysql' support is not compiled into this build of snort

ERROR: If this build of snort was obtained as a binary distribution (e.g.,
rpm,
or Windows), then check for alternate builds that contains the necessary
'mysql' support.

If this build of snort was compiled by you, then re-run the
the ./configure script using the '--with-mysql' switch.
For non-standard installations of a database, the '--with-mysql=DIR'
syntax may need to be used to specify the base directory of the DB install.

From above error message I understood that my installed version of
snort(2.9.6.1) doesn't support mysql. I even tried re-compiling snort using
./configure --with-mysql, as suggested in some post. Everything compiles
fine but then there's a warning at the end saying --with-mysql command
cannot be identified. So is there any other way that I can re-compile my
snort to support mysql? Also I went through  quite a few number of posts
regarding this issue but I didn't find any solution? Is it a dead end and
snort doesn't support myqsl? I had similar query about pulledpork where I
was unable to update my ruleset using oinkcode and I had posted it a few
weeks back but I didn't get any reply.
I was even asked by someone to post my emailid so that he can validate my
oinkcode. But I never heard back from him. Anyways looking forward to some
help to resolve these issues.


On Mon, May 12, 2014 at 6:54 PM, Joel Esler (jesler) <jesler () cisco com>wrote:

 On May 12, 2014, at 8:33 AM, basant subba <basantsubba () gmail com> wrote:

 Hello Snort Users. I am trying to log my alerts to mysql database. The
snort.conf files says that for debian systems I've to do database
configurations in database.conf file as listed below.....

 # On Debian Systems, the database configuration is kept in a separate
file:
 # /etc/snort/database.conf.
 # This file can be empty, if you are not using any database information
 # If you are using databases, please edit that file instead of this one,
to
 # ensure smoother upgrades to future versions of this package.

 My database.conf file is

 output database: alert, mysql, user=snort password=snort dbname=snort
host=localhost

  However when I am running snort, I am getting this error.

 ERROR: database.conf(1) Unknown output plugin: "database"
Fatal Error, Quitting..

 Can anyone please help me fix this problem?


The database output plugin was removed in Snort 2.9.3.0, you need to have
Snort output in unified2 format, and use a program called barnyard2 to
process those files for insertion into the database.

 --
*Joel Esler*
Open Source Manager
Threat Intelligence Team Lead
Vulnerability Research Team

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
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: