[Bro] Optional Internal Values - Bro 2.0

Bianco, David (GE Corporate) david.bianco at ge.com
Fri Dec 16 08:42:08 PST 2011

In your broscript file, you need to qualify the variable name.  For


    redef Module::myvar = somevalue;





From: bro-bounces at bro-ids.org [mailto:bro-bounces at bro-ids.org] On Behalf
Of James Swaro
Sent: Friday, December 16, 2011 11:22 AM
To: Bro
Subject: [Bro] Optional Internal Values - Bro 2.0


Just to clarify something that I couldn't find in the documentation.


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; 




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




James Swaro


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20111216/c4f1a38a/attachment.html 

More information about the Bro mailing list