mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/broker-listen-env'
BIT-1935 #merged * origin/topic/jsiwek/broker-listen-env: Allow BRO_DEFAULT_LISTEN_ADDRESS to control broker listen address
This commit is contained in:
commit
554e8cc73d
13 changed files with 90 additions and 42 deletions
12
CHANGES
12
CHANGES
|
@ -1,4 +1,16 @@
|
|||
|
||||
2.5-651 | 2018-06-08 16:37:38 +0000
|
||||
|
||||
* Allow BRO_DEFAULT_LISTEN_ADDRESS to control broker listen address.
|
||||
This environment variable is now set to listen only on IPv4
|
||||
loopback when running unit tests (instead of using the default
|
||||
INADDR_ANY). (Corelight)
|
||||
|
||||
* Move some of the @loads out from init-bare.bro into a new
|
||||
init-frameworks-and-bifs.bro in order to better support calling BIFs
|
||||
(like `getenv`) from variable initializations in those particular
|
||||
frameworks. (Corelight)
|
||||
|
||||
2.5-648 | 2018-06-05 17:32:47 -0500
|
||||
|
||||
* BIT-1936: improve Broxygen warnings (Corelight)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.5-648
|
||||
2.5-651
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 64fc25300723d753217b5cf5e8bee2d4500409e1
|
||||
Subproject commit fc7abc2c5e459b51d60b2036db428053b5fb27f5
|
|
@ -14,7 +14,7 @@ export {
|
|||
## Default address on which to listen.
|
||||
##
|
||||
## .. bro:see:: Broker::listen
|
||||
const default_listen_address = "" &redef;
|
||||
const default_listen_address = getenv("BRO_DEFAULT_LISTEN_ADDRESS") &redef;
|
||||
|
||||
## Default interval to retry connecting to a peer if it cannot be made to work
|
||||
## initially, or if it ever becomes disconnected.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@load base/bif/const.bif.bro
|
||||
@load base/bif/const.bif
|
||||
@load base/bif/types.bif
|
||||
|
||||
# Type declarations
|
||||
|
@ -1797,9 +1797,11 @@ type gtp_delete_pdp_ctx_response_elements: record {
|
|||
};
|
||||
|
||||
# Prototypes of Bro built-in functions.
|
||||
@load base/bif/strings.bif
|
||||
@load base/bif/bro.bif
|
||||
@load base/bif/stats.bif
|
||||
@load base/bif/reporter.bif
|
||||
@load base/bif/strings.bif
|
||||
@load base/bif/option.bif
|
||||
|
||||
## Deprecated. This is superseded by the new logging framework.
|
||||
global log_file_name: function(tag: string): string &redef;
|
||||
|
@ -4832,17 +4834,3 @@ const global_hash_seed: string = "" &redef;
|
|||
## files. The larger the value, the more confidence in UID uniqueness.
|
||||
## The maximum is currently 128 bits.
|
||||
const bits_per_uid: count = 96 &redef;
|
||||
|
||||
# Load these frameworks here because they use fairly deep integration with
|
||||
# BiFs and script-land defined types.
|
||||
@load base/frameworks/logging
|
||||
@load base/frameworks/broker
|
||||
@load base/frameworks/input
|
||||
@load base/frameworks/analyzer
|
||||
@load base/frameworks/files
|
||||
|
||||
@load base/bif
|
||||
|
||||
# Load BiFs defined by plugins.
|
||||
@load base/bif/plugins
|
||||
|
||||
|
|
15
scripts/base/init-frameworks-and-bifs.bro
Normal file
15
scripts/base/init-frameworks-and-bifs.bro
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Load these frameworks here because they use fairly deep integration with
|
||||
# BiFs and script-land defined types. They are also more likely to
|
||||
# make use of calling BIFs for variable initializations, and that
|
||||
# can't be done until init-bare.bro has been loaded completely (hence
|
||||
# the separate file).
|
||||
@load base/frameworks/logging
|
||||
@load base/frameworks/broker
|
||||
@load base/frameworks/input
|
||||
@load base/frameworks/analyzer
|
||||
@load base/frameworks/files
|
||||
|
||||
@load base/bif
|
||||
|
||||
# Load BiFs defined by plugins.
|
||||
@load base/bif/plugins
|
|
@ -14,6 +14,7 @@ extern int yydebug;
|
|||
extern int brolex();
|
||||
extern char last_tok[128];
|
||||
|
||||
extern void add_essential_input_file(const char* file);
|
||||
extern void add_input_file(const char* file);
|
||||
extern void add_input_file_at_front(const char* file);
|
||||
|
||||
|
|
|
@ -755,7 +755,9 @@ int main(int argc, char** argv)
|
|||
|
||||
broxygen_mgr = new broxygen::Manager(broxygen_config, bro_argv[0]);
|
||||
|
||||
add_input_file("base/init-bare.bro");
|
||||
add_essential_input_file("base/init-bare.bro");
|
||||
add_essential_input_file("base/init-frameworks-and-bifs.bro");
|
||||
|
||||
if ( ! bare_mode )
|
||||
add_input_file("base/init-default.bro");
|
||||
|
||||
|
|
25
src/scan.l
25
src/scan.l
|
@ -821,6 +821,18 @@ void do_atendif()
|
|||
// are referred to (in order to save the locations of tokens and statements,
|
||||
// for error reporting and debugging).
|
||||
static name_list input_files;
|
||||
static name_list essential_input_files;
|
||||
|
||||
void add_essential_input_file(const char* file)
|
||||
{
|
||||
if ( ! file )
|
||||
reporter->InternalError("empty filename");
|
||||
|
||||
if ( ! filename )
|
||||
(void) load_files(file);
|
||||
else
|
||||
essential_input_files.append(copy_string(file));
|
||||
}
|
||||
|
||||
void add_input_file(const char* file)
|
||||
{
|
||||
|
@ -869,7 +881,7 @@ int yywrap()
|
|||
if ( ! did_builtin_init && file_stack.length() == 1 )
|
||||
{
|
||||
// ### This is a gross hack - we know that the first file
|
||||
// we parse is bro.init, and after it it's safe to initialize
|
||||
// we parse is init-bare.bro, and after it it's safe to initialize
|
||||
// the built-ins. Furthermore, we want to initialize the
|
||||
// built-in's *right* after parsing bro.init, so that other
|
||||
// source files can use built-in's when initializing globals.
|
||||
|
@ -885,19 +897,22 @@ int yywrap()
|
|||
return 0;
|
||||
|
||||
// Stack is now empty.
|
||||
while ( input_files.length() > 0 )
|
||||
while ( essential_input_files.length() > 0 || input_files.length() > 0 )
|
||||
{
|
||||
if ( load_files(input_files[0]) )
|
||||
name_list& files = essential_input_files.length() > 0 ?
|
||||
essential_input_files : input_files;
|
||||
|
||||
if ( load_files(files[0]) )
|
||||
{
|
||||
// Don't delete the filename - it's pointed to by
|
||||
// every BroObj created when parsing it.
|
||||
(void) input_files.remove_nth(0);
|
||||
(void) files.remove_nth(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// We already scanned the file. Pop it and try the next,
|
||||
// if any.
|
||||
(void) input_files.remove_nth(0);
|
||||
(void) files.remove_nth(0);
|
||||
}
|
||||
|
||||
// For each file scanned so far, and for each @prefix, look for a
|
||||
|
|
|
@ -3,18 +3,21 @@
|
|||
#empty_field (empty)
|
||||
#unset_field -
|
||||
#path loaded_scripts
|
||||
#open 2018-06-05-16-19-04
|
||||
#open 2018-06-08-16-37-15
|
||||
#fields name
|
||||
#types string
|
||||
scripts/base/init-bare.bro
|
||||
build/scripts/base/bif/const.bif.bro
|
||||
build/scripts/base/bif/types.bif.bro
|
||||
build/scripts/base/bif/strings.bif.bro
|
||||
build/scripts/base/bif/bro.bif.bro
|
||||
build/scripts/base/bif/stats.bif.bro
|
||||
build/scripts/base/bif/reporter.bif.bro
|
||||
build/scripts/base/bif/strings.bif.bro
|
||||
build/scripts/base/bif/option.bif.bro
|
||||
build/scripts/base/bif/plugins/Bro_SNMP.types.bif.bro
|
||||
build/scripts/base/bif/plugins/Bro_KRB.types.bif.bro
|
||||
build/scripts/base/bif/event.bif.bro
|
||||
scripts/base/init-frameworks-and-bifs.bro
|
||||
scripts/base/frameworks/logging/__load__.bro
|
||||
scripts/base/frameworks/logging/main.bro
|
||||
build/scripts/base/bif/logging.bif.bro
|
||||
|
@ -52,8 +55,6 @@ scripts/base/init-bare.bro
|
|||
scripts/base/utils/patterns.bro
|
||||
scripts/base/frameworks/files/magic/__load__.bro
|
||||
build/scripts/base/bif/__load__.bro
|
||||
build/scripts/base/bif/stats.bif.bro
|
||||
build/scripts/base/bif/option.bif.bro
|
||||
build/scripts/base/bif/broxygen.bif.bro
|
||||
build/scripts/base/bif/pcap.bif.bro
|
||||
build/scripts/base/bif/bloom-filter.bif.bro
|
||||
|
@ -176,4 +177,4 @@ scripts/base/init-bare.bro
|
|||
build/scripts/base/bif/plugins/Bro_SQLiteWriter.sqlite.bif.bro
|
||||
scripts/policy/misc/loaded-scripts.bro
|
||||
scripts/base/utils/paths.bro
|
||||
#close 2018-06-05-16-19-04
|
||||
#close 2018-06-08-16-37-15
|
||||
|
|
|
@ -3,18 +3,21 @@
|
|||
#empty_field (empty)
|
||||
#unset_field -
|
||||
#path loaded_scripts
|
||||
#open 2018-06-05-16-19-07
|
||||
#open 2018-06-08-16-37-20
|
||||
#fields name
|
||||
#types string
|
||||
scripts/base/init-bare.bro
|
||||
build/scripts/base/bif/const.bif.bro
|
||||
build/scripts/base/bif/types.bif.bro
|
||||
build/scripts/base/bif/strings.bif.bro
|
||||
build/scripts/base/bif/bro.bif.bro
|
||||
build/scripts/base/bif/stats.bif.bro
|
||||
build/scripts/base/bif/reporter.bif.bro
|
||||
build/scripts/base/bif/strings.bif.bro
|
||||
build/scripts/base/bif/option.bif.bro
|
||||
build/scripts/base/bif/plugins/Bro_SNMP.types.bif.bro
|
||||
build/scripts/base/bif/plugins/Bro_KRB.types.bif.bro
|
||||
build/scripts/base/bif/event.bif.bro
|
||||
scripts/base/init-frameworks-and-bifs.bro
|
||||
scripts/base/frameworks/logging/__load__.bro
|
||||
scripts/base/frameworks/logging/main.bro
|
||||
build/scripts/base/bif/logging.bif.bro
|
||||
|
@ -52,8 +55,6 @@ scripts/base/init-bare.bro
|
|||
scripts/base/utils/patterns.bro
|
||||
scripts/base/frameworks/files/magic/__load__.bro
|
||||
build/scripts/base/bif/__load__.bro
|
||||
build/scripts/base/bif/stats.bif.bro
|
||||
build/scripts/base/bif/option.bif.bro
|
||||
build/scripts/base/bif/broxygen.bif.bro
|
||||
build/scripts/base/bif/pcap.bif.bro
|
||||
build/scripts/base/bif/bloom-filter.bif.bro
|
||||
|
@ -365,4 +366,4 @@ scripts/base/init-default.bro
|
|||
scripts/base/misc/find-filtered-trace.bro
|
||||
scripts/base/misc/version.bro
|
||||
scripts/policy/misc/loaded-scripts.bro
|
||||
#close 2018-06-05-16-19-07
|
||||
#close 2018-06-08-16-37-20
|
||||
|
|
|
@ -264,7 +264,7 @@
|
|||
0.000000 MetaHookPost CallFunction(Log::__create_stream, <frame>, (Weird::LOG, [columns=<no value description>, ev=Weird::log_weird, path=weird])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__create_stream, <frame>, (X509::LOG, [columns=<no value description>, ev=X509::log_x509, path=x509])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__create_stream, <frame>, (mysql::LOG, [columns=<no value description>, ev=MySQL::log_mysql, path=mysql])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1528215692.710382, node=bro, filter=ip or not ip, init=T, success=T])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1528475846.472749, 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>
|
||||
|
@ -441,7 +441,7 @@
|
|||
0.000000 MetaHookPost CallFunction(Log::create_stream, <frame>, (Weird::LOG, [columns=<no value description>, ev=Weird::log_weird, path=weird])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::create_stream, <frame>, (X509::LOG, [columns=<no value description>, ev=X509::log_x509, path=x509])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::create_stream, <frame>, (mysql::LOG, [columns=<no value description>, ev=MySQL::log_mysql, path=mysql])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1528215692.710382, node=bro, filter=ip or not ip, init=T, success=T])) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1528475846.472749, 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>
|
||||
|
@ -469,6 +469,7 @@
|
|||
0.000000 MetaHookPost CallFunction(bro_init, <null>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(current_time, <frame>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(filter_change_tracking, <null>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(getenv, <null>, (BRO_DEFAULT_LISTEN_ADDRESS)) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(getenv, <null>, (CLUSTER_NODE)) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(global_ids, <frame>, ()) -> <no result>
|
||||
0.000000 MetaHookPost CallFunction(network_time, <frame>, ()) -> <no result>
|
||||
|
@ -728,6 +729,7 @@
|
|||
0.000000 MetaHookPost LoadFile(0, base<...>/http) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/imap) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/init-default.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/init-frameworks-and-bifs.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/input) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/input.bif.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/intel) -> -1
|
||||
|
@ -745,6 +747,7 @@
|
|||
0.000000 MetaHookPost LoadFile(0, base<...>/ntlm) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/numbers.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/openflow) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/option.bif.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/packet-filter) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/paths.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/patterns.bro) -> -1
|
||||
|
@ -767,6 +770,7 @@
|
|||
0.000000 MetaHookPost LoadFile(0, base<...>/software) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/ssh) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/ssl) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/stats.bif.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/store.bif.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/strings.bif.bro) -> -1
|
||||
0.000000 MetaHookPost LoadFile(0, base<...>/strings.bro) -> -1
|
||||
|
@ -1063,7 +1067,7 @@
|
|||
0.000000 MetaHookPre CallFunction(Log::__create_stream, <frame>, (Weird::LOG, [columns=<no value description>, ev=Weird::log_weird, path=weird]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__create_stream, <frame>, (X509::LOG, [columns=<no value description>, ev=X509::log_x509, path=x509]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__create_stream, <frame>, (mysql::LOG, [columns=<no value description>, ev=MySQL::log_mysql, path=mysql]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1528215692.710382, node=bro, filter=ip or not ip, init=T, success=T]))
|
||||
0.000000 MetaHookPre CallFunction(Log::__write, <frame>, (PacketFilter::LOG, [ts=1528475846.472749, 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))
|
||||
|
@ -1240,7 +1244,7 @@
|
|||
0.000000 MetaHookPre CallFunction(Log::create_stream, <frame>, (Weird::LOG, [columns=<no value description>, ev=Weird::log_weird, path=weird]))
|
||||
0.000000 MetaHookPre CallFunction(Log::create_stream, <frame>, (X509::LOG, [columns=<no value description>, ev=X509::log_x509, path=x509]))
|
||||
0.000000 MetaHookPre CallFunction(Log::create_stream, <frame>, (mysql::LOG, [columns=<no value description>, ev=MySQL::log_mysql, path=mysql]))
|
||||
0.000000 MetaHookPre CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1528215692.710382, node=bro, filter=ip or not ip, init=T, success=T]))
|
||||
0.000000 MetaHookPre CallFunction(Log::write, <frame>, (PacketFilter::LOG, [ts=1528475846.472749, 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>, ())
|
||||
|
@ -1268,6 +1272,7 @@
|
|||
0.000000 MetaHookPre CallFunction(bro_init, <null>, ())
|
||||
0.000000 MetaHookPre CallFunction(current_time, <frame>, ())
|
||||
0.000000 MetaHookPre CallFunction(filter_change_tracking, <null>, ())
|
||||
0.000000 MetaHookPre CallFunction(getenv, <null>, (BRO_DEFAULT_LISTEN_ADDRESS))
|
||||
0.000000 MetaHookPre CallFunction(getenv, <null>, (CLUSTER_NODE))
|
||||
0.000000 MetaHookPre CallFunction(global_ids, <frame>, ())
|
||||
0.000000 MetaHookPre CallFunction(network_time, <frame>, ())
|
||||
|
@ -1527,6 +1532,7 @@
|
|||
0.000000 MetaHookPre LoadFile(0, base<...>/http)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/imap)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/init-default.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/init-frameworks-and-bifs.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/input)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/input.bif.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/intel)
|
||||
|
@ -1544,6 +1550,7 @@
|
|||
0.000000 MetaHookPre LoadFile(0, base<...>/ntlm)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/numbers.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/openflow)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/option.bif.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/packet-filter)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/paths.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/patterns.bro)
|
||||
|
@ -1566,6 +1573,7 @@
|
|||
0.000000 MetaHookPre LoadFile(0, base<...>/software)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/ssh)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/ssl)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/stats.bif.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/store.bif.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/strings.bif.bro)
|
||||
0.000000 MetaHookPre LoadFile(0, base<...>/strings.bro)
|
||||
|
@ -1861,7 +1869,7 @@
|
|||
0.000000 | HookCallFunction Log::__create_stream(Weird::LOG, [columns=<no value description>, ev=Weird::log_weird, path=weird])
|
||||
0.000000 | HookCallFunction Log::__create_stream(X509::LOG, [columns=<no value description>, ev=X509::log_x509, path=x509])
|
||||
0.000000 | HookCallFunction Log::__create_stream(mysql::LOG, [columns=<no value description>, ev=MySQL::log_mysql, path=mysql])
|
||||
0.000000 | HookCallFunction Log::__write(PacketFilter::LOG, [ts=1528215692.710382, node=bro, filter=ip or not ip, init=T, success=T])
|
||||
0.000000 | HookCallFunction Log::__write(PacketFilter::LOG, [ts=1528475846.472749, 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)
|
||||
|
@ -2038,7 +2046,7 @@
|
|||
0.000000 | HookCallFunction Log::create_stream(Weird::LOG, [columns=<no value description>, ev=Weird::log_weird, path=weird])
|
||||
0.000000 | HookCallFunction Log::create_stream(X509::LOG, [columns=<no value description>, ev=X509::log_x509, path=x509])
|
||||
0.000000 | HookCallFunction Log::create_stream(mysql::LOG, [columns=<no value description>, ev=MySQL::log_mysql, path=mysql])
|
||||
0.000000 | HookCallFunction Log::write(PacketFilter::LOG, [ts=1528215692.710382, node=bro, filter=ip or not ip, init=T, success=T])
|
||||
0.000000 | HookCallFunction Log::write(PacketFilter::LOG, [ts=1528475846.472749, 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()
|
||||
|
@ -2066,6 +2074,7 @@
|
|||
0.000000 | HookCallFunction bro_init()
|
||||
0.000000 | HookCallFunction current_time()
|
||||
0.000000 | HookCallFunction filter_change_tracking()
|
||||
0.000000 | HookCallFunction getenv(BRO_DEFAULT_LISTEN_ADDRESS)
|
||||
0.000000 | HookCallFunction getenv(CLUSTER_NODE)
|
||||
0.000000 | HookCallFunction global_ids()
|
||||
0.000000 | HookCallFunction network_time()
|
||||
|
@ -2334,6 +2343,7 @@
|
|||
0.000000 | HookLoadFile base<...>/http
|
||||
0.000000 | HookLoadFile base<...>/imap
|
||||
0.000000 | HookLoadFile base<...>/init-default.bro
|
||||
0.000000 | HookLoadFile base<...>/init-frameworks-and-bifs.bro
|
||||
0.000000 | HookLoadFile base<...>/input
|
||||
0.000000 | HookLoadFile base<...>/input.bif.bro
|
||||
0.000000 | HookLoadFile base<...>/intel
|
||||
|
@ -2351,6 +2361,7 @@
|
|||
0.000000 | HookLoadFile base<...>/ntlm
|
||||
0.000000 | HookLoadFile base<...>/numbers.bro
|
||||
0.000000 | HookLoadFile base<...>/openflow
|
||||
0.000000 | HookLoadFile base<...>/option.bif.bro
|
||||
0.000000 | HookLoadFile base<...>/packet-filter
|
||||
0.000000 | HookLoadFile base<...>/paths.bro
|
||||
0.000000 | HookLoadFile base<...>/patterns.bro
|
||||
|
@ -2373,6 +2384,7 @@
|
|||
0.000000 | HookLoadFile base<...>/software
|
||||
0.000000 | HookLoadFile base<...>/ssh
|
||||
0.000000 | HookLoadFile base<...>/ssl
|
||||
0.000000 | HookLoadFile base<...>/stats.bif.bro
|
||||
0.000000 | HookLoadFile base<...>/store.bif.bro
|
||||
0.000000 | HookLoadFile base<...>/strings.bif.bro
|
||||
0.000000 | HookLoadFile base<...>/strings.bro
|
||||
|
@ -2390,7 +2402,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=1528215692.710382, node=bro, filter=ip or not ip, init=T, success=T]
|
||||
0.000000 | HookLogWrite packet_filter [ts=1528475846.472749, node=bro, filter=ip or not ip, init=T, success=T]
|
||||
0.000000 | HookQueueEvent NetControl::init()
|
||||
0.000000 | HookQueueEvent bro_init()
|
||||
0.000000 | HookQueueEvent filter_change_tracking()
|
||||
|
|
|
@ -25,3 +25,4 @@ TMPDIR=%(testbase)s/.tmp
|
|||
BRO_PROFILER_FILE=%(testbase)s/.tmp/script-coverage/XXXXXX
|
||||
BTEST_RST_FILTER=$SCRIPTS/rst-filter
|
||||
BRO_DNS_FAKE=1
|
||||
BRO_DEFAULT_LISTEN_ADDRESS=127.0.0.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue