mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
test for new ssl/tls dpd signature
This commit is contained in:
parent
aa73d42120
commit
5d9fb1631c
3 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
|||
Start test run
|
||||
Client hello, 192.168.4.149, 91.227.4.92, 2
|
||||
Start test run
|
||||
Client hello, 192.150.187.164, 194.127.84.106, 2
|
||||
Client hello, 192.150.187.164, 194.127.84.106, 769
|
||||
Client hello, 192.150.187.164, 194.127.84.106, 769
|
||||
Start test run
|
||||
Client hello, 10.0.0.80, 68.233.76.12, 771
|
BIN
testing/btest/Traces/tls/ssl-v2.trace
Normal file
BIN
testing/btest/Traces/tls/ssl-v2.trace
Normal file
Binary file not shown.
19
testing/btest/scripts/base/protocols/ssl/dpd.test
Normal file
19
testing/btest/scripts/base/protocols/ssl/dpd.test
Normal file
|
@ -0,0 +1,19 @@
|
|||
# @TEST-EXEC: bro -C -b -r $TRACES/tls/ssl-v2.trace %INPUT
|
||||
# @TEST-EXEC: bro -b -r $TRACES/tls/ssl.v3.trace %INPUT
|
||||
# @TEST-EXEC: bro -b -r $TRACES/tls/tls1.2.trace %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load base/frameworks/dpd
|
||||
@load base/frameworks/signatures
|
||||
@load-sigs base/protocols/ssl/dpd.sig
|
||||
|
||||
event bro_init()
|
||||
{
|
||||
print "Start test run";
|
||||
}
|
||||
|
||||
event ssl_client_hello(c: connection, version: count, possible_ts: time, client_random: string, session_id: string, ciphers: index_vec) &priority=5
|
||||
{
|
||||
print "Client hello", c$id$orig_h, c$id$resp_h, version;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue