mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00

* 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.
14 lines
338 B
Text
14 lines
338 B
Text
#
|
|
# @TEST-EXEC: bro -r ${TRACES}/var-services-std-ports.trace %INPUT
|
|
# @TEST-EXEC: cat conn.log | bro-cut service | grep -vq dns
|
|
# @TEST-EXEC: cat conn.log | bro-cut service | grep -vq ssh
|
|
#
|
|
|
|
redef Analyzer::disabled_analyzers += { Analyzer::ANALYZER_SSH };
|
|
|
|
event zeek_init()
|
|
{
|
|
Analyzer::disable_analyzer(Analyzer::ANALYZER_DNS);
|
|
}
|
|
|
|
|