[Snort-users] barnyard + postgres

Bamm Visscher bamm.visscher at ...11827...
Thu Sep 9 09:37:02 EDT 2004


Assuming barnyard was (correctly) compiled with postgresql support,
then 'postgres' is indeed the correct keyword:

#ifdef ENABLE_POSTGRES
            else if(strcasecmp("postgres", stoks[0]) == 0)
            {
                if(op_data->flavor == 0)
                    op_data->flavor = FLAVOR_POSTGRES;
                else
                    LogMessage("Argument Error in %s(%i): %s\n", file_name,
                            file_line, index);
            }
#endif /* ENABLE_POSTGRES */

Try commenting out the mysql line and see if the postgres one works then.

Bammkkkk



On Thu, 9 Sep 2004 17:34:56 +0200, Alexander Zenger <azen at ...12256...> wrote:
> Hello,
> 
> i have compiled barnyard with mysql and postgres support.
> the loggin in the mysql db does very well but the postgres will not work.
> is it possible to log with 1 barnyard in 2 different dbs???
> 
> Is the type of db right?
> output alert_acid_db: mysql, <--- was document, so here im sure and it works
> output alert_acid_db: postgres <---- is "postgres" right or must it be "psql" or so
>                                      i haven't it found anywhere documented
> 
> thx...
> 
> cya
> 
> Alexander Zenger
> 
> --
> Internet Services OE 564
> 
> IZB Informatik-Zentrum München-Frankfurt a.M. Gmbh & Co. KG
> einsteinring 17
> 85609 Aschheim
> www.izb.net
> Tel./Fon. 089/94511-8318
> Fax.      089/94511-8941
> azen at ...12256...
> 

-- 
http://sguil.sf.net




More information about the Snort-users mailing list