ftp.config¶
No Additional Items
FtpEntry
Type: objectNo Additional Properties
Id
Type: integerPlaceholder identifier. Not used as there is only one.
Port
Type: integerTCP port number on which the FTP service listens for incoming connections.
Value must be greater or equal to 1 and lesser or equal to 65535
Clients
Type: integerMaximum number of simultaneous client connections allowed.
Value must be greater or equal to 1 and lesser or equal to 10000
Ipconnections
Type: integerMaximum number of connections allowed from a single IP address. 0 means unlimited.
Value must be greater or equal to 0 and lesser or equal to 1000
Loginattempt
Type: integerMaximum number of failed login attempts before blocking an IP address. 0 disables this limit.
Value must be greater or equal to 0 and lesser or equal to 1000
Timeout
Type: integerIdle timeout in seconds before disconnecting inactive clients. 0 disables timeout.
Value must be greater or equal to 0 and lesser or equal to 10000
Timeout Notransfer
Type: integerTimeout in seconds for clients that connect but do not transfer data. 0 disables timeout.
Value must be greater or equal to 0 and lesser or equal to 10000
Onlyanonymous
Type: booleanWhether to allow only anonymous FTP access, disabling authenticated user login.
Anonpath
Filesystem path for anonymous FTP users. null to use the default anonymous FTP directory.
Onlylocal
Type: booleanWhether to allow only local system users to login, disabling anonymous access.
Banner
Type: stringWelcome message displayed to FTP clients upon connection.
Filemask
Type: stringDefault Unix permissions (umask) for files created by FTP users.
Dirmask
Type: stringDefault Unix permissions (umask) for directories created by FTP users.
Fxp
Type: booleanWhether to enable File eXchange Protocol (FXP) for server-to-server transfers.
Resume
Type: booleanWhether to allow clients to resume interrupted file transfers.
Defaultroot
Type: booleanWhether to restrict users to their home directories (chroot jail).
Ident
Type: booleanWhether to perform RFC 1413 ident lookups on connecting clients.
Reversedns
Type: booleanWhether to perform reverse DNS lookups on client IP addresses for logging.
Masqaddress
Type: stringPublic IP address to advertise to clients for passive mode connections when behind NAT.
Passiveportsmin
Type: integerMinimum port number for passive mode data connections. Must be 0 or between 1024-65535.
Passiveportsmax
Type: integerMaximum port number for passive mode data connections. Must be 0 or between 1024-65535.
Localuserbw
Type: integerMaximum upload bandwidth in KiB/s for local users. 0 means unlimited.
Value must be greater or equal to 0
Localuserdlbw
Type: integerMaximum download bandwidth in KiB/s for local users. 0 means unlimited.
Value must be greater or equal to 0
Anonuserbw
Type: integerMaximum upload bandwidth in KiB/s for anonymous users. 0 means unlimited.
Value must be greater or equal to 0
Anonuserdlbw
Type: integerMaximum download bandwidth in KiB/s for anonymous users. 0 means unlimited.
Value must be greater or equal to 0
Tls
Type: booleanWhether to enable TLS/SSL encryption for FTP connections.
Tls Policy
Type: enum (of string)TLS policy for connections. Values include: "on" (required), "off" (disabled), "data" (data only), "auth" (authentication only), "ctrl" (control only), or combinations with + and ! modifiers.
Must be one of:
- ""
- "on"
- "off"
- "data"
- "!data"
- "auth"
- "ctrl"
- "ctrl+data"
- "ctrl+!data"
- "auth+data"
- "auth+!data"
Tls Opt Allow Client Renegotiations
Type: booleanWhether to allow TLS clients to initiate renegotiation of the TLS connection.
Tls Opt Allow Dot Login
Type: booleanWhether to allow .ftpaccess files to override TLS requirements for specific users.
Tls Opt Allow Per User
Type: booleanWhether to allow per-user TLS configuration overrides.
Tls Opt Common Name Required
Type: booleanWhether to require client certificates to have a Common Name field.
Tls Opt Enable Diags
Type: booleanWhether to enable detailed TLS diagnostic logging.
Tls Opt Export Cert Data
Type: booleanWhether to export client certificate data to environment variables.
Tls Opt No Empty Fragments
Type: booleanWhether to disable empty TLS record fragments to improve compatibility with some clients. Disabling increases vulnerability to some attack vectors.
Tls Opt No Session Reuse Required
Type: booleanWhether to disable the requirement for TLS session reuse.
Tls Opt Stdenvvars
Type: booleanWhether to export standard TLS environment variables for use by external programs.
Tls Opt Dns Name Required
Type: booleanWhether to require client certificates to contain a DNS name in the Subject Alternative Name extension. The reversedns setting must also be enabled.
Tls Opt Ip Address Required
Type: booleanWhether to require client certificates to contain an IP address in the Subject Alternative Name extension.
Ssltls Certificate
ID of the certificate to use for TLS/SSL connections. null to use the default system certificate.
Options
Type: stringAdditional ProFTPD configuration directives to include in the server configuration. Manual directives may render the FTP service non-functional and should be used with caution.
Required roles: SHARING_FTP_READ