mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
MQTT Analyzer heavily updated and ported from the analyzer originally by Supriya Kumar
This analyzer generates three logs to fully display what is happening over the MQTT connection. - mqtt_connect.log - mqtt_subscribe.log - mqtt_publish.log At this time it only supports MQTT 3.1 and 3.1.1
This commit is contained in:
parent
486bf1e713
commit
a42b3a1d63
34 changed files with 1302 additions and 0 deletions
25
src/analyzer/protocol/mqtt/Plugin.cc
Normal file
25
src/analyzer/protocol/mqtt/Plugin.cc
Normal file
|
@ -0,0 +1,25 @@
|
|||
// See the file in the main distribution directory for copyright.
|
||||
|
||||
#include "plugin/Plugin.h"
|
||||
|
||||
#include "MQTT.h"
|
||||
|
||||
namespace plugin {
|
||||
namespace Bro_MQTT {
|
||||
|
||||
class Plugin : public plugin::Plugin {
|
||||
public:
|
||||
plugin::Configuration Configure()
|
||||
{
|
||||
AddComponent(new ::analyzer::Component("MQTT",
|
||||
::analyzer::MQTT::MQTT_Analyzer::InstantiateAnalyzer));
|
||||
|
||||
plugin::Configuration config;
|
||||
config.name = "Bro::MQTT";
|
||||
config.description = "Message Queuing Telemetry Transport v3.1.1 Protocol analyzer";
|
||||
return config;
|
||||
}
|
||||
} plugin;
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue