"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/perf_monitor/perf_module.cc" between
snort3-3.1.29.0.tar.gz and snort3-3.1.30.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

perf_module.cc  (snort3-3.1.29.0):perf_module.cc  (snort3-3.1.30.0)
skipping to change at line 39 skipping to change at line 39
#include "control/control.h" #include "control/control.h"
#include "log/messages.h" #include "log/messages.h"
#include "main/analyzer_command.h" #include "main/analyzer_command.h"
#include "main/snort.h" #include "main/snort.h"
#include "managers/module_manager.h" #include "managers/module_manager.h"
#include "perf_monitor.h" #include "perf_monitor.h"
#include "perf_pegs.h" #include "perf_pegs.h"
#include "perf_reload_tuner.h" #include "perf_reload_tuner.h"
#ifdef HAVE_FLATBUFFERS
#define FLATBUFFERS_ENUM " | flatbuffers"
#else
#define FLATBUFFERS_ENUM
#endif
using namespace snort; using namespace snort;
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// perf attributes // perf attributes
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
static const Parameter module_params[] = static const Parameter module_params[] =
{ {
{ "name", Parameter::PT_STRING, nullptr, nullptr, { "name", Parameter::PT_STRING, nullptr, nullptr,
"name of the module" }, "name of the module" },
skipping to change at line 97 skipping to change at line 91
{ "flow_ports", Parameter::PT_INT, "0:65535", "1023", { "flow_ports", Parameter::PT_INT, "0:65535", "1023",
"maximum ports to track" }, "maximum ports to track" },
{ "output", Parameter::PT_ENUM, "file | console", "file", { "output", Parameter::PT_ENUM, "file | console", "file",
"output location for stats" }, "output location for stats" },
{ "modules", Parameter::PT_LIST, module_params, nullptr, { "modules", Parameter::PT_LIST, module_params, nullptr,
"gather statistics from the specified modules" }, "gather statistics from the specified modules" },
{ "format", Parameter::PT_ENUM, "csv | text | json" FLATBUFFERS_ENUM, "csv", { "format", Parameter::PT_ENUM, "csv | text | json", "csv",
"output format for stats" }, "output format for stats" },
{ "summary", Parameter::PT_BOOL, nullptr, "false", { "summary", Parameter::PT_BOOL, nullptr, "false",
"output summary at shutdown" }, "output summary at shutdown" },
{ nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
}; };
class PerfMonFlowIPDebug : public AnalyzerCommand class PerfMonFlowIPDebug : public AnalyzerCommand
{ {
 End of changes. 2 change blocks. 
7 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)