|
|
@@ -28,8 +28,12 @@ |
|
|
|
#ifndef _MN_Scanner |
|
|
|
#define _MN_Scanner |
|
|
|
|
|
|
|
#include "FilterChain.hpp" |
|
|
|
#include "snf_engine.hpp" |
|
|
|
#include "SNFMulti/FilterChain.hpp" |
|
|
|
#include "SNFMulti/snf_engine.hpp" |
|
|
|
|
|
|
|
#include <string> |
|
|
|
|
|
|
|
namespace SNFMulti { |
|
|
|
|
|
|
|
const int ScanHorizon = 32768; // Maximum length of message to check. |
|
|
|
|
|
|
@@ -56,7 +60,8 @@ class Scanner { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void LoadRuleBase(string& RuleFileName, string& SecurityKey); // Load & Validate RuleBase. |
|
|
|
void LoadRuleBase(std::string& RuleFileName, |
|
|
|
std::string& SecurityKey); // Load & Validate RuleBase. |
|
|
|
|
|
|
|
EvaluationMatrix* ScanMessage(unsigned char* MessageBuffer); // Scan with filter chain. |
|
|
|
|
|
|
@@ -66,4 +71,6 @@ class Scanner { |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#endif |