mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Add basic LLC, SNAP, and Novell 802.3 packet analyzers
This commit is contained in:
parent
31afe082ac
commit
7e88a2b3fb
30 changed files with 527 additions and 171 deletions
27
src/packet_analysis/protocol/snap/Plugin.cc
Normal file
27
src/packet_analysis/protocol/snap/Plugin.cc
Normal 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;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue