make client and server random available on script-level.

Patch by ewust

Addresses BIT-950
This commit is contained in:
Bernhard Amann 2013-09-11 12:39:23 -07:00
parent 7c1dffa66f
commit c40a97156a
6 changed files with 37 additions and 13 deletions

View 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;
}