FTP::ftps_mode¶
Description¶
This command gets or 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”)
- require (FTP will require that the client and server complete “AUTH SSL/TLS” before data transfers).
Syntax¶
FTP::ftps_mode [<disallow | allow | require>]
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]
}
}