[Bro] plugin help

Dk Jack dnj0496 at gmail.com
Wed Jun 1 19:30:59 PDT 2016


Hi Robin,
Thanks for responding to my query...

Yes, pointing it to the build directory works.
If I have the plugin under base bro (brobas/lib/bro/plugins) directory, it
works.
However if I move the plugins directory to another path it doesn't work.

Any help is appreciated...


On Wed, Jun 1, 2016 at 7:55 AM, Robin Sommer <robin at icir.org> wrote:

> Should generally be the same. Does it work if you point
> BRO_PLUGIN_PATH to the plugins "build/" directory?
>
> Robin
>
> On Tue, May 31, 2016 at 22:32 -0700, Dk Jack wrote:
>
> > Hi,
> > I have a written a small bro plugin. I followed the instructions on the
> bro
> > plugin page.
> > If I put my plugin code in <bro-base>/lib/bro/plugins directory
> everything
> > works fine.
> > For testing purposes, I'd like to keep plugins directory different from
> the
> > final directory.
> > If I have my plugin in /abc/def and set my BRO_PLUGIN_PATH=/abc/def
> > directory, it fails to load. I run bro using the following command:
> >
> >     > <bro-base>/bin/bro -N
> >
> > The program coredumps...The failure happens in the InitBifs code... which
> > calls my
> > plugin bif init function. The plugin directory layout is exactly the same
> > as when it works
> > if I put the plugins directory in <bro-base> directory. Is there
> something
> > I need to setup
> > if I have the plugins directory in a different location? thanks.
> >
> > Dk
>
> > _______________________________________________
> > Bro mailing list
> > bro at bro-ids.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>
>
>
> --
> Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20160601/65be8823/attachment.html 


More information about the Bro mailing list