Snort mailing list archives

RE: Snort on OpenBSD -- finding mysqlclient library


From: dlbox () comcast net
Date: Thu, 04 Dec 2003 17:20:49 +0000

Thanks for the reply. I may try that.
Since I am running 4.0.16 for the server, would running the older client from ports cause any problems? Or would I have 
to go install the older server from ports too?

The only reason I stayed away from the version from ports is because I know this DB is going to grow large and I wanted 
it to live in /var (75GB partition) instead of /usr, which is the data dir for the OBSD ports version of mysql server.

Sorry if this is viewed as OT. I will keep further emails confined to those who reply.


Then snort will run and log to mysql just fine.
My question is: "Is this normal behavior to expect, or am I 
missing something?"

Use the ports or packages to install mysql client and you will have no
trouble configuring snort --with-mysql.  The package I use that works
very well is "mysql-client-3.23.57.tgz", just go:

pkg_add
ftp://ftp.openbsd.org/pub/OpenBSD/3.4/packages/i386/mysql-client-3.23.57
.tgz

On your OpenBSD system.  This will also install all dependency packages
silently.  I didn't see any compelling reason to use mysql4 yet, as
mysql3.23 is more supportable and the network performance is FAST (for a
tcp app).  



Here is my setup:

OpenBSD 3.4 i386
MySQL 4.0.16 (./configure --prefix=/usr/local/mysql 
--localstatedir=/var/mysql) Snort 2.0.5 (./configure 
--with-mysql=/usr/local/mysql)

Then when configuring snort, just go ./configure --with-mysql

If your database is on a remote system, all will be well (if not then
add the mysql server package from the same locatio).




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: