Code:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "ProFTPD Default Installation"
ServerType standalone
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
# 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 nobody
Group FTPgroup
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
MaxClientsPerHost 2 "you can onLy logIn tWo Time"
<IfUser look>
TimeoutIdle 60
MaxClients 1 "Only one such user at a time."
<Directory /home/ftp/download/[1]mUsic/EnteR/*>
<Limit WRITE> # Alle Schreibzugriffe verbieten
DenyAll
</Limit>
</Directory>
</IfUser>
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite off
</Directory>
ratios on
UserRatio look 0 0 1 1
CwdRatioMsg "Please Upload!"
FileRatioErrMsg "Come on you can send more files than that...."
ByteRatioErrMsg "Not enough credits, you have to upload first"
der ratio funzt wunderbar, nur das IfUser will nicht.
also die richtigen module hab ich drinne :
Code:
[root@localhost sbin]# proftpd -l
Compiled-in modules:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_auth_pam.c
mod_ratio.c
mod_ifsession.c
mod_cap.c
[root@localhost sbin]#
und die richtige versio auch:
Code:
[root@localhost sbin]# proftpd -v
- ProFTPD Version 1.2.8
[root@localhost sbin]#
danke
chulu
[edit]
also ich habe gestern dem autor des m,oduls geschrieben und der meint auch
"Also, there were a few small mod_ifsession bugs that are fixed in 1.2.9rc1
(which comes with mod_ifsession)."
also denke ich werds mit der neuen version versuchen. leuft der server stabiel, hat die schon wer getestet?
danke
chulu
[/edit]
[edit2]
wie entferne ich den server eigentlich sauber wieder?
[/edit2]