mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00

- Control framework is for runtime control of Bro instances. It was extracted from BroControl and made more generic. - Tests for cluster frameworks and control framework. - Small fix for btest.cfg - Fixed a bug in the cluster framework that was causing things to break.
11 lines
588 B
Text
11 lines
588 B
Text
# @TEST-EXEC: btest-bg-run controllee BROPATH=$BROPATH:.. bro %INPUT frameworks/control/controllee Communication::listen_port_clear=65530/tcp
|
|
# @TEST-EXEC: btest-bg-run controller BROPATH=$BROPATH:.. bro %INPUT frameworks/control/controller Control::host=127.0.0.1 Control::host_port=65530/tcp Control::cmd=shutdown
|
|
# @TEST-EXEC: btest-bg-wait 1
|
|
|
|
@load frameworks/control
|
|
@load frameworks/communication
|
|
|
|
redef Communication::nodes = {
|
|
# We're waiting for connections from this host for control.
|
|
["control"] = [$host=127.0.0.1, $class="control", $events=Control::controller_events],
|
|
};
|