Snort mailing list archives

Mysql doesn't work with snort 1.9.1 - possible fix...


From: Mike Harding <mvh () ix netcom com>
Date: Fri, 14 Mar 2003 19:24:23 -0800 (PST)


I am (futily attempting) using the freebsd snort port with -DWITH_MYSQL, and I get the
following warning:

...
Allowed IP Protocols:  All

WARNING: unknown output plugin: 'database'1306 Snort rules read...
1306 Option Chains linked into 138 Chain Headers
0 Dynamic rules
...

I debugged a bit and found the following:

ReadConfFile() is called before InitOutputPlugins() in snort.c and
therefore the output plugins (like 'database') are not available for
use by the configuration file.

I see that this has been addressed in CVS - this should help those
who can't use mysql...

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/snort/snort/src/snort.c.diff?r1=1.157.2.8&r2=1.157.2.9

Hope this is helpful!

- Mike Harding
mvh () ix netcom com


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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: