This is Interesting: Free IT Magazines  
Home > Archive > Snort > September 2004 > [Snort-users] barnyard + postgres





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Snort-users] barnyard + postgres
Alexander Zenger

2004-09-09, 5:46 pm

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 "psq=
l" or so
i haven't it found anywhere documented

thx...


cya

Alexander Zenger

--=20
Internet Services OE 564

IZB Informatik-Zentrum M=FCnchen-Frankfurt a.M. Gmbh & Co. KG
einsteinring 17
85609 Aschheim
www.izb.net
Tel./Fon. 089/94511-8318
Fax. 089/94511-8941
azen@izb.net


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
________________________________________
_______
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists...nfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf....ist=snort-users
Bamm Visscher

2004-09-09, 5:46 pm

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

#ifdef ENABLE_POSTGRES
else if(strcasecmp("postgres", stoks[0]) =3D=3D 0)
{
if(op_data->flavor =3D=3D 0)
op_data->flavor =3D 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@izb.net> wrote:
> Hello,
>=20
> 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???
>=20
> Is the type of db right?
> output alert_acid_db: mysql, <--- was document, so here im sure and it wo=

rks
> output alert_acid_db: postgres <---- is "postgres" right or must it be "p=

sql" or so
> i haven't it found anywhere document=

ed
>=20
> thx...
>=20
> cya
>=20
> Alexander Zenger
>=20
> --
> Internet Services OE 564
>=20
> IZB Informatik-Zentrum M=FCnchen-Frankfurt a.M. Gmbh & Co. KG
> einsteinring 17
> 85609 Aschheim
> www.izb.net
> Tel./Fon. 089/94511-8318
> Fax. 089/94511-8941
> azen@izb.net
>=20


--=20
http://sguil.sf.net


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
________________________________________
_______
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists...nfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf....ist=snort-users
Alexander Zenger

2004-09-22, 10:25 pm

Hello bamm,

i've tried commenting out hte mysql line and then it works
seems like barnyard could not log into two db's at the same time

Regards

Alexander Zenger

On Thu, Sep 09, 2004 at 11:36:07AM -0500, Bamm Visscher wrote:
> Assuming barnyard was (correctly) compiled with PostgreSQL support,
> then 'postgres' is indeed the correct keyword:
>=20
> #ifdef ENABLE_POSTGRES
> else if(strcasecmp("postgres", stoks[0]) =3D=3D 0)
> {
> if(op_data->flavor =3D=3D 0)
> op_data->flavor =3D FLAVOR_POSTGRES;
> else
> LogMessage("Argument Error in %s(%i): %s\n", file_nam=

e,
> file_line, index);
> }
> #endif /* ENABLE_POSTGRES */
>=20
> Try commenting out the mysql line and see if the postgres one works then.
>=20
> Bammkkkk
>=20
>=20
>=20
> On Thu, 9 Sep 2004 17:34:56 +0200, Alexander Zenger <azen@izb.net> wrote:
k.[vbcol=seagreen]
works[vbcol=seagreen]
"psql" or so[vbcol=seagreen]
nted[vbcol=seagreen]
>=20
> --=20
> http://sguil.sf.net
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> ________________________________________
_______
> Snort-users mailing list
> Snort-users@lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists...nfo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf....t=3Dsnort-users


--=20
Internet Services OE 564

IZB Informatik-Zentrum M=FCnchen-Frankfurt a.M. Gmbh & Co. KG
einsteinring 17
85609 Aschheim
www.izb.net
Tel./Fon. 089/94511-8318
Fax. 089/94511-8941
azen@izb.net


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
________________________________________
_______
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists...nfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf....ist=snort-users
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com