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

With this commit, the entire Zeek test suite passes using spicy TLS. Tests that either use a SSLv2 handshake, or DTLS are skipped, as the parser currently does not support either. Similarly, tests that rely on behavior we cannot replicate (baseline, hooks, exact error messages) are passed. Other than that, all the TLS-based tests pass with 100% the exact same baseline results. This necessitated a couple of small tweaks to the spicy file - the testcases uncovered several small problems. This commit also enables cirrus tests for Spicy SSL/TLS.
15 lines
612 B
Text
15 lines
612 B
Text
# Does not work in spicy version, due to missing SSLv2 handshake support
|
|
# @TEST-REQUIRES: ! grep -q "#define ENABLE_SPICY_SSL" $BUILD/zeek-config.h
|
|
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/dhe.pcap %INPUT
|
|
# @TEST-EXEC: cp notice.log notice-out.log
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/ssl-v2.trace %INPUT
|
|
# @TEST-EXEC: cat notice.log >> notice-out.log
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/ssl.v3.trace %INPUT
|
|
# @TEST-EXEC: cat notice.log >> notice-out.log
|
|
# @TEST-EXEC: btest-diff notice-out.log
|
|
|
|
@load protocols/ssl/weak-keys
|
|
|
|
redef SSL::notify_weak_keys = ALL_HOSTS;
|
|
redef SSL::notify_minimal_key_length = 4096;
|