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

23 lines
661 B
C++

//See the file in the main distribution directory for copyright.
#include "KRB.h"
#include "KRB_TCP.h"
#include "plugin/Plugin.h"
#include "analyzer/Component.h"
namespace plugin {
namespace Zeek_KRB {
class Plugin : public plugin::Plugin {
public:
plugin::Configuration Configure() override
{
AddComponent(new ::analyzer::Component("KRB", ::analyzer::krb::KRB_Analyzer::Instantiate));
AddComponent(new ::analyzer::Component("KRB_TCP", ::analyzer::krb_tcp::KRB_Analyzer::Instantiate));
plugin::Configuration config;
config.name = "Zeek::KRB";
config.description = "Kerberos analyzer";
return config;
}
} plugin;
}
}