mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
26 lines
642 B
C++
26 lines
642 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
#include "zeek/plugin/Plugin.h"
|
|
|
|
#include "zeek/packet_analysis/Component.h"
|
|
#include "zeek/packet_analysis/protocol/nflog/NFLog.h"
|
|
|
|
namespace zeek::plugin::Zeek_NFLog
|
|
{
|
|
|
|
class Plugin final : public zeek::plugin::Plugin
|
|
{
|
|
public:
|
|
zeek::plugin::Configuration Configure() override
|
|
{
|
|
AddComponent(new zeek::packet_analysis::Component(
|
|
"NFLog", zeek::packet_analysis::NFLog::NFLogAnalyzer::Instantiate));
|
|
|
|
zeek::plugin::Configuration config;
|
|
config.name = "Zeek::NFLog";
|
|
config.description = "NFLog packet analyzer";
|
|
return config;
|
|
}
|
|
} plugin;
|
|
|
|
}
|