[Bro-Dev] Configuration framework syntax proposal
Johanna Amann
johanna at corelight.com
Wed Sep 20 20:51:13 PDT 2017
On Wed, Sep 20, 2017 at 10:00:33PM -0500, Daniel Thayer wrote:
> On 9/20/17 5:24 PM, Johanna Amann wrote:
> > advantages or disadvantages. One idea is to have a different syntax to define
> > the configuration option. Instead of
> >
> > const filter = "ip" &config="input.pcap.filter";
> >
> > the definition could look like
> >
> > configopt filter = "ip";
> >
> If we decide to use the "const" syntax, then is the plan
> to allow a const to have both the &config and &redef attributes?
> (presumably, we wouldn't allow "&redef" with "configopt")
Actually, yes, that was the thought so far; since they do not interact,
they are combineable if someone would desire this.
Johanna
More information about the bro-dev
mailing list