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

@ -14,7 +14,7 @@ redef exit_only_after_terminate = T;
global have_peer = F;
global did_init = F;
event bro_init()
event zeek_init()
{
suspend_processing();
}
@ -101,7 +101,7 @@ event die()
terminate();
}
event bro_init()
event zeek_init()
{
Broker::subscribe("bro/event/netcontroltest");
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));

View file

@ -15,7 +15,7 @@ redef exit_only_after_terminate = T;
global have_peer = F;
global did_init = F;
event bro_init()
event zeek_init()
{
suspend_processing();
}
@ -106,7 +106,7 @@ event die()
terminate();
}
event bro_init()
event zeek_init()
{
Broker::subscribe("bro/event/netcontroltest");
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));

View file

@ -26,7 +26,7 @@ redef Log::default_rotation_interval = 0secs;
@load base/frameworks/netcontrol
@if ( Cluster::local_node_type() == Cluster::WORKER )
event bro_init()
event zeek_init()
{
suspend_processing();
}

View file

@ -15,7 +15,7 @@ redef exit_only_after_terminate = T;
global have_peer = F;
global did_init = F;
event bro_init()
event zeek_init()
{
suspend_processing();
}
@ -90,7 +90,7 @@ event die()
terminate();
}
event bro_init()
event zeek_init()
{
Broker::subscribe("bro/event/netcontroltest");
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));