NetControl
¶Broker plugin for the NetControl framework. Sends the raw data structures used in NetControl on to Broker to allow for easy handling, e.g., of command-line scripts.
Namespace: | NetControl |
---|---|
Imports: | base/frameworks/broker, base/frameworks/netcontrol/main.bro, base/frameworks/netcontrol/plugin.bro |
Source File: | /scripts/base/frameworks/netcontrol/plugins/broker.bro |
NetControl::BrokerConfig : record |
This record specifies the configuration that is passed to NetControl::create_broker . |
NetControl::PluginState : record |
NetControl::create_broker : function |
Instantiates the broker plugin. |
NetControl::BrokerConfig
¶Type: |
|
---|
This record specifies the configuration that is passed to NetControl::create_broker
.
NetControl::broker_add_rule
¶Type: | event (id: count , r: NetControl::Rule ) |
---|
NetControl::broker_remove_rule
¶Type: | event (id: count , r: NetControl::Rule , reason: string ) |
---|
NetControl::broker_rule_added
¶Type: | event (id: count , r: NetControl::Rule , msg: string ) |
---|
NetControl::broker_rule_error
¶Type: | event (id: count , r: NetControl::Rule , msg: string ) |
---|
NetControl::broker_rule_exists
¶Type: | event (id: count , r: NetControl::Rule , msg: string ) |
---|
NetControl::broker_rule_removed
¶Type: | event (id: count , r: NetControl::Rule , msg: string ) |
---|
NetControl::broker_rule_timeout
¶Type: | event (id: count , r: NetControl::Rule , i: NetControl::FlowInfo ) |
---|
NetControl::create_broker
¶Type: | function (config: NetControl::BrokerConfig , can_expire: bool ) : NetControl::PluginState |
---|
Instantiates the broker plugin.