"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/ftp_telnet/ftp_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.

ftp_module.cc  (snort3-3.1.31.0):ftp_module.cc  (snort3-3.1.32.0)
skipping to change at line 405 skipping to change at line 405
FTP_SERVER_PROTO_CONF* tmp = conf; FTP_SERVER_PROTO_CONF* tmp = conf;
conf = nullptr; conf = nullptr;
return tmp; return tmp;
} }
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
bool FtpServerModule::set(const char*, Value& v, SnortConfig*) bool FtpServerModule::set(const char*, Value& v, SnortConfig*)
{ {
if ( v.is("check_encrypted") ) if ( v.is("check_encrypted") )
conf->detect_encrypted = v.get_bool(); conf->check_encrypted_data = v.get_bool();
else if ( v.is("chk_str_fmt") ) else if ( v.is("chk_str_fmt") )
add_commands(v, CMD_CHECK); add_commands(v, CMD_CHECK);
else if ( v.is("command") ) else if ( v.is("command") )
names = v.get_string(); names = v.get_string();
else if ( v.is("commands") ) else if ( v.is("commands") )
names = v.get_string(); names = v.get_string();
skipping to change at line 435 skipping to change at line 435
else if ( v.is("def_max_param_len") ) else if ( v.is("def_max_param_len") )
conf->def_max_param_len = v.get_uint32(); conf->def_max_param_len = v.get_uint32();
else if ( v.is("dir_cmd") ) else if ( v.is("dir_cmd") )
names = v.get_string(); names = v.get_string();
else if ( v.is("encr_cmds") ) else if ( v.is("encr_cmds") )
add_commands(v, CMD_ENCR); add_commands(v, CMD_ENCR);
else if ( v.is("encrypted_traffic") ) else if ( v.is("encrypted_traffic") )
conf->check_encrypted_data = v.get_bool(); conf->detect_encrypted = v.get_bool();
else if ( v.is("file_get_cmds") ) else if ( v.is("file_get_cmds") )
add_commands(v, CMD_XFER|CMD_GET); add_commands(v, CMD_XFER|CMD_GET);
else if ( v.is("file_put_cmds") ) else if ( v.is("file_put_cmds") )
add_commands(v, CMD_XFER|CMD_PUT); add_commands(v, CMD_XFER|CMD_PUT);
else if ( v.is("format") ) else if ( v.is("format") )
format = v.get_string(); format = v.get_string();
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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