base/frameworks/config/main.bro
-
Config
The configuration framework provides a way to change Bro options
(as specified by the “option” keyword) at runtime. It also logs runtime
changes to options to config.log.
Detailed Interface
Types
-
Config::Info
-
Represents the data in config.log.
Events
-
Config::log_config
-
Event that can be handled to access the Config::Info
record as it is sent on to the logging framework.
Functions
-
Config::set_value
-
This function is the config framework layer around the lower-level
Option::set
call. Config::set_value will set the configuration
value for all nodes in the cluster, no matter where it was called. Note
that Option::set
does not distribute configuration changes
to other nodes.
ID: | The ID of the option to update. |
Val: | The new value of the option. |
Location: | Optional parameter detailing where this change originated from. |
Returns: | true on success, false when an error occurs. |