slackware-current/source/n/proftpd/etc/proftpd.conf
Patrick J Volkerding 47e3f5d9c3 Wed Mar 13 19:46:48 UTC 2024
a/etc-15.1-x86_64-9.txz:  Rebuilt.
  Added proftpd user (97) and proftpd group (97).
  Added nm-openvpn user (320) and nm-openvpn group (320).
  Added openvpn user (443) and openvpn group (443).
  Added overflowuid user (65534) and overflowgid group (65534).
  Thanks to opty for encouraging us to think about nobody.
d/meson-1.4.0-x86_64-1.txz:  Upgraded.
d/python-setuptools-69.2.0-x86_64-1.txz:  Upgraded.
l/expat-2.6.2-x86_64-1.txz:  Upgraded.
  Prevent billion laughs attacks with isolated use of external parsers.
  For more information, see:
    1d50b80cf3
    https://www.cve.org/CVERecord?id=CVE-2024-28757
  (* Security fix *)
l/pipewire-1.0.4-x86_64-1.txz:  Upgraded.
l/python-zipp-3.18.0-x86_64-1.txz:  Upgraded.
n/openvpn-2.6.9-x86_64-2.txz:  Rebuilt.
  Run as openvpn:openvpn. Thanks to rkelsen.
n/proftpd-1.3.8b-x86_64-2.txz:  Rebuilt.
  Run as proftpd:proftpd.
x/libva-2.21.0-x86_64-1.txz:  Upgraded.
x/libva-utils-2.21.0-x86_64-1.txz:  Upgraded.
xap/NetworkManager-openvpn-1.10.2-x86_64-2.txz:  Rebuilt.
  Run as nm-openvpn:nm-openvpn. Thanks to Markus Wiesner.
2024-03-13 21:30:19 +01:00

74 lines
1.9 KiB
Text

# This is a basic ProFTPD configuration file.
# It establishes a single server and a single anonymous login.
# It assumes that you have a user/group "proftpd" and "ftp"
# for normal/anonymous operation.
ServerName "ProFTPD Default Installation"
#ServerType standalone
ServerType inetd
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# Don't use IPv6 support by default.
UseIPv6 off
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User proftpd
Group proftpd
# Set system log location:
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
# Normally, we want files to be overwriteable.
AllowOverwrite on
# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 50
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
# An upload directory that allows storing files but not retrieving
# or creating directories.
# <Directory incoming/*>
# <Limit READ>
# DenyAll
# </Limit>
#
# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>
</Anonymous>