# 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 "nobody"/"nogroup" for normal operation and anon.
ServerName "powered by
S.u.S.E. Linux"
ServerType inetd
ServerAdmin ftpadm@localhost
DeferWelcome off
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
# The ratio directives take four numbers: file ratio, initial file
# credit, byte ratio, and initial byte credit. Setting either ratio
# to 0 disables that check.
#
# The directives are HostRatio (matches FQDN -- wildcards are allowed
# in this one), AnonRatio (matches password entered in an anon login,
# usually an email address), UserRatio (accepts "*" for 'any user'),
# and GroupRatio. Matches are looked for in that order.
#
# Some examples:
#
# Ratios on # enable module
# UserRatio ftp 0 0 0 0
# HostRatio anyhost.domain.top 0 0 0 0 # leech access (default)
# GroupRatio proftpd 100 10 5 100000 # 100:1 files, 10 file cred
# AnonRatio auser@domain.top 1 0 1 0 # 1:1 ratio, no credits
# UserRatio * 5 5 5 50000 # special default case
#
# Setting "Ratios on" without configuring anything else will enable
# leech mode: it logs activity and sends status messages to the ftp
# client, but doesn't restrict traffic.
# 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 that
the server normally runs at.
User nobody
Group nogroup
# Normally, we want files
to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
#
# uncomment for anonymous...:
#
#<Anonymous /usr/local/ftp>
# # After anonymous login, daemon runs as:
# User ftp
# Group public
#
# # Client login as 'anonymous' is aliased to 'ftp'.
# UserAlias anonymous ftp
#
# # Limit the maximum number of anonymous logins
# MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
# DisplayLogin msgs/welcome.msg
# DisplayFirstChdir .message
#
# # Deny write operations to all directories, underneath root-dir
# # Default is to allow, so we don't need a <Limit> for read operations.
# <Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
#
# # Only uploads into incomming directory are allowed...
# <Directory incoming>
#
# Umask 017
#
# # ... so deny read/write
# <Limit READ WRITE>
# DenyAll
# </Limit>
#
# # ... allow file storing, but not other writes
# <Limit STOR>
# AllowAll
# </Limit>
#
# </Directory>
#
#</Anonymous>
Home |
© 1999 Claude Leniger
claude.leniger@ltc.lu
|