Project

General

Profile

Actions

Bug #3728

closed

ftp file extraction failure

Added by xinfeng lee almost 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Affected Versions:
Effort:
medium
Difficulty:
medium
Label:
Protocol

Description

test:suricata -c suricata.yaml -r ftp.pcap.
when I use single thread,this question will not appear,but if I use workers runmodes and use multiple threads,it is easy to appear.
I see that code what is processing this,find that ftp_data app-layer is detected by ftp app-layer "AppLayerExpectationCreate" function。if ftp app-layer don't come at here,ftp_data is processed by another thread will not detected.because this function "AppLayerExpectationHandle" can't get ftp_data app-layer protocol.So,another thread can't correctly parse ftp_data packets.


Files

ftp-store-txt.pcapng (107 KB) ftp-store-txt.pcapng yida zhang, 03/03/2021 03:55 AM

Related issues 2 (0 open2 closed)

Related to Suricata - Bug #5205: FTP-data unrecognized depending on multi-threadingClosedPhilippe AntoineActions
Related to Suricata - Bug #4539: ftp-data protocol not detected in autofp runmodeClosedActions
Actions

Also available in: Atom PDF