Change ciphers in changes ciphers from a set to a vector.

This preserves the ordering of the cipher suites the client sent,
allowing e.g. better client fingerprinting.
This commit is contained in:
Bernhard Amann 2013-12-04 11:27:34 -08:00
parent dc52846b6f
commit b7dc03bb82
6 changed files with 96 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# @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)
event ssl_client_hello(c: connection, version: count, possible_ts: time, client_random: string, session_id: string, ciphers: index_vec)
{
print client_random;
}