[Bro] conditional loading

Dk Jack dnj0496 at gmail.com
Mon Nov 30 16:21:16 PST 2015


Hi,
Is it possible to perform conditional loading of bro script files ?
In my local.bro file, I'd like to do something like this:

if file 'filters.bro' exists
{
@load filters.bro
}

The file filters.bro may or may not exist because it's getting generated
from an external program.
Thanks for your help in advance.

Dnj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20151130/58bccb2c/attachment.html 


More information about the Bro mailing list