181 lines
7.1 KiB
Plaintext
181 lines
7.1 KiB
Plaintext
|
|
# Dynamic Shared Object (DSO) loading
|
||
|
|
# See README.DSO and howto/DSO.html for more details
|
||
|
|
|
||
|
|
|
||
|
|
# Allow only user root to load and unload modules, but allow everyone
|
||
|
|
# to see which modules have been loaded
|
||
|
|
# (http://www.proftpd.org/docs/modules/mod_dso.html#ModuleControlsACLs)
|
||
|
|
ModuleControlsACLs insmod,rmmod allow user root
|
||
|
|
ModuleControlsACLs lsmod allow user *
|
||
|
|
|
||
|
|
#
|
||
|
|
# General database support (http://www.proftpd.org/docs/contrib/mod_sql.html)
|
||
|
|
# Note that this module is required if you use any of the other mod_sql_*
|
||
|
|
# modules
|
||
|
|
# LoadModule mod_sql.c
|
||
|
|
#
|
||
|
|
# Support for base-64 or hex encoded MD5 and SHA1 passwords from SQL tables
|
||
|
|
# (contrib/mod_sql_passwd.html)
|
||
|
|
# LoadModule mod_sql_passwd.c
|
||
|
|
#
|
||
|
|
# Mysql support (requires proftpd-mysql package)
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_sql.html)
|
||
|
|
# LoadModule mod_sql_mysql.c
|
||
|
|
#
|
||
|
|
# Postgresql support (requires proftpd-postgresql package)
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_sql.html)
|
||
|
|
# LoadModule mod_sql_postgres.c
|
||
|
|
#
|
||
|
|
# SQLite support (requires proftpd-sqlite package)
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_sql.html,
|
||
|
|
# http://www.proftpd.org/docs/contrib/mod_sql_sqlite.html)
|
||
|
|
# LoadModule mod_sql_sqlite.c
|
||
|
|
#
|
||
|
|
# Quota support (http://www.proftpd.org/docs/contrib/mod_quotatab.html)
|
||
|
|
# LoadModule mod_quotatab.c
|
||
|
|
#
|
||
|
|
# File-specific "driver" for storing quota table information in files
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_quotatab_file.html)
|
||
|
|
# LoadModule mod_quotatab_file.c
|
||
|
|
#
|
||
|
|
# SQL database "driver" for storing quota table information in SQL tables
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_quotatab_sql.html)
|
||
|
|
# LoadModule mod_quotatab_sql.c
|
||
|
|
#
|
||
|
|
# LDAP support (requires proftpd-ldap package)
|
||
|
|
# (http://www.proftpd.org/docs/directives/linked/config_ref_mod_ldap.html)
|
||
|
|
# LoadModule mod_ldap.c
|
||
|
|
#
|
||
|
|
# LDAP quota support (requires proftpd-ldap package)
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_quotatab_ldap.html)
|
||
|
|
# LoadModule mod_quotatab_ldap.c
|
||
|
|
#
|
||
|
|
# Support for authenticating users using the RADIUS protocol
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_radius.html)
|
||
|
|
# LoadModule mod_radius.c
|
||
|
|
#
|
||
|
|
# Retrieve quota limit table information from a RADIUS server
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_quotatab_radius.html)
|
||
|
|
# LoadModule mod_quotatab_radius.c
|
||
|
|
#
|
||
|
|
# SITE CPFR and SITE CPTO commands (analogous to RNFR and RNTO), which can be
|
||
|
|
# used to copy files/directories from one place to another on the server
|
||
|
|
# without having to transfer the data to the client and back
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_copy.html)
|
||
|
|
# LoadModule mod_copy.c
|
||
|
|
#
|
||
|
|
# Administrative control actions for the ftpdctl program
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_ctrls_admin.html)
|
||
|
|
LoadModule mod_ctrls_admin.c
|
||
|
|
#
|
||
|
|
# Support for MODE Z commands, which allows FTP clients and servers to
|
||
|
|
# compress data for transfer
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_deflate.html)
|
||
|
|
# LoadModule mod_deflate.c
|
||
|
|
#
|
||
|
|
# Execute external programs or scripts at various points in the process
|
||
|
|
# of handling FTP commands
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_exec.html)
|
||
|
|
# LoadModule mod_exec.c
|
||
|
|
#
|
||
|
|
# Support for POSIX ACLs
|
||
|
|
# (http://www.proftpd.org/docs/modules/mod_facl.html)
|
||
|
|
# LoadModule mod_facl.c
|
||
|
|
#
|
||
|
|
# Support for using the GeoIP library to look up geographical information on
|
||
|
|
# the connecting client and using that to set access controls for the server
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_geoip.html)
|
||
|
|
# LoadModule mod_geoip.c
|
||
|
|
#
|
||
|
|
# Allow for version-specific configuration sections of the proftpd config file,
|
||
|
|
# useful for using the same proftpd config across multiple servers where
|
||
|
|
# different proftpd versions may be in use
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_ifversion.html)
|
||
|
|
# LoadModule mod_ifversion.c
|
||
|
|
#
|
||
|
|
# Configure server availability based on system load
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_load.html)
|
||
|
|
# LoadModule mod_load.c
|
||
|
|
#
|
||
|
|
# Limit downloads to a multiple of upload volume (see README.ratio)
|
||
|
|
# LoadModule mod_ratio.c
|
||
|
|
#
|
||
|
|
# Rewrite FTP commands sent by clients on-the-fly,
|
||
|
|
# using regular expression matching and substitution
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_rewrite.html)
|
||
|
|
# LoadModule mod_rewrite.c
|
||
|
|
#
|
||
|
|
# Support for the SSH2, SFTP, and SCP protocols, for secure file transfer over
|
||
|
|
# an SSH2 connection (http://www.castaglia.org/proftpd/modules/mod_sftp.html)
|
||
|
|
# LoadModule mod_sftp.c
|
||
|
|
#
|
||
|
|
# Use PAM to provide a 'keyboard-interactive' SSH2 authentication method for
|
||
|
|
# mod_sftp (http://www.castaglia.org/proftpd/modules/mod_sftp_pam.html)
|
||
|
|
# LoadModule mod_sftp_pam.c
|
||
|
|
#
|
||
|
|
# Use SQL (via mod_sql) for looking up authorized SSH2 public keys for user
|
||
|
|
# and host based authentication
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_sftp_sql.html)
|
||
|
|
# LoadModule mod_sftp_sql.c
|
||
|
|
#
|
||
|
|
# Provide data transfer rate "shaping" across the entire server
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_shaper.html)
|
||
|
|
# LoadModule mod_shaper.c
|
||
|
|
#
|
||
|
|
# Support for miscellaneous SITE commands such as SITE MKDIR, SITE SYMLINK,
|
||
|
|
# and SITE UTIME (http://www.proftpd.org/docs/contrib/mod_site_misc.html)
|
||
|
|
# LoadModule mod_site_misc.c
|
||
|
|
#
|
||
|
|
# Provide an external SSL session cache using shared memory
|
||
|
|
# (contrib/mod_tls_shmcache.html)
|
||
|
|
# LoadModule mod_tls_shmcache.c
|
||
|
|
#
|
||
|
|
# Provide a memcached-based implementation of an external SSL session cache
|
||
|
|
# (contrib/mod_tls_memcache.html)
|
||
|
|
# LoadModule mod_tls_memcache.c
|
||
|
|
#
|
||
|
|
# Use the /etc/hosts.allow and /etc/hosts.deny files, or other allow/deny
|
||
|
|
# files, for IP-based access control
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_wrap.html)
|
||
|
|
# LoadModule mod_wrap.c
|
||
|
|
#
|
||
|
|
# Use the /etc/hosts.allow and /etc/hosts.deny files, or other allow/deny
|
||
|
|
# files, as well as SQL-based access rules, for IP-based access control
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_wrap2.html)
|
||
|
|
# LoadModule mod_wrap2.c
|
||
|
|
#
|
||
|
|
# Support module for mod_wrap2 that handles access rules stored in specially
|
||
|
|
# formatted files on disk
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_wrap2_file.html)
|
||
|
|
# LoadModule mod_wrap2_file.c
|
||
|
|
#
|
||
|
|
# Support module for mod_wrap2 that handles access rules stored in SQL
|
||
|
|
# database tables (http://www.proftpd.org/docs/contrib/mod_wrap2_sql.html)
|
||
|
|
# LoadModule mod_wrap2_sql.c
|
||
|
|
#
|
||
|
|
# Implement a virtual chroot capability that does not require root privileges
|
||
|
|
# (http://www.castaglia.org/proftpd/modules/mod_vroot.html)
|
||
|
|
# Using this module rather than the kernel's chroot() system call works
|
||
|
|
# around issues with PAM and chroot (http://bugzilla.redhat.com/506735)
|
||
|
|
LoadModule mod_vroot.c
|
||
|
|
|
||
|
|
# Dynamic ban lists (http://www.proftpd.org/docs/contrib/mod_ban.html)
|
||
|
|
# Enable this with PROFTPD_OPTIONS=-DDYNAMIC_BAN_LISTS in /etc/sysconfig/proftpd
|
||
|
|
<IfDefine DYNAMIC_BAN_LISTS>
|
||
|
|
LoadModule mod_ban.c
|
||
|
|
</IfDefine>
|
||
|
|
|
||
|
|
# Set networking-specific "Quality of Service" (QoS) bits on the packets used
|
||
|
|
# by the server (contrib/mod_qos.html)
|
||
|
|
<IfDefine QOS>
|
||
|
|
LoadModule mod_qos.c
|
||
|
|
</IfDefine>
|
||
|
|
|
||
|
|
# Provide a flexible way of specifying that certain configuration directives
|
||
|
|
# only apply to certain sessions, based on credentials such as connection
|
||
|
|
# class, user, or group membership
|
||
|
|
# (http://www.proftpd.org/docs/contrib/mod_ifsession.html)
|
||
|
|
# Note that mod_ifsession must be the last loaded module, otherwise the
|
||
|
|
# per-user/group/class functionality will not work as you expect
|
||
|
|
# LoadModule mod_ifsession.c
|