mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
GH-387: update Broker topic names to use "zeek/" prefix
This commit is contained in:
parent
c25520cf3f
commit
1ce0fcce49
35 changed files with 351 additions and 309 deletions
|
@ -161,9 +161,9 @@
|
|||
0.000000 MetaHookPost CallFunction(Cluster::is_enabled, <frame>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::is_enabled, <null>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::local_node_type, <null>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::register_pool, <frame>, ([topic=bro<...>/logger, node_type=Cluster::LOGGER, max_nodes=<uninitialized>, exclusive=F])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::register_pool, <frame>, ([topic=bro<...>/proxy, node_type=Cluster::PROXY, max_nodes=<uninitialized>, exclusive=F])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::register_pool, <frame>, ([topic=bro<...>/worker, node_type=Cluster::WORKER, max_nodes=<uninitialized>, exclusive=F])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::register_pool, <frame>, ([topic=zeek<...>/logger, node_type=Cluster::LOGGER, max_nodes=<uninitialized>, exclusive=F])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::register_pool, <frame>, ([topic=zeek<...>/proxy, node_type=Cluster::PROXY, max_nodes=<uninitialized>, exclusive=F])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Cluster::register_pool, <frame>, ([topic=zeek<...>/worker, node_type=Cluster::WORKER, max_nodes=<uninitialized>, exclusive=F])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Files::register_analyzer_add_callback, <frame>, (Files::ANALYZER_EXTRACT, FileExtract::on_add{ if (!FileExtract::args?$extract_filename) FileExtract::args$extract_filename = cat(extract-, FileExtract::f$last_active, -, FileExtract::f$source, -, FileExtract::f$id)FileExtract::f$info$extracted = FileExtract::args$extract_filenameFileExtract::args$extract_filename = build_path_compressed(FileExtract::prefix, FileExtract::args$extract_filename)FileExtract::f$info$extracted_cutoff = Fmkdir(FileExtract::prefix)})) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Files::register_for_mime_type, <frame>, (Files::ANALYZER_MD5, application/pkix-cert)) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Files::register_for_mime_type, <frame>, (Files::ANALYZER_MD5, application/x-x509-ca-cert)) -> <no result>
|
||||
|
@ -277,7 +277,7 @@
|
|||
0.000000 MetaHookPost CallFunction(Log::__create_stream, <frame>, (Weird::LOG, [columns=Weird::Info, ev=Weird::log_weird, path=weird])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__create_stream, <frame>, (X509::LOG, [columns=X509::Info, ev=X509::log_x509, path=x509])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__create_stream, <frame>, (mysql::LOG, [columns=MySQL::Info, ev=MySQL::log_mysql, path=mysql])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1555986109.036092, node=bro, filter=ip or not ip, init=T, success=T])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1559169206.982011, node=bro, filter=ip or not ip, init=T, success=T])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::add_default_filter, <frame>, (Broker::LOG)) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::add_default_filter, <frame>, (Cluster::LOG)) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::add_default_filter, <frame>, (Config::LOG)) -> <no result>
|
||||
|
@ -462,7 +462,7 @@
|
|||
0.000000 MetaHookPost CallFunction(Log::create_stream, <frame>, (Weird::LOG, [columns=Weird::Info, ev=Weird::log_weird, path=weird])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::create_stream, <frame>, (X509::LOG, [columns=X509::Info, ev=X509::log_x509, path=x509])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::create_stream, <frame>, (mysql::LOG, [columns=MySQL::Info, ev=MySQL::log_mysql, path=mysql])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1555986109.036092, node=bro, filter=ip or not ip, init=T, success=T])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1559169206.982011, node=bro, filter=ip or not ip, init=T, success=T])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(NetControl::check_plugins, <frame>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(NetControl::init, <null>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Notice::want_pp, <frame>, ()) -> <no result>
|
||||
|
@ -1064,9 +1064,9 @@
|
|||
0.000000 MetaHookPre CallFunction(Cluster::is_enabled, <frame>, ())
|
||||
0.000000 MetaHookPre CallFunction(Cluster::is_enabled, <null>, ())
|
||||
0.000000 MetaHookPre CallFunction(Cluster::local_node_type, <null>, ())
|
||||
0.000000 MetaHookPre CallFunction(Cluster::register_pool, <frame>, ([topic=bro<...>/logger, node_type=Cluster::LOGGER, max_nodes=<uninitialized>, exclusive=F]))
|
||||
0.000000 MetaHookPre CallFunction(Cluster::register_pool, <frame>, ([topic=bro<...>/proxy, node_type=Cluster::PROXY, max_nodes=<uninitialized>, exclusive=F]))
|
||||
0.000000 MetaHookPre CallFunction(Cluster::register_pool, <frame>, ([topic=bro<...>/worker, node_type=Cluster::WORKER, max_nodes=<uninitialized>, exclusive=F]))
|
||||
0.000000 MetaHookPre CallFunction(Cluster::register_pool, <frame>, ([topic=zeek<...>/logger, node_type=Cluster::LOGGER, max_nodes=<uninitialized>, exclusive=F]))
|
||||
0.000000 MetaHookPre CallFunction(Cluster::register_pool, <frame>, ([topic=zeek<...>/proxy, node_type=Cluster::PROXY, max_nodes=<uninitialized>, exclusive=F]))
|
||||
0.000000 MetaHookPre CallFunction(Cluster::register_pool, <frame>, ([topic=zeek<...>/worker, node_type=Cluster::WORKER, max_nodes=<uninitialized>, exclusive=F]))
|
||||
0.000000 MetaHookPre CallFunction(Files::register_analyzer_add_callback, <frame>, (Files::ANALYZER_EXTRACT, FileExtract::on_add{ if (!FileExtract::args?$extract_filename) FileExtract::args$extract_filename = cat(extract-, FileExtract::f$last_active, -, FileExtract::f$source, -, FileExtract::f$id)FileExtract::f$info$extracted = FileExtract::args$extract_filenameFileExtract::args$extract_filename = build_path_compressed(FileExtract::prefix, FileExtract::args$extract_filename)FileExtract::f$info$extracted_cutoff = Fmkdir(FileExtract::prefix)}))
|
||||
0.000000 MetaHookPre CallFunction(Files::register_for_mime_type, <frame>, (Files::ANALYZER_MD5, application/pkix-cert))
|
||||
0.000000 MetaHookPre CallFunction(Files::register_for_mime_type, <frame>, (Files::ANALYZER_MD5, application/x-x509-ca-cert))
|
||||
|
@ -1180,7 +1180,7 @@
|
|||
0.000000 MetaHookPre CallFunction(Log::__create_stream, <frame>, (Weird::LOG, [columns=Weird::Info, ev=Weird::log_weird, path=weird]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__create_stream, <frame>, (X509::LOG, [columns=X509::Info, ev=X509::log_x509, path=x509]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__create_stream, <frame>, (mysql::LOG, [columns=MySQL::Info, ev=MySQL::log_mysql, path=mysql]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1555986109.036092, node=bro, filter=ip or not ip, init=T, success=T]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1559169206.982011, node=bro, filter=ip or not ip, init=T, success=T]))
|
||||
0.000000 MetaHookPre CallFunction(Log::add_default_filter, <frame>, (Broker::LOG))
|
||||
0.000000 MetaHookPre CallFunction(Log::add_default_filter, <frame>, (Cluster::LOG))
|
||||
0.000000 MetaHookPre CallFunction(Log::add_default_filter, <frame>, (Config::LOG))
|
||||
|
@ -1365,7 +1365,7 @@
|
|||
0.000000 MetaHookPre CallFunction(Log::create_stream, <frame>, (Weird::LOG, [columns=Weird::Info, ev=Weird::log_weird, path=weird]))
|
||||
0.000000 MetaHookPre CallFunction(Log::create_stream, <frame>, (X509::LOG, [columns=X509::Info, ev=X509::log_x509, path=x509]))
|
||||
0.000000 MetaHookPre CallFunction(Log::create_stream, <frame>, (mysql::LOG, [columns=MySQL::Info, ev=MySQL::log_mysql, path=mysql]))
|
||||
0.000000 MetaHookPre CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1555986109.036092, node=bro, filter=ip or not ip, init=T, success=T]))
|
||||
0.000000 MetaHookPre CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1559169206.982011, node=bro, filter=ip or not ip, init=T, success=T]))
|
||||
0.000000 MetaHookPre CallFunction(NetControl::check_plugins, <frame>, ())
|
||||
0.000000 MetaHookPre CallFunction(NetControl::init, <null>, ())
|
||||
0.000000 MetaHookPre CallFunction(Notice::want_pp, <frame>, ())
|
||||
|
@ -1966,9 +1966,9 @@
|
|||
0.000000 | HookCallFunction Analyzer::register_for_ports(Analyzer::ANALYZER_XMPP, {5222<...>/tcp})
|
||||
0.000000 | HookCallFunction Cluster::is_enabled()
|
||||
0.000000 | HookCallFunction Cluster::local_node_type()
|
||||
0.000000 | HookCallFunction Cluster::register_pool([topic=bro<...>/logger, node_type=Cluster::LOGGER, max_nodes=<uninitialized>, exclusive=F])
|
||||
0.000000 | HookCallFunction Cluster::register_pool([topic=bro<...>/proxy, node_type=Cluster::PROXY, max_nodes=<uninitialized>, exclusive=F])
|
||||
0.000000 | HookCallFunction Cluster::register_pool([topic=bro<...>/worker, node_type=Cluster::WORKER, max_nodes=<uninitialized>, exclusive=F])
|
||||
0.000000 | HookCallFunction Cluster::register_pool([topic=zeek<...>/logger, node_type=Cluster::LOGGER, max_nodes=<uninitialized>, exclusive=F])
|
||||
0.000000 | HookCallFunction Cluster::register_pool([topic=zeek<...>/proxy, node_type=Cluster::PROXY, max_nodes=<uninitialized>, exclusive=F])
|
||||
0.000000 | HookCallFunction Cluster::register_pool([topic=zeek<...>/worker, node_type=Cluster::WORKER, max_nodes=<uninitialized>, exclusive=F])
|
||||
0.000000 | HookCallFunction Files::register_analyzer_add_callback(Files::ANALYZER_EXTRACT, FileExtract::on_add{ if (!FileExtract::args?$extract_filename) FileExtract::args$extract_filename = cat(extract-, FileExtract::f$last_active, -, FileExtract::f$source, -, FileExtract::f$id)FileExtract::f$info$extracted = FileExtract::args$extract_filenameFileExtract::args$extract_filename = build_path_compressed(FileExtract::prefix, FileExtract::args$extract_filename)FileExtract::f$info$extracted_cutoff = Fmkdir(FileExtract::prefix)})
|
||||
0.000000 | HookCallFunction Files::register_for_mime_type(Files::ANALYZER_MD5, application/pkix-cert)
|
||||
0.000000 | HookCallFunction Files::register_for_mime_type(Files::ANALYZER_MD5, application/x-x509-ca-cert)
|
||||
|
@ -2082,7 +2082,7 @@
|
|||
0.000000 | HookCallFunction Log::__create_stream(Weird::LOG, [columns=Weird::Info, ev=Weird::log_weird, path=weird])
|
||||
0.000000 | HookCallFunction Log::__create_stream(X509::LOG, [columns=X509::Info, ev=X509::log_x509, path=x509])
|
||||
0.000000 | HookCallFunction Log::__create_stream(mysql::LOG, [columns=MySQL::Info, ev=MySQL::log_mysql, path=mysql])
|
||||
0.000000 | HookCallFunction Log::__write(PacketFilter::LOG, [ts=1555986109.036092, node=bro, filter=ip or not ip, init=T, success=T])
|
||||
0.000000 | HookCallFunction Log::__write(PacketFilter::LOG, [ts=1559169206.982011, node=bro, filter=ip or not ip, init=T, success=T])
|
||||
0.000000 | HookCallFunction Log::add_default_filter(Broker::LOG)
|
||||
0.000000 | HookCallFunction Log::add_default_filter(Cluster::LOG)
|
||||
0.000000 | HookCallFunction Log::add_default_filter(Config::LOG)
|
||||
|
@ -2267,7 +2267,7 @@
|
|||
0.000000 | HookCallFunction Log::create_stream(Weird::LOG, [columns=Weird::Info, ev=Weird::log_weird, path=weird])
|
||||
0.000000 | HookCallFunction Log::create_stream(X509::LOG, [columns=X509::Info, ev=X509::log_x509, path=x509])
|
||||
0.000000 | HookCallFunction Log::create_stream(mysql::LOG, [columns=MySQL::Info, ev=MySQL::log_mysql, path=mysql])
|
||||
0.000000 | HookCallFunction Log::write(PacketFilter::LOG, [ts=1555986109.036092, node=bro, filter=ip or not ip, init=T, success=T])
|
||||
0.000000 | HookCallFunction Log::write(PacketFilter::LOG, [ts=1559169206.982011, node=bro, filter=ip or not ip, init=T, success=T])
|
||||
0.000000 | HookCallFunction NetControl::check_plugins()
|
||||
0.000000 | HookCallFunction NetControl::init()
|
||||
0.000000 | HookCallFunction Notice::want_pp()
|
||||
|
@ -2702,7 +2702,7 @@
|
|||
0.000000 | HookLoadFile base<...>/x509
|
||||
0.000000 | HookLoadFile base<...>/xmpp
|
||||
0.000000 | HookLogInit packet_filter 1/1 {ts (time), node (string), filter (string), init (bool), success (bool)}
|
||||
0.000000 | HookLogWrite packet_filter [ts=1555986109.036092, node=bro, filter=ip or not ip, init=T, success=T]
|
||||
0.000000 | HookLogWrite packet_filter [ts=1559169206.982011, node=bro, filter=ip or not ip, init=T, success=T]
|
||||
0.000000 | HookQueueEvent NetControl::init()
|
||||
0.000000 | HookQueueEvent filter_change_tracking()
|
||||
0.000000 | HookQueueEvent zeek_init()
|
||||
|
|
|
@ -1,101 +1,101 @@
|
|||
1st stuff
|
||||
hrw, 0, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-2
|
||||
hrw, 1, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-2
|
||||
hrw, 2, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-2
|
||||
hrw, 3, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-2
|
||||
hrw, 13, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
hrw, 0, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-2
|
||||
hrw, 1, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-2
|
||||
hrw, 2, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-2
|
||||
hrw, 3, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-2
|
||||
hrw, 13, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
2nd stuff
|
||||
hrw, 0,
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1,
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2,
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3,
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13,
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37,
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42,
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101,
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
hrw, 0,
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1,
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2,
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3,
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13,
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37,
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42,
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101,
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
no stuff
|
||||
hrw, 0,
|
||||
hrw (custom pool), 0,
|
||||
|
|
|
@ -1,101 +1,101 @@
|
|||
1st stuff
|
||||
hrw, 0, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-1
|
||||
hrw, 1, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-1
|
||||
hrw, 2, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-1
|
||||
hrw, 3, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-1
|
||||
hrw, 13, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
hrw, 0, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-1
|
||||
hrw, 1, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-1
|
||||
hrw, 2, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-1
|
||||
hrw, 3, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-1
|
||||
hrw, 13, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-1
|
||||
hrw, 1, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-1
|
||||
hrw, 2, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-1
|
||||
hrw, 3, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-1
|
||||
hrw, 13, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-1
|
||||
hrw, 1, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-1
|
||||
hrw, 2, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-1
|
||||
hrw, 3, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-1
|
||||
hrw, 13, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-1
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
2nd stuff
|
||||
hrw, 0,
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1,
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2,
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3,
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13,
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37,
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42,
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101,
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
rr,
|
||||
rr (custom pool), bro/cluster/node/proxy-2
|
||||
rr (custom pool), zeek/cluster/node/proxy-2
|
||||
hrw, 0,
|
||||
hrw (custom pool), 0, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1,
|
||||
hrw (custom pool), 1, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2,
|
||||
hrw (custom pool), 2, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3,
|
||||
hrw (custom pool), 3, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13,
|
||||
hrw (custom pool), 13, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37,
|
||||
hrw (custom pool), 37, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42,
|
||||
hrw (custom pool), 42, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101,
|
||||
hrw (custom pool), 101, bro/cluster/node/proxy-2
|
||||
hrw (custom pool), 101, zeek/cluster/node/proxy-2
|
||||
no stuff
|
||||
hrw, 0,
|
||||
hrw (custom pool), 0,
|
||||
|
|
|
@ -1,53 +1,53 @@
|
|||
1st stuff
|
||||
hrw, 0, bro/cluster/node/proxy-1
|
||||
hrw, 1, bro/cluster/node/proxy-1
|
||||
hrw, 2, bro/cluster/node/proxy-1
|
||||
hrw, 3, bro/cluster/node/proxy-1
|
||||
hrw, 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-1
|
||||
rr, bro/cluster/node/proxy-2
|
||||
hrw, 0, bro/cluster/node/proxy-1
|
||||
hrw, 1, bro/cluster/node/proxy-1
|
||||
hrw, 2, bro/cluster/node/proxy-1
|
||||
hrw, 3, bro/cluster/node/proxy-1
|
||||
hrw, 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-1
|
||||
hrw, 1, zeek/cluster/node/proxy-1
|
||||
hrw, 2, zeek/cluster/node/proxy-1
|
||||
hrw, 3, zeek/cluster/node/proxy-1
|
||||
hrw, 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-1
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-1
|
||||
hrw, 1, zeek/cluster/node/proxy-1
|
||||
hrw, 2, zeek/cluster/node/proxy-1
|
||||
hrw, 3, zeek/cluster/node/proxy-1
|
||||
hrw, 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-2
|
||||
2nd stuff
|
||||
hrw, 0, bro/cluster/node/proxy-2
|
||||
hrw, 1, bro/cluster/node/proxy-2
|
||||
hrw, 2, bro/cluster/node/proxy-2
|
||||
hrw, 3, bro/cluster/node/proxy-2
|
||||
hrw, 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
rr, bro/cluster/node/proxy-2
|
||||
hrw, 0, bro/cluster/node/proxy-2
|
||||
hrw, 1, bro/cluster/node/proxy-2
|
||||
hrw, 2, bro/cluster/node/proxy-2
|
||||
hrw, 3, bro/cluster/node/proxy-2
|
||||
hrw, 13, bro/cluster/node/proxy-2
|
||||
hrw, 37, bro/cluster/node/proxy-2
|
||||
hrw, 42, bro/cluster/node/proxy-2
|
||||
hrw, 101, bro/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
rr, zeek/cluster/node/proxy-2
|
||||
hrw, 0, zeek/cluster/node/proxy-2
|
||||
hrw, 1, zeek/cluster/node/proxy-2
|
||||
hrw, 2, zeek/cluster/node/proxy-2
|
||||
hrw, 3, zeek/cluster/node/proxy-2
|
||||
hrw, 13, zeek/cluster/node/proxy-2
|
||||
hrw, 37, zeek/cluster/node/proxy-2
|
||||
hrw, 42, zeek/cluster/node/proxy-2
|
||||
hrw, 101, zeek/cluster/node/proxy-2
|
||||
no stuff
|
||||
hrw, 0,
|
||||
hrw, 1,
|
||||
|
|
|
@ -6,20 +6,20 @@
|
|||
#open 2017-04-07-17-26-05
|
||||
#fields ts rule_id category cmd state action target entity_type entity mod msg priority expire location plugin
|
||||
#types time string enum string enum string enum string string string string int interval string string
|
||||
0.000000 - NetControl::MESSAGE - - - - - - - activating plugin with priority 0 - - - Acld-bro/event/netcontroltest
|
||||
0.000000 - NetControl::MESSAGE - - - - - - - activating plugin with priority 0 - - - Acld-zeek/event/netcontroltest
|
||||
0.000000 - NetControl::MESSAGE - - - - - - - waiting for plugins to initialize - - - -
|
||||
1491585965.002956 - NetControl::MESSAGE - - - - - - - activation finished - - - Acld-bro/event/netcontroltest
|
||||
1491585965.002956 - NetControl::MESSAGE - - - - - - - activation finished - - - Acld-zeek/event/netcontroltest
|
||||
1491585965.002956 - NetControl::MESSAGE - - - - - - - plugin initialization done - - - -
|
||||
1491585965.027155 2 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - - 0 36000.000000 here Acld-bro/event/netcontroltest
|
||||
1491585965.027155 3 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - - 0 36000.000000 there Acld-bro/event/netcontroltest
|
||||
1491585965.027155 4 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - - 0 36000.000000 - Acld-bro/event/netcontroltest
|
||||
1491585965.027706 2 NetControl::RULE ADD NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - blockhosthost 0 36000.000000 here Acld-bro/event/netcontroltest
|
||||
1491585965.027706 2 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - - 0 36000.000000 here Acld-bro/event/netcontroltest
|
||||
1491585965.027706 3 NetControl::RULE ADD NetControl::EXISTS NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - droptcpport 0 36000.000000 there Acld-bro/event/netcontroltest
|
||||
1491585965.027706 3 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - - 0 36000.000000 there Acld-bro/event/netcontroltest
|
||||
1491585965.027706 4 NetControl::RULE ADD NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - drop 0 36000.000000 - Acld-bro/event/netcontroltest
|
||||
1491585965.027706 4 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - - 0 36000.000000 - Acld-bro/event/netcontroltest
|
||||
1491585965.027706 2 NetControl::ERROR - - NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - restorehosthost 0 36000.000000 here Acld-bro/event/netcontroltest
|
||||
1491585965.027706 3 NetControl::RULE REMOVE NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - restoretcpport 0 36000.000000 there Acld-bro/event/netcontroltest
|
||||
1491585965.027706 4 NetControl::RULE REMOVE NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - restore 0 36000.000000 - Acld-bro/event/netcontroltest
|
||||
1491585965.027155 2 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - - 0 36000.000000 here Acld-zeek/event/netcontroltest
|
||||
1491585965.027155 3 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - - 0 36000.000000 there Acld-zeek/event/netcontroltest
|
||||
1491585965.027155 4 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - - 0 36000.000000 - Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 2 NetControl::RULE ADD NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - blockhosthost 0 36000.000000 here Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 2 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - - 0 36000.000000 here Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 3 NetControl::RULE ADD NetControl::EXISTS NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - droptcpport 0 36000.000000 there Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 3 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - - 0 36000.000000 there Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 4 NetControl::RULE ADD NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - drop 0 36000.000000 - Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 4 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - - 0 36000.000000 - Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 2 NetControl::ERROR - - NetControl::DROP NetControl::FORWARD NetControl::FLOW 192.168.18.50/32/*->74.125.239.97/32/* - restorehosthost 0 36000.000000 here Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 3 NetControl::RULE REMOVE NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::FLOW */*->*/443 - restoretcpport 0 36000.000000 there Acld-zeek/event/netcontroltest
|
||||
1491585965.027706 4 NetControl::RULE REMOVE NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 192.168.18.50/32 - restore 0 36000.000000 - Acld-zeek/event/netcontroltest
|
||||
#close 2017-04-07-17-26-05
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
#open 2016-08-05-17-34-55
|
||||
#fields ts rule_id category cmd state action target entity_type entity mod msg priority expire location plugin
|
||||
#types time string enum string enum string enum string string string string int interval string string
|
||||
0.000000 - NetControl::MESSAGE - - - - - - - activating plugin with priority 0 - - - Broker-bro/event/netcontroltest
|
||||
0.000000 - NetControl::MESSAGE - - - - - - - activating plugin with priority 0 - - - Broker-zeek/event/netcontroltest
|
||||
0.000000 - NetControl::MESSAGE - - - - - - - waiting for plugins to initialize - - - -
|
||||
1470418495.661396 - NetControl::MESSAGE - - - - - - - activation finished - - - Broker-bro/event/netcontroltest
|
||||
1470418495.661396 - NetControl::MESSAGE - - - - - - - activation finished - - - Broker-zeek/event/netcontroltest
|
||||
1470418495.661396 - NetControl::MESSAGE - - - - - - - plugin initialization done - - - -
|
||||
1470418496.045332 2 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::MONITOR NetControl::FLOW 10.10.1.4/32/1470->74.53.140.153/32/25 - - 0 36000.000000 - Broker-bro/event/netcontroltest
|
||||
1470418496.045332 3 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - - 0 36000.000000 - Broker-bro/event/netcontroltest
|
||||
1470418496.045364 2 NetControl::RULE ADD NetControl::EXISTS NetControl::DROP NetControl::MONITOR NetControl::FLOW 10.10.1.4/32/1470->74.53.140.153/32/25 - - 0 36000.000000 - Broker-bro/event/netcontroltest
|
||||
1470418496.045364 2 NetControl::RULE EXPIRE NetControl::TIMEOUT NetControl::DROP NetControl::MONITOR NetControl::FLOW 10.10.1.4/32/1470->74.53.140.153/32/25 - - 0 36000.000000 - Broker-bro/event/netcontroltest
|
||||
1470418496.045364 3 NetControl::RULE ADD NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - - 0 36000.000000 - Broker-bro/event/netcontroltest
|
||||
1470418496.045364 3 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - removing 0 36000.000000 - Broker-bro/event/netcontroltest
|
||||
1470418496.045364 3 NetControl::RULE REMOVE NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - - 0 36000.000000 - Broker-bro/event/netcontroltest
|
||||
1470418496.045332 2 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::MONITOR NetControl::FLOW 10.10.1.4/32/1470->74.53.140.153/32/25 - - 0 36000.000000 - Broker-zeek/event/netcontroltest
|
||||
1470418496.045332 3 NetControl::RULE ADD NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - - 0 36000.000000 - Broker-zeek/event/netcontroltest
|
||||
1470418496.045364 2 NetControl::RULE ADD NetControl::EXISTS NetControl::DROP NetControl::MONITOR NetControl::FLOW 10.10.1.4/32/1470->74.53.140.153/32/25 - - 0 36000.000000 - Broker-zeek/event/netcontroltest
|
||||
1470418496.045364 2 NetControl::RULE EXPIRE NetControl::TIMEOUT NetControl::DROP NetControl::MONITOR NetControl::FLOW 10.10.1.4/32/1470->74.53.140.153/32/25 - - 0 36000.000000 - Broker-zeek/event/netcontroltest
|
||||
1470418496.045364 3 NetControl::RULE ADD NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - - 0 36000.000000 - Broker-zeek/event/netcontroltest
|
||||
1470418496.045364 3 NetControl::RULE REMOVE NetControl::REQUESTED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - removing 0 36000.000000 - Broker-zeek/event/netcontroltest
|
||||
1470418496.045364 3 NetControl::RULE REMOVE NetControl::SUCCEEDED NetControl::DROP NetControl::FORWARD NetControl::ADDRESS 10.10.1.4/32 - - 0 36000.000000 - Broker-zeek/event/netcontroltest
|
||||
#close 2016-08-05-17-34-56
|
||||
|
|
|
@ -18,8 +18,8 @@ global ping: event(msg: string, c: count);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::auto_publish("bro/event/my_topic", ping);
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::auto_publish("zeek/event/my_topic", ping);
|
||||
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -67,8 +67,8 @@ event delayed_listen()
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::auto_publish("bro/event/my_topic", pong);
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::auto_publish("zeek/event/my_topic", pong);
|
||||
schedule 5secs { delayed_listen() };
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
redef exit_only_after_terminate = T;
|
||||
|
||||
global peers = 0;
|
||||
const test_topic = "bro/test/my_topic";
|
||||
const test_topic = "zeek/test/my_topic";
|
||||
|
||||
event my_event(i: count)
|
||||
{
|
||||
|
@ -52,7 +52,7 @@ event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
|||
|
||||
redef exit_only_after_terminate = T;
|
||||
|
||||
const test_topic = "bro/test/my_topic";
|
||||
const test_topic = "zeek/test/my_topic";
|
||||
|
||||
event my_event(i: count)
|
||||
{
|
||||
|
|
|
@ -29,8 +29,8 @@ event Broker::error(code: Broker::ErrorCode, msg: string)
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
|
||||
schedule 2secs { do_something() };
|
||||
schedule 4secs { do_terminate() };
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ global ping: event(msg: string, c: count);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
print "is_remote should be F, and is", is_remote_event();
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ function send_event()
|
|||
{
|
||||
++event_count;
|
||||
local e = Broker::make_event(ping, "my-message", event_count);
|
||||
Broker::publish("bro/event/my_topic", e);
|
||||
Broker::publish("zeek/event/my_topic", e);
|
||||
}
|
||||
|
||||
event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
||||
|
@ -66,7 +66,7 @@ global pong: event(msg: string, c: count);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -93,7 +93,7 @@ event ping(msg: string, n: count)
|
|||
}
|
||||
|
||||
local e = Broker::make_event(pong, msg, n);
|
||||
Broker::publish("bro/event/my_topic", e);
|
||||
Broker::publish("zeek/event/my_topic", e);
|
||||
}
|
||||
|
||||
@TEST-END-FILE
|
||||
|
|
|
@ -17,7 +17,7 @@ global ping: event(msg: string, c: any);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
print "is_remote should be F, and is", is_remote_event();
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ function send_event()
|
|||
{
|
||||
++event_count;
|
||||
local e = Broker::make_event(ping, "my-message", event_count);
|
||||
Broker::publish("bro/event/my_topic", e);
|
||||
Broker::publish("zeek/event/my_topic", e);
|
||||
}
|
||||
|
||||
event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
||||
|
@ -69,7 +69,7 @@ global pong: event(msg: string, c: any);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -98,10 +98,10 @@ event ping(msg: string, n: any)
|
|||
}
|
||||
|
||||
if ( (n as count) % 2 == 0 )
|
||||
Broker::publish("bro/event/my_topic", pong, msg, n as count);
|
||||
Broker::publish("zeek/event/my_topic", pong, msg, n as count);
|
||||
else
|
||||
# internals should not wrap n into another Broker::Data record
|
||||
Broker::publish("bro/event/my_topic", pong, msg, n);
|
||||
Broker::publish("zeek/event/my_topic", pong, msg, n);
|
||||
}
|
||||
|
||||
@TEST-END-FILE
|
||||
|
|
|
@ -17,8 +17,8 @@ global ping: event(msg: string, c: count);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::auto_publish("bro/event/my_topic", ping);
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::auto_publish("zeek/event/my_topic", ping);
|
||||
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -61,8 +61,8 @@ global pong: event(msg: string, c: count);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::auto_publish("bro/event/my_topic", pong);
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::auto_publish("zeek/event/my_topic", pong);
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ global ping: event(msg: string, c: count);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -184,7 +184,7 @@ function send_event()
|
|||
{
|
||||
++event_count;
|
||||
local e = Broker::make_event(ping, "my-message", event_count);
|
||||
Broker::publish("bro/event/my_topic", e);
|
||||
Broker::publish("zeek/event/my_topic", e);
|
||||
}
|
||||
|
||||
event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
||||
|
@ -227,7 +227,7 @@ global pong: event(msg: string, c: count);
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -253,7 +253,7 @@ event ping(msg: string, n: count)
|
|||
}
|
||||
|
||||
local e = Broker::make_event(pong, msg, n);
|
||||
Broker::publish("bro/event/my_topic", e);
|
||||
Broker::publish("zeek/event/my_topic", e);
|
||||
}
|
||||
|
||||
@TEST-END-FILE
|
||||
|
|
|
@ -24,7 +24,7 @@ event Broker::peer_lost(endpoint: Broker::EndpointInfo, msg: string)
|
|||
event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
||||
{
|
||||
print "peer added";
|
||||
Broker::publish_id("bro/ids/test", "test_var");
|
||||
Broker::publish_id("zeek/ids/test", "test_var");
|
||||
}
|
||||
|
||||
@TEST-END-FILE
|
||||
|
@ -47,7 +47,7 @@ event check_var()
|
|||
event zeek_init()
|
||||
{
|
||||
print "intial val", test_var;
|
||||
Broker::subscribe("bro/ids");
|
||||
Broker::subscribe("zeek/ids");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ event Broker::peer_lost(endpoint: Broker::EndpointInfo, msg: string)
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/");
|
||||
Broker::subscribe("zeek/");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ event Broker::peer_lost(endpoint: Broker::EndpointInfo, msg: string)
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/");
|
||||
Broker::subscribe("zeek/");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ event zeek_init() &priority=5
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/");
|
||||
Broker::subscribe("zeek/");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -123,7 +123,7 @@ event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
|||
]);
|
||||
|
||||
local e = Broker::make_event(quit_receiver);
|
||||
Broker::publish("bro/", e);
|
||||
Broker::publish("zeek/", e);
|
||||
schedule 1sec { quit_sender() };
|
||||
}
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ event do_terminate()
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
schedule 5secs { do_terminate() };
|
||||
}
|
||||
|
|
|
@ -50,8 +50,8 @@ event inserted()
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::auto_publish("bro/events", done);
|
||||
Broker::subscribe("bro/");
|
||||
Broker::auto_publish("zeek/events", done);
|
||||
Broker::subscribe("zeek/");
|
||||
|
||||
h = Broker::create_master("test");
|
||||
Broker::put(h, "one", "110");
|
||||
|
@ -131,8 +131,8 @@ event lookup(stage: count)
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::auto_publish("bro/events", inserted);
|
||||
Broker::subscribe("bro/");
|
||||
Broker::auto_publish("zeek/events", inserted);
|
||||
Broker::subscribe("zeek/");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ event unpeer(endpoint: Broker::EndpointInfo)
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::auto_publish("bro/event/my_topic", print_something);
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::auto_publish("zeek/event/my_topic", print_something);
|
||||
Broker::peer("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ event print_something(i: int)
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/my_topic");
|
||||
Broker::subscribe("zeek/event/my_topic");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
schedule 10secs { do_terminate() };
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ redef Cluster::nodes = {
|
|||
|
||||
global my_pool_spec: Cluster::PoolSpec =
|
||||
Cluster::PoolSpec(
|
||||
$topic = "bro/cluster/pool/my_pool",
|
||||
$topic = "zeek/cluster/pool/my_pool",
|
||||
$node_type = Cluster::PROXY
|
||||
);
|
||||
|
||||
|
@ -30,7 +30,7 @@ global my_pool: Cluster::Pool;
|
|||
|
||||
redef Cluster::proxy_pool_spec =
|
||||
Cluster::PoolSpec(
|
||||
$topic = "bro/cluster/pool/proxy",
|
||||
$topic = "zeek/cluster/pool/proxy",
|
||||
$node_type = Cluster::PROXY,
|
||||
$exclusive = T,
|
||||
$max_nodes = 1
|
||||
|
|
|
@ -22,7 +22,7 @@ redef Cluster::nodes = {
|
|||
|
||||
global my_pool_spec: Cluster::PoolSpec =
|
||||
Cluster::PoolSpec(
|
||||
$topic = "bro/cluster/pool/my_pool",
|
||||
$topic = "zeek/cluster/pool/my_pool",
|
||||
$node_type = Cluster::PROXY
|
||||
);
|
||||
|
||||
|
@ -30,7 +30,7 @@ global my_pool: Cluster::Pool;
|
|||
|
||||
redef Cluster::proxy_pool_spec =
|
||||
Cluster::PoolSpec(
|
||||
$topic = "bro/cluster/pool/proxy",
|
||||
$topic = "zeek/cluster/pool/proxy",
|
||||
$node_type = Cluster::PROXY,
|
||||
$exclusive = F,
|
||||
$max_nodes = 1
|
||||
|
|
|
@ -21,7 +21,7 @@ event zeek_init()
|
|||
|
||||
event NetControl::init()
|
||||
{
|
||||
local netcontrol_acld = NetControl::create_acld(NetControl::AcldConfig($acld_host=127.0.0.1, $acld_port=to_port(getenv("BROKER_PORT")), $acld_topic="bro/event/netcontroltest"));
|
||||
local netcontrol_acld = NetControl::create_acld(NetControl::AcldConfig($acld_host=127.0.0.1, $acld_port=to_port(getenv("BROKER_PORT")), $acld_topic="zeek/event/netcontroltest"));
|
||||
NetControl::activate(netcontrol_acld, 0);
|
||||
}
|
||||
|
||||
|
@ -103,7 +103,7 @@ event die()
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/netcontroltest");
|
||||
Broker::subscribe("zeek/event/netcontroltest");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -116,14 +116,14 @@ event NetControl::acld_add_rule(id: count, r: NetControl::Rule, ar: NetControl::
|
|||
{
|
||||
print "add_rule", id, r$entity, r$ty, ar;
|
||||
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::acld_rule_added, id, r, ar$command);
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::acld_rule_added, id, r, ar$command);
|
||||
}
|
||||
|
||||
event NetControl::acld_remove_rule(id: count, r: NetControl::Rule, ar: NetControl::AclRule)
|
||||
{
|
||||
print "remove_rule", id, r$entity, r$ty, ar;
|
||||
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::acld_rule_removed, id, r, ar$command);
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::acld_rule_removed, id, r, ar$command);
|
||||
|
||||
if ( r$cid == 4 )
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ event zeek_init()
|
|||
|
||||
event NetControl::init()
|
||||
{
|
||||
local netcontrol_acld = NetControl::create_acld(NetControl::AcldConfig($acld_host=127.0.0.1, $acld_port=to_port(getenv("BROKER_PORT")), $acld_topic="bro/event/netcontroltest"));
|
||||
local netcontrol_acld = NetControl::create_acld(NetControl::AcldConfig($acld_host=127.0.0.1, $acld_port=to_port(getenv("BROKER_PORT")), $acld_topic="zeek/event/netcontroltest"));
|
||||
NetControl::activate(netcontrol_acld, 0);
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ event die()
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/netcontroltest");
|
||||
Broker::subscribe("zeek/event/netcontroltest");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -122,9 +122,9 @@ event NetControl::acld_add_rule(id: count, r: NetControl::Rule, ar: NetControl::
|
|||
print "add_rule", id, r$entity, r$ty, ar;
|
||||
|
||||
if ( r$cid != 3 )
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::acld_rule_added, id, r, ar$command);
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::acld_rule_added, id, r, ar$command);
|
||||
else
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::acld_rule_exists, id, r, ar$command);
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::acld_rule_exists, id, r, ar$command);
|
||||
}
|
||||
|
||||
event NetControl::acld_remove_rule(id: count, r: NetControl::Rule, ar: NetControl::AclRule)
|
||||
|
@ -132,9 +132,9 @@ event NetControl::acld_remove_rule(id: count, r: NetControl::Rule, ar: NetContro
|
|||
print "remove_rule", id, r$entity, r$ty, ar;
|
||||
|
||||
if ( r$cid != 2 )
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::acld_rule_removed, id, r, ar$command);
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::acld_rule_removed, id, r, ar$command);
|
||||
else
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::acld_rule_error, id, r, ar$command);
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::acld_rule_error, id, r, ar$command);
|
||||
|
||||
if ( r$cid == 4 )
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ event zeek_init()
|
|||
|
||||
event NetControl::init()
|
||||
{
|
||||
local netcontrol_broker = NetControl::create_broker(NetControl::BrokerConfig($host=127.0.0.1, $bport=to_port(getenv("BROKER_PORT")), $topic="bro/event/netcontroltest"), T);
|
||||
local netcontrol_broker = NetControl::create_broker(NetControl::BrokerConfig($host=127.0.0.1, $bport=to_port(getenv("BROKER_PORT")), $topic="zeek/event/netcontroltest"), T);
|
||||
NetControl::activate(netcontrol_broker, 0);
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@ event die()
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/event/netcontroltest");
|
||||
Broker::subscribe("zeek/event/netcontroltest");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -106,19 +106,19 @@ event NetControl::broker_add_rule(id: count, r: NetControl::Rule)
|
|||
print "add_rule", id, r$entity, r$ty;
|
||||
|
||||
if ( r$cid == 3 )
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::broker_rule_added, id, r, "");
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::broker_rule_added, id, r, "");
|
||||
if ( r$cid == 2 )
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::broker_rule_exists, id, r, "");
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::broker_rule_exists, id, r, "");
|
||||
|
||||
if ( r$cid == 2 )
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::broker_rule_timeout, id, r, NetControl::FlowInfo());
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::broker_rule_timeout, id, r, NetControl::FlowInfo());
|
||||
}
|
||||
|
||||
event NetControl::broker_remove_rule(id: count, r: NetControl::Rule, reason: string)
|
||||
{
|
||||
print "remove_rule", id, r$entity, r$ty, reason;
|
||||
|
||||
Broker::publish("bro/event/netcontroltest", NetControl::broker_rule_removed, id, r, "");
|
||||
Broker::publish("zeek/event/netcontroltest", NetControl::broker_rule_removed, id, r, "");
|
||||
|
||||
if ( r$cid == 3 )
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ global of_controller: OpenFlow::Controller;
|
|||
event zeek_init()
|
||||
{
|
||||
suspend_processing();
|
||||
of_controller = OpenFlow::broker_new("broker1", 127.0.0.1, to_port(getenv("BROKER_PORT")), "bro/openflow", 42);
|
||||
of_controller = OpenFlow::broker_new("broker1", 127.0.0.1, to_port(getenv("BROKER_PORT")), "zeek/openflow", 42);
|
||||
}
|
||||
|
||||
event Broker::peer_added(endpoint: Broker::EndpointInfo, msg: string)
|
||||
|
@ -88,7 +88,7 @@ redef exit_only_after_terminate = T;
|
|||
|
||||
event zeek_init()
|
||||
{
|
||||
Broker::subscribe("bro/openflow");
|
||||
Broker::subscribe("zeek/openflow");
|
||||
Broker::listen("127.0.0.1", to_port(getenv("BROKER_PORT")));
|
||||
}
|
||||
|
||||
|
@ -105,8 +105,8 @@ event Broker::peer_lost(endpoint: Broker::EndpointInfo, msg: string)
|
|||
event OpenFlow::broker_flow_mod(name: string, dpid: count, match: OpenFlow::ofp_match, flow_mod: OpenFlow::ofp_flow_mod)
|
||||
{
|
||||
print "got flow_mod", dpid, match, flow_mod;
|
||||
Broker::publish("bro/openflow", OpenFlow::flow_mod_success, name, match, flow_mod, "");
|
||||
Broker::publish("bro/openflow", OpenFlow::flow_mod_failure, name, match, flow_mod, "");
|
||||
Broker::publish("zeek/openflow", OpenFlow::flow_mod_success, name, match, flow_mod, "");
|
||||
Broker::publish("zeek/openflow", OpenFlow::flow_mod_failure, name, match, flow_mod, "");
|
||||
}
|
||||
|
||||
event OpenFlow::broker_flow_clear(name: string, dpid: count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue