zeek/src/analyzer/protocol/ssl/Plugin.cc

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;
}
}