Jon Siwek created BIT-1252:
------------------------------
Summary: topic/jsiwek/missing-plugin
Key: BIT-1252
URL: https://bro-tracker.atlassian.net/browse/BIT-1252
Project: Bro Issue Tracker
Issue Type: Problem
Components: Bro
Affects Versions: git/master
Reporter: Jon Siwek
Fix For: 2.4
Trying to activate a non-existing dynamic plugin gave a hard to understand
error message and core dumps:
{noformat}
$ bro Bro::NOPE
error in /Users/jsiwek/Projects/bro/bro/scripts/base/init-bare.bro, line 1:
plugin Bro::NOPE is not available
internal error in
/Users/jsiwek/Projects/bro/bro/build/scripts/base/bif/const.bif.bro, line 33:
internal variable state_dir missing
Abort trap: 6
{noformat}
It also seems that {{bro -N Bro::NOPE}}, which is used by the
{{testing/scripts/has-writer}} helper script, is interpreted as a request to
activate a dynamic plugin instead of just query if a plugin exists w/ that
name. Not sure the intention: I just changed the helper script to grep the
output of {{bro -N}} instead.
--
This message was sent by Atlassian JIRA
(v6.4-OD-05-008#64003)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev