"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/appid/appid_module.cc" between
snort3-3.1.31.0.tar.gz and snort3-3.1.32.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.

appid_module.cc  (snort3-3.1.31.0):appid_module.cc  (snort3-3.1.32.0)
skipping to change at line 72 skipping to change at line 72
THREAD_LOCAL ProfileStats appid_perf_stats; THREAD_LOCAL ProfileStats appid_perf_stats;
THREAD_LOCAL AppIdStats appid_stats; THREAD_LOCAL AppIdStats appid_stats;
THREAD_LOCAL bool ThirdPartyAppIdContext::tp_reload_in_progress = false; THREAD_LOCAL bool ThirdPartyAppIdContext::tp_reload_in_progress = false;
static const Parameter s_params[] = static const Parameter s_params[] =
{ {
// FIXIT-L: DECRYPT_DEBUG - Move this to ssl-module // FIXIT-L: DECRYPT_DEBUG - Move this to ssl-module
#ifdef REG_TEST #ifdef REG_TEST
{ "first_decrypted_packet_debug", Parameter::PT_INT, "0:max32", "0", { "first_decrypted_packet_debug", Parameter::PT_INT, "0:max32", "0",
"the first packet of an already decrypted SSL flow (debug single session o nly)" }, "the first packet of an already decrypted SSL flow (debug single session o nly)" },
{ "log_eve_process_client_mappings", Parameter::PT_BOOL, nullptr, "false",
"enable logging of encrypted visibility engine process to client mappings"
},
#endif #endif
{ "memcap", Parameter::PT_INT, "1024:maxSZ", "1048576", { "memcap", Parameter::PT_INT, "1024:maxSZ", "1048576",
"max size of the service cache before we start pruning the cache" }, "max size of the service cache before we start pruning the cache" },
{ "log_stats", Parameter::PT_BOOL, nullptr, "false", { "log_stats", Parameter::PT_BOOL, nullptr, "false",
"enable logging of appid statistics" }, "enable logging of appid statistics" },
{ "app_stats_period", Parameter::PT_INT, "1:max32", "300", { "app_stats_period", Parameter::PT_INT, "1:max32", "300",
"time period for collecting and logging appid statistics" }, "time period for collecting and logging appid statistics" },
{ "app_stats_rollover_size", Parameter::PT_INT, "0:max32", "20971520", { "app_stats_rollover_size", Parameter::PT_INT, "0:max32", "20971520",
"max file size for appid stats before rolling over the log file" }, "max file size for appid stats before rolling over the log file" },
{ "app_detector_dir", Parameter::PT_STRING, nullptr, nullptr, { "app_detector_dir", Parameter::PT_STRING, nullptr, nullptr,
skipping to change at line 479 skipping to change at line 481
config = nullptr; config = nullptr;
return temp; return temp;
} }
bool AppIdModule::set(const char*, Value& v, SnortConfig*) bool AppIdModule::set(const char*, Value& v, SnortConfig*)
{ {
// FIXIT-L: DECRYPT_DEBUG - Move this to ssl-module // FIXIT-L: DECRYPT_DEBUG - Move this to ssl-module
#ifdef REG_TEST #ifdef REG_TEST
if ( v.is("first_decrypted_packet_debug") ) if ( v.is("first_decrypted_packet_debug") )
config->first_decrypted_packet_debug = v.get_uint32(); config->first_decrypted_packet_debug = v.get_uint32();
else if ( v.is("log_eve_process_client_mappings") )
config->log_eve_process_client_mappings = v.get_bool();
else else
#endif #endif
if ( v.is("memcap") ) if ( v.is("memcap") )
config->memcap = v.get_size(); config->memcap = v.get_size();
else if ( v.is("log_stats") ) else if ( v.is("log_stats") )
config->log_stats = v.get_bool(); config->log_stats = v.get_bool();
else if ( v.is("app_stats_period") ) else if ( v.is("app_stats_period") )
config->app_stats_period = v.get_uint32(); config->app_stats_period = v.get_uint32();
else if ( v.is("app_stats_rollover_size") ) else if ( v.is("app_stats_rollover_size") )
config->app_stats_rollover_size = v.get_uint32(); config->app_stats_rollover_size = v.get_uint32();
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 lines changed or added

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