This article describes why an FTP packet is dropped by FTP ALG due to no CRLF at the end of an FTP header.
The following packet capture is one of the standard FTP control packets. The CRLF(\r\n) is seen at the end of the FTP header in the control packet.In this case, FTP ALG forwarded this packet.
FTP ALG checks the FTP format to see if the FTP control packet ends with CRLF.
SRX supports CRLF for FTP control packet by default. It also supports LF if the following command is configured:
#set security alg ftp line-break-extension
For line-break-extention configuration, see ftp (Security ALG) :
Notes:
The other possible cause is PR1750148. there is a logical problem in jbuf length handling, which led to jbuf usage high at the time of some kind of ftp traffic. Developer had a fix now, the fix will be in 21.2R3-S7