[Bro-Dev] Configuration framework syntax proposal
Azoff, Justin S
jazoff at illinois.edu
Wed Sep 20 16:04:05 PDT 2017
> On Sep 20, 2017, at 6:24 PM, Johanna Amann <johanna at corelight.com> wrote:
>
>
> const filter = "ip" &config="input.pcap.filter";
>
> the definition could look like
>
> configopt filter = "ip";
Could the definition be
const filter = “ip” &config;
if you just wanted to use NameSpace::filter ? That kinda seems like the best of both worlds… Especially if anything marked &redef was automatically registered as a configuration variable.
Thinking of all my scripts that could use this feature I think I would always want NameSpace::option.
—
Justin Azoff
More information about the bro-dev
mailing list