mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
Basic IMAP StartTLS analyzer.
Parses certificates out of imap connections using StartTLS. Aborts processing if StartTLS is not found.
This commit is contained in:
parent
871b340ade
commit
4a5737708c
17 changed files with 331 additions and 0 deletions
26
src/analyzer/protocol/imap/Plugin.cc
Normal file
26
src/analyzer/protocol/imap/Plugin.cc
Normal file
|
@ -0,0 +1,26 @@
|
|||
// See the file in the main distribution directory for copyright.
|
||||
|
||||
|
||||
#include "plugin/Plugin.h"
|
||||
|
||||
#include "IMAP.h"
|
||||
|
||||
namespace plugin {
|
||||
namespace Bro_IMAP {
|
||||
|
||||
class Plugin : public plugin::Plugin {
|
||||
public:
|
||||
plugin::Configuration Configure()
|
||||
{
|
||||
AddComponent(new ::analyzer::Component("IMAP", ::analyzer::imap::IMAP_Analyzer::Instantiate));
|
||||
|
||||
|
||||
plugin::Configuration config;
|
||||
config.name = "Bro::IMAP";
|
||||
config.description = "IMAP analyzer StartTLS only";
|
||||
return config;
|
||||
}
|
||||
} plugin;
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue