Snort mailing list archives

Re: [barnyard2-users] Re: Barnyard2 error: 'mysql' support is not compiled into this build of snort


From: beenph <beenph () gmail com>
Date: Tue, 27 Aug 2013 10:16:27 -0400

On Tue, Aug 27, 2013 at 7:14 AM, Starner, Mark <mark.starner () unisys com> wrote:
Another issue is that the spo_database.c src file in Barnyard 2.1.13
contains the line:
ErrorMessage("ERROR database: '%s' support is not compiled into this build
of snort\n\n", type);

I think we saw two different instances on the list in the past month where
someone claimed that Barnard was giving out a Snort message. And, oops, it
is :-)

Yup, tought all literals had been changed, but the final message would
generaly be more clear

            ErrorMessage("ERROR database: '%s' support is not compiled
into this build of snort\n\n", type);
            FatalError(FATAL_NO_SUPPORT_1, type, type, type,
FATAL_NO_SUPPORT_2);

static const char* FATAL_NO_SUPPORT_1 =
    "If this build of barnyard2 was obtained as a binary distribution
(e.g., rpm,\n"
    "or Windows), then check for alternate builds that contains the necessary\n"
    "'%s' support.\n\n"
    "If this build of barnyard2 was compiled by you, then re-run the\n"
    "the ./configure script using the '--with-%s' switch.\n"
    "For non-standard installations of a database, the '--with-%s=DIR'\n%s";
static const char* FATAL_NO_SUPPORT_2 =
    "syntax may need to be used to specify the base directory of the
DB install.\n\n"
    "See the database documentation for cursory details
(doc/README.database).\n"
    "and the URL to the most recent database plugin documentation.\n";


Will update the "snort" literal.

-elz

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
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: