Fix a few failing tests

This commit is contained in:
Bernhard Amann 2014-04-24 14:45:06 -07:00
parent c24629abf4
commit 3d22692b6e
4 changed files with 8 additions and 4 deletions

View file

@ -1,6 +1,9 @@
module Heartbleed; # Detect the TLS heartbleed attack. See http://heartbleed.com
# Detect the TLS heartbleed attack. See http://heartbleed.com/ @load base/protocols/ssl
@load base/frameworks/notice
module Heartbleed;
# Do not disable analyzers after detection - otherwhise we will not notice encrypted attacks # Do not disable analyzers after detection - otherwhise we will not notice encrypted attacks
redef SSL::disable_analyzer_after_detection=F; redef SSL::disable_analyzer_after_detection=F;

View file

@ -85,6 +85,7 @@
@load protocols/ssh/software.bro @load protocols/ssh/software.bro
@load protocols/ssl/expiring-certs.bro @load protocols/ssl/expiring-certs.bro
@load protocols/ssl/extract-certs-pem.bro @load protocols/ssl/extract-certs-pem.bro
@load protocols/ssl/heartbleed.bro
@load protocols/ssl/known-certs.bro @load protocols/ssl/known-certs.bro
@load protocols/ssl/log-hostcerts-only.bro @load protocols/ssl/log-hostcerts-only.bro
#@load protocols/ssl/notary.bro #@load protocols/ssl/notary.bro

View file

@ -5,7 +5,7 @@
# @TEST-REQUIRES: bro --help 2>&1 | grep -q mem-leaks # @TEST-REQUIRES: bro --help 2>&1 | grep -q mem-leaks
# #
# @TEST-EXEC: HEAP_CHECK_DUMP_DIRECTORY=. HEAPCHECK=local btest-bg-run bro bro -b -m -r $TRACES/http/connect-with-smtp.trace %INPUT # @TEST-EXEC: HEAP_CHECK_DUMP_DIRECTORY=. HEAPCHECK=local btest-bg-run bro bro -b -m -r $TRACES/http/connect-with-smtp.trace %INPUT
# @TEST-EXEC: btest-bg-wait 15 # @TEST-EXEC: btest-bg-wait 30
@load base/protocols/conn @load base/protocols/conn
@load base/protocols/http @load base/protocols/http

View file

@ -5,7 +5,7 @@
# @TEST-REQUIRES: bro --help 2>&1 | grep -q mem-leaks # @TEST-REQUIRES: bro --help 2>&1 | grep -q mem-leaks
# #
# @TEST-EXEC: HEAP_CHECK_DUMP_DIRECTORY=. HEAPCHECK=local btest-bg-run bro bro -b -m -r $TRACES/tls/tls-expired-cert.trace %INPUT # @TEST-EXEC: HEAP_CHECK_DUMP_DIRECTORY=. HEAPCHECK=local btest-bg-run bro bro -b -m -r $TRACES/tls/tls-expired-cert.trace %INPUT
# @TEST-EXEC: btest-bg-wait 15 # @TEST-EXEC: btest-bg-wait 30
@load base/protocols/ssl @load base/protocols/ssl