zeek/scripts/policy/frameworks/cluster/controller
Christian Kreibich ac40d5c5b2 Remove periodic pinging of controller by agents
This changes the agent-controller communication to remove the need for ongoing
pinging of the controller by agents not actively "in service". Instead, agents
now use the notify_agent_hello event to the controller to report only their
identity. The controller puts them into service via an agent_welcome_request/
response pair, and takes them out of service via agent_standby_request/response.

This removes the on_change handler from the set of agents that is ready for
service, because not every change to this set is now a suitable time to
potentially send out the configuration. We now invoke this check explicitly in
the two situations where it's warranted: when a agent reports ready for service,
and when we've received a new configuration.
2021-12-21 16:44:04 -08:00
..
__load__.zeek Introduce cluster controller and cluster agent scripting 2021-07-08 13:12:53 -07:00
api.zeek First uses of request state timeouts 2021-12-21 14:52:29 -08:00
boot.zeek Introduce cluster controller and cluster agent scripting 2021-07-08 13:12:53 -07:00
config.zeek First uses of request state timeouts 2021-12-21 14:52:29 -08:00
log.zeek Add missing debug() log function to log module's API 2021-12-21 14:52:28 -08:00
main.zeek Remove periodic pinging of controller by agents 2021-12-21 16:44:04 -08:00
request.zeek First uses of request state timeouts 2021-12-21 14:52:29 -08:00
types.zeek Additional infrastructure for printing types 2021-12-21 14:52:28 -08:00
util.zeek Add separate utility module for controller and agent 2021-12-21 14:52:28 -08:00