ltm rule command FTP ftps mode
iRule(1) BIG-IP TMSH Manual iRule(1)
FTP::ftps_mode
Get or set the activation mode for FTPS.
SYNOPSIS
FTP::ftps_mode (disallow | allow | require)?
DESCRIPTION
Sets the FTPS activation mode to disallow (FTP commands "AUTH SSL/TLS" will be filtered out, and implicit FTPS
connection will be dropped), allow (FTP will optionally activate TLS if client or server support "AUTH
SSL/TLS"), or require (FTP will require that the client and server complete "AUTH SSL/TLS" before data
transfers).
RETURN VALUE
Returns the current activation mode.
VALID DURING
ANY_EVENT
EXAMPLES
when CLIENT_ACCEPTED {
if { ([IP::addr [IP::client_addr] equals 10.0.0.0/8]) } {
FTP::ftps_mode require
}
if { ([IP::addr [IP::client_addr] equals 10.0.0.0/8]) } {
set mode [FTP::ftps_mode]
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-14.0.0 --First introduced the command.
BIG-IP 2020-06-23 iRule(1)