mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
make client and server random available on script-level.
Patch by ewust Addresses BIT-950
This commit is contained in:
parent
7c1dffa66f
commit
c40a97156a
6 changed files with 37 additions and 13 deletions
12
testing/btest/scripts/base/protocols/ssl/tls-1.2-random.test
Normal file
12
testing/btest/scripts/base/protocols/ssl/tls-1.2-random.test
Normal file
|
@ -0,0 +1,12 @@
|
|||
# @TEST-EXEC: bro -r $TRACES/tls1.2.trace %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
event ssl_client_hello(c: connection, version: count, possible_ts: time, client_random: string, session_id: string, ciphers: count_set)
|
||||
{
|
||||
print client_random;
|
||||
}
|
||||
|
||||
event ssl_server_hello(c: connection, version: count, possible_ts: time, server_random: string, session_id: string, cipher: count, comp_method: count)
|
||||
{
|
||||
print server_random;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue