ProFTPD

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.
Resources

ProFTPD is a highly configurable FTP server.

Installation

USE flags

USE flags for net-ftp/proftpd An advanced and very configurable FTP server

+caps Use Linux capabilities library to control privilege
+pcre Add support for Perl Compatible Regular Expressions
acl Add support for Access Control Lists
authfile Enable support for the auth-file module
ban Enable support for the mod_ban module
case Enable support for the mod_case module
clamav Add support for Clam AntiVirus software (usually with a plugin)
copy Enable support for the mod_copy module
ctrls Enable support for the mod_ctrls and mod_ctrls_admin modules
deflate Enable support for the mod_deflate module
diskuse Enable support for the mod_diskuse module
dso Enable support for the mod_dso module
dynmasq Enable support for the mod_dynmasq module, for dynamically updating MasqueradeAddress for dyndns-like scenarios)
exec Enable support for the mod_exec module. WARNING: this could be a security risk
ident Enable support for the mod_ident module
ifsession Enable support for the ifsession module
ifversion Enable support for the mod_ifversion module
ipv6 Add support for IP version 6
kerberos Add kerberos support
ldap Add LDAP support (Lightweight Directory Access Protocol)
log-forensic Enable support for the mod_log_forensic module, log only suspicious actions.
memcache Enable support for the mod_memcache module, for using memcached servers
msg Enable support for the mod_msg module, allows system users to send messages to connected clients via the ftpdctl program.
mysql Add mySQL Database support
ncurses Add ncurses support (console display library)
nls Add Native Language Support (using gettext - GNU locale utilities)
pam Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
postgres Add support for the postgresql database
qos Enable support for the mod_qos module
radius Add support for RADIUS authentication
ratio Enable support for the mod_ratio module
readme Enable support for the mod_readme module
rewrite Enable support for the rewrite module
selinux !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
sftp Enable support for the mod_sftp module and optionally mod_sftp_sql and mod_sftp_pam if matching USE flags are enabled
shaper Enable support for the mod_shaper module
sitemisc Enable support for the sitemisc module
snmp Add support for the Simple Network Management Protocol if available
sodium Use dev-libs/libsodium for password encryption an key exchange
softquota Enable support for the quotatab module
sqlite Add support for sqlite - embedded sql database
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
tcpd Add support for TCP wrappers
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
unique-id Enable support for the mod_unique_id module, every connection gets unique ID.
vroot Enable support for the virtual root module

Emerge

root #emerge --ask net-ftp/proftpd

Configuration

Anonymous read access

Anonymous read only access requires -acl USE flag set. Permissions on /home/ftp require chmod 555 ran on the directory.

FILE /etc/proftpd/proftpd.conf
<Anonymous /home/ftp>

Service

OpenRC

To start ProFTPD on boot:

root #rc-update add proftpd default

To start ProFTPD now:

root #rc-service proftpd start

systemd

To start ProFTPD on boot:

root #systemctl enable proftpd

To start ProFTPD now:

root #systemctl start proftpd

External Resources