[Bro] Optional Internal Values - Bro 2.0

Siwek, Jonathan Luke jsiwek at illinois.edu
Fri Dec 16 08:43:49 PST 2011


> Optional Internal values can be set as arguments, 
> 
> Ex. bro -Cr somefile.trace some/policy/here myvar=somevalue 
> 
> as well as at the script level,  
> 
> Ex. redef myvar = somevalue; 
> 
> Correct?  

For variables declared with the &redef attribute, yes.

> It seems I cannot get the script level value to set, but the command line argument is correctly set. 

It should work both ways.  Is there a specific error you're getting or a specific/contrived example you can give?

+Jon



More information about the Bro mailing list