Having just upgraded our FTP server to enforce Explicit FTP over TLS (on the standard port 21), we are experiencing connections failing sporadically, probably around 50% of the time. It's important to note that plain-text FTP is still run for one or two accounts that cannot support FTPS yet with their current setups.
When I check the IDP, it is sometimes rejecting FTPS packets, falsely identifying them as "FTP Cmd Telnet Opcode Evasion". This only occurs for FTPS (not plain-text FTP) and seems to be a lottery as to whether these packets will be rejected or allowed.
The only solution that I have been able to come up with is to disable the "FTP Cmd Telnet Opcode Evasion" rule in the IDP. Until I have more information regarding what the rule represents and why the IDP is sporadically rejecting the traffic, I have elected not to make this change.
Can anyone shed some more light for me on what this rule is protecting the network from, as well as what I might be able to do to allow the IDP to recognise FTPS as legitimate traffic?
NB (1): I set up Implicit FTPS (on port 990) and this works fine 100% of the time without the IDP thinking it's an evasion attack. I can only assume then that the IDP is expecting to see plain-text FTP on port 21 and nothing else, but then why does it work some of the time with FTPS?
NB (2): the IDP is on a Zyxel USG310.
AUTH TLS
command used to upgrade to TLS. Maybe if you use the correct port the problem vanishes.