Merge remote-tracking branch 'origin/topic/seth/zeek_init'

* origin/topic/seth/zeek_init:
  Some more testing fixes.
  Update docs and tests for bro_(init|done) -> zeek_(init|done)
  Implement the zeek_init handler.
This commit is contained in:
Jon Siwek 2019-04-19 11:16:35 -07:00
commit a994be9eeb
628 changed files with 868 additions and 1082 deletions

View file

@ -12,7 +12,7 @@
module Control;
event bro_init() &priority=-10
event zeek_init() &priority=-10
{
Broker::subscribe(Control::topic_prefix + "/" + Broker::node_id());
Broker::auto_publish(Control::topic_prefix + "/id_value_response",

View file

@ -12,7 +12,7 @@
module Control;
# Do some sanity checking and rework the communication nodes.
event bro_init() &priority=5
event zeek_init() &priority=5
{
# We know that some command was given because this script wouldn't be
# loaded if there wasn't so we can feel free to throw an error here and

View file

@ -76,7 +76,7 @@ function shunt_filters()
PacketFilter::exclude("shunt_filters", filter);
}
event bro_init() &priority=5
event zeek_init() &priority=5
{
register_filter_plugin([
$func()={ return shunt_filters(); }

View file

@ -117,7 +117,7 @@ function update_vulnerable_sw()
event grab_vulnerable_versions(1);
}
event bro_init() &priority=3
event zeek_init() &priority=3
{
update_vulnerable_sw();
}