mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Complete rewrite to SSL analyzer.
* I haven't removed handwritten analyzer code yet although it isn't built anymore. * The ssl.bro script is just an example and doesn't keep any state yet.
This commit is contained in:
parent
871eff9f90
commit
7faf3e0f3b
15 changed files with 1225 additions and 1020 deletions
|
@ -1,5 +1,3 @@
|
|||
// $Id:$
|
||||
|
||||
#ifndef ssl_binpac_h
|
||||
#define ssl_binpac_h
|
||||
|
||||
|
@ -23,11 +21,9 @@ public:
|
|||
|
||||
static bool Available()
|
||||
{
|
||||
return FLAGS_use_binpac &&
|
||||
(ssl_certificate_seen || ssl_certificate ||
|
||||
ssl_conn_attempt || ssl_conn_server_reply ||
|
||||
ssl_conn_established || ssl_conn_reused ||
|
||||
ssl_conn_alert);
|
||||
return ( ssl_client_hello || ssl_server_hello ||
|
||||
ssl_established || ssl_extension || ssl_alert ||
|
||||
x509_certificate || x509_extension || x509_error );
|
||||
}
|
||||
|
||||
static bool warnings_generated;
|
||||
|
@ -35,8 +31,7 @@ public:
|
|||
static void generate_warnings();
|
||||
|
||||
protected:
|
||||
binpac::SSLRecordLayer::SSLRecordLayerAnalyzer* records;
|
||||
binpac::SSL::SSLAnalyzer* ssl;
|
||||
binpac::SSL::SSLAnalyzer* interp;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue