mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
26 lines
641 B
C++
26 lines
641 B
C++
// See the file in the main distribution directory for copyright.
|
|
|
|
#include "SSL.h"
|
|
#include "DTLS.h"
|
|
#include "plugin/Plugin.h"
|
|
#include "analyzer/Component.h"
|
|
|
|
namespace plugin {
|
|
namespace Zeek_SSL {
|
|
|
|
class Plugin : public plugin::Plugin {
|
|
public:
|
|
plugin::Configuration Configure() override
|
|
{
|
|
AddComponent(new ::analyzer::Component("SSL", ::analyzer::ssl::SSL_Analyzer::Instantiate));
|
|
AddComponent(new ::analyzer::Component("DTLS", ::analyzer::dtls::DTLS_Analyzer::Instantiate));
|
|
|
|
plugin::Configuration config;
|
|
config.name = "Zeek::SSL";
|
|
config.description = "SSL/TLS and DTLS analyzers";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|
|
}
|