Add basic LLC, SNAP, and Novell 802.3 packet analyzers

This commit is contained in:
Tim Wojtulewicz 2023-04-19 10:05:36 -07:00 committed by Tim Wojtulewicz
parent 31afe082ac
commit 7e88a2b3fb
30 changed files with 527 additions and 171 deletions

View file

@ -0,0 +1,27 @@
// 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/snap/SNAP.h"
namespace zeek::plugin::Zeek_SNAP
{
class Plugin : public zeek::plugin::Plugin
{
public:
zeek::plugin::Configuration Configure()
{
AddComponent(new zeek::packet_analysis::Component(
"SNAP", zeek::packet_analysis::SNAP::SNAPAnalyzer::Instantiate));
zeek::plugin::Configuration config;
config.name = "Zeek::SNAP";
config.description = "SNAP packet analyzer";
return config;
}
} plugin;
}