mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

These tests do not test conn.log or dpd.log, so they don't actually need to @load dpd - dynamic-protocol-detection is enabled anyway.
21 lines
775 B
Text
21 lines
775 B
Text
# @TEST-EXEC: zeek -C -b -r $TRACES/tls/ssl-v2.trace %INPUT
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/ssl.v3.trace %INPUT
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/tls1.2.trace %INPUT
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/tls-early-alert.trace %INPUT
|
|
# @TEST-EXEC: zeek -b -r $TRACES/tls/tls-13draft19-early-data.pcap %INPUT
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
@load base/frameworks/signatures
|
|
@load-sigs base/protocols/ssl/dpd.sig
|
|
@load-sigs policy/protocols/ssl/dpd-v2.sig
|
|
|
|
event zeek_init()
|
|
{
|
|
print "Start test run";
|
|
}
|
|
|
|
event ssl_client_hello(c: connection, version: count, record_version: count, possible_ts: time, client_random: string, session_id: string, ciphers: index_vec, comp_methods: index_vec) &priority=5
|
|
{
|
|
print "Client hello", c$id$orig_h, c$id$resp_h, version;
|
|
}
|
|
|