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

This change adds compression methods to the ssl_client_hello event. It not being included was an oversight from a long time ago. This change means that the signature of ssl_client_hello changes slightly and scripts will have to be adjusted; since this is a commonly used event, the impact of it might be higher than usually for event changes.
14 lines
543 B
Text
14 lines
543 B
Text
# This tests that the values sent for compression methods are correct.
|
|
|
|
# @TEST-EXEC: bro -r $TRACES/tls/tls-conn-with-extensions.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: index_vec, comp_methods: index_vec)
|
|
{
|
|
print comp_methods;
|
|
}
|
|
|
|
event ssl_server_hello(c: connection, version: count, possible_ts: time, server_random: string, session_id: string, cipher: count, comp_method: count)
|
|
{
|
|
print comp_method;
|
|
}
|