[Bro] plugin help
dnj0496 at gmail.com
Wed Jun 1 19:30:59 PDT 2016
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
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?
> 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
> > plugin page.
> > If I put my plugin code in <bro-base>/lib/bro/plugins directory
> > works fine.
> > For testing purposes, I'd like to keep plugins directory different from
> > 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
> > 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...
More information about the Bro