[Bro] New plugin usage: Error: " value used but not set"

John Donnelly jdonnelly at dyn.com
Fri Feb 6 05:41:07 PST 2015


That directory is empty:

  bro -h :

  $BRO_PLUGIN_PATH               | plugin search path
(/usr/local/bro/lib/bro/plugins)

 ls /usr/local/bro/lib/bro/plugins
ls: cannot access /usr/local/bro/lib/bro/plugins: No such file or directory





On Fri, Feb 6, 2015 at 7:29 AM, Seth Hall <seth at icir.org> wrote:

> If your plugin in the BRO_PLUGIN_PATH?
>
> Also, if your Bro script is something that you would always want to load
> with your module, you can include it with the module and make it
> automatically load when Bro starts up.  This lets you completely keep any
> evidence of your plugin out of Bro’s normal installation (I see you added
> your script to the base/ directory which you probably don’t want to do).
>
>   .Seth
>
>
> > On Feb 6, 2015, at 8:19 AM, John Donnelly <jdonnelly at dyn.com> wrote:
> >
> > I see the library plugin being created :
> >
> > make[3]: Entering directory `/work/jpd/dyn/src/bro-fork2/bro/build'
> > [ 27%] Building CXX object
> src/analyzer/protocol/dns_telemetry/CMakeFiles/plugin-Bro-DNS_TELEMETRY.dir/DNS.cc.o
> > [ 27%] Building CXX object
> src/analyzer/protocol/dns_telemetry/CMakeFiles/plugin-Bro-DNS_TELEMETRY.dir/events.bif.cc.o
> > [ 27%] Building CXX object
> src/analyzer/protocol/dns_telemetry/CMakeFiles/plugin-Bro-DNS_TELEMETRY.dir/events.bif.init.cc.o
> > Linking CXX static library libplugin-Bro-DNS_TELEMETRY.a
> >
> >
> > On Fri, Feb 6, 2015 at 7:09 AM, John Donnelly <jdonnelly at dyn.com> wrote:
> > Hi
> >
> > I have  a SW module that worked using the older plugin module from
> 2.2.135 Bro and I recently merged it to Bro 2.3.397 and when I run my Bro
> script that uses it I get:
> >
> > /usr/local/bro/share/bro/base/protocols/dns/telemetry_speed.bro, line
> 454: value used but not set (dns_telemetry_set_options)
> >
> > dns_telemetry_set_options is a function contained in my module in a
> events.bif file. The file is compiled.
> >
> > Any help in diagnosing this err would be appreciated .
> >
> >
> >
> >
> > _______________________________________________
> > Bro mailing list
> > bro at bro-ids.org
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
>
> --
> Seth Hall
> International Computer Science Institute
> (Bro) because everyone has a network
> http://www.bro.org/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150206/1c8c7f0d/attachment.html 


More information about the Bro mailing list