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-13.1.0 --First introduced the command.



BIG-IP				  2018-07-19			      iRule(1)