From: Serhii Vlasiuk -X (svlasiuk - SOFTSERVE INC at Cisco) Date: Mon, 14 Oct 2024 14:16:19 +0000 (+0000) Subject: Pull request #4470: add filename for ftp file process X-Git-Tag: 3.4.0.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa47b10435d5041ffe8f46fbc1566812feea720;p=thirdparty%2Fsnort3.git Pull request #4470: add filename for ftp file process Merge in SNORT/snort3 from ~SVLASIUK/snort3:ftp_download to master Squashed commit of the following: commit 756cb0d29045470f3d0510b35192c12da2b83f25 Author: Serhii Vlasiuk Date: Tue Sep 10 14:16:02 2024 +0300 ftp_telnet: add filename for ftp file processing --- diff --git a/src/service_inspectors/ftp_telnet/ftp_data.cc b/src/service_inspectors/ftp_telnet/ftp_data.cc index 4e21eb768..232c59005 100644 --- a/src/service_inspectors/ftp_telnet/ftp_data.cc +++ b/src/service_inspectors/ftp_telnet/ftp_data.cc @@ -85,7 +85,8 @@ static void FTPDataProcess( file_flows->set_sig_gen_state(false); status = file_flows->file_process(p, file_data, data_length, - data_ssn->position, data_ssn->direction, data_ssn->path_hash); + data_ssn->position, data_ssn->direction, data_ssn->path_hash, + (uint8_t*)data_ssn->filename, data_ssn->file_xfer_info); if (p->active->packet_force_dropped()) {