Archiv verlassen und diese Seite im Standarddesign anzeigen : Wie in Proftp denn Speed Beschränken
Hallo
Ich möchte in Proftp denn Speed beim Download von meinem Server auf 20 kb/sec Beschränken. Für alle die da Runterladen. Der Upload auf meinem Server soll bei 150 kb/sec beschrängt werden.Wie mache ich das in der Config?
Danke
Steht in deutscher Sprache beschrieben auf www.proftpd.de in den FAQ's.
Für neuere Versionen steht's in den FAQ von www.proftpd.org
So habe ich das ausprobiert ging aber nicht.Hier mal mein Config file.
# 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"
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
RateReadBPS 81920
RateReadFreeBytes 5120
RateReadHardBPS on
# 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 ftp
Group ftp
AuthUserFile /etc/ftpd.passwd
###Wiederanfangen der Downloads
AllowRetrieveRestart on
AllowStoreRestart on
############################
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
defaultroot /srv/ftp
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
#<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 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# AllowAll
# </Limit>
#</Anonymous>
<Global>
RootLogin off
DisplayGoAway "Bitte haben sie einen Moment Gedult der Server ist Ausgelastet"
DisplayQuit "Vielen Dank für ihren Besuch"
RequireValidShell off
</Global>
Und so Läuft der Server nicht
Danke für die vielen interessanten Kommentarzeilen. :rolleyes:
Ab IIRC 1.2.8 gibt es RateBPS nicht mehr. Stattdessen kommt jetzt die TransferRate Direktive zum Zug.
hmm kannst du mir bitte genau sagen wie du es nun gelöst hast?!? irgendwie find ich nix... hab 1.2.8 bei mir drauf. danke!
Original geschrieben von Raphi
irgendwie find ich nix...
Steht doch alles schon da? Wo klappt denn nicht?
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.