[Bro-Dev] [JIRA] (BIT-1252) topic/jsiwek/missing-plugin

Robin Sommer (JIRA) jira at bro-tracker.atlassian.net
Thu Sep 25 12:50:07 PDT 2014


     [ https://bro-tracker.atlassian.net/browse/BIT-1252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robin Sommer updated BIT-1252:
------------------------------
    Resolution: Merged  (was: Fixed)
        Status: Closed  (was: Merge Request)

> 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
>            Assignee: Robin Sommer
>             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-009#64003)


More information about the bro-dev mailing list