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

John Donnelly jdonnelly at dyn.com
Fri Feb 6 08:17:33 PST 2015


My Pluggin - I am using the same InstantiateAnalyzer method as I did in
2.2.135:


class Plugin : public plugin::Plugin {
public:
        plugin::Configuration Configure()
                {
                AddComponent(new ::analyzer::Component("DNS_TELEMETRY",
::analyzer::dns_telemetry::DNS_Telemetry_Analyzer::InstantiateAnalyzer));
                AddComponent(new
::analyzer::Component("Contents_DNS_Telemetry", 0));

                plugin::Configuration config;
                config.name = "Bro::DNS_Telemetry";
                config.description = "DNS analyzer Telemetry";
                return config;
                }


On Fri, Feb 6, 2015 at 10:00 AM, John Donnelly <jdonnelly at dyn.com> wrote:

> No . -NN only shows the Plugin Name:
>
>
>
> Bro::DNS_Telemetry - DNS analyzer Telemetry (built-in)
>     [Analyzer] Contents_DNS_Telemetry (enabled)
>     [Analyzer] DNS_TELEMETRY (ANALYZER_DNS_TELEMETRY, enabled)
>
>
>  I turned  on all -B options and gathered this from debug.log and what -NN
> shows
>
>
>  Made IdentifierInfo dns_telemetry_set_options, in script
> base/bif/plugins/Bro_DNS_TELEMETRY.events.bif.bro
>
>  Filter id 'dns_telemetry_set_options' in
> 'base/bif/plugins/Bro_DNS_TELEMETRY.events.bif.bro' as a function
>
>
>
>
> On Fri, Feb 6, 2015 at 9:49 AM, Robin Sommer <robin at icir.org> wrote:
>
>> On Fri, Feb 06, 2015 at 07:48 -0600, John Donnelly wrote:
>>
>> > bro -N | grep DNS
>>
>> Does -NN show your function?
>>
>> Robin
>>
>> --
>> 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/20150206/6dfd0b19/attachment.html 


More information about the Bro mailing list