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

- Fixed a pretty major eternal looping bug in the SSL analyzer and a few other parsing problems. - New core scripts and log for SSL connection analysis. - New known-certs script for logging certificate assets.
30 lines
628 B
JavaScript
30 lines
628 B
JavaScript
# $Id:$
|
|
|
|
# binpac file for SSL analyzer
|
|
|
|
# split in three parts:
|
|
# - ssl-protocol.pac: describes the SSL protocol messages
|
|
# - ssl-analyzer.pac: contains the SSL analyzer code
|
|
# - ssl-record-layer.pac: describes the SSL record layer
|
|
|
|
%include binpac.pac
|
|
%include bro.pac
|
|
|
|
analyzer SSL withcontext {
|
|
connection: SSL_Conn;
|
|
flow: SSL_Flow;
|
|
};
|
|
|
|
connection SSL_Conn(bro_analyzer: BroAnalyzer) {
|
|
upflow = SSL_Flow(true);
|
|
downflow = SSL_Flow(false);
|
|
};
|
|
|
|
%include ssl-protocol.pac
|
|
|
|
flow SSL_Flow(is_orig: bool) {
|
|
flowunit = SSLPDU(is_orig) withcontext(connection, this);
|
|
}
|
|
|
|
%include ssl-analyzer.pac
|
|
%include ssl-defs.pac
|