Add CT log information to Bro

This commit add the table SSL::ct_logs to Bro. This table is populated
with information about the currently active certificate transparency
logs (data from Google). The data can, e.g., be used to identify which
Logs are being used in SCTs.
This commit is contained in:
Johanna Amann 2017-03-16 13:50:32 -07:00
parent 2b3dcc273a
commit dcf4907857
7 changed files with 57 additions and 9 deletions

View file

@ -3,5 +3,5 @@
event ssl_extension_signed_certificate_timestamp(c: connection, is_orig: bool, version: count, logid: string, timestamp: time, signature_and_hashalgorithm: SSL::SignatureAndHashAlgorithm, signature: string)
{
print version, timestamp, signature_and_hashalgorithm;
print version, SSL::ct_logs[logid]$description, timestamp, signature_and_hashalgorithm;
}