zeek/scripts/policy/tuning/defaults/warnings.bro
Jon Siwek 47500ceef4 Add a test that checks each individual script can be loaded in bare-mode.
Fixed most @load dependency issues in the process.  The test is still
failing in a "known" way due to hot.conn.bro and scan.bro.

Adressess #545
2011-08-10 15:38:21 -05:00

11 lines
386 B
Text

##! This file is meant to print messages on stdout for settings that would be
##! good to set in most cases or other things that could be done to achieve
##! better detection.
@load base/utils/site
event bro_init() &priority=-10
{
if ( |Site::local_nets| == 0 )
print "WARNING: No Site::local_nets have been defined. It's usually a good idea to define your local networks.";
}