ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Ich will für die Benutzergruppe default ein Ratio von 1:2 nach bytes einrichten und hab folgendes in meiner config.
Ratios On
GroupRatio default * 1 0 2 0
Leider funktioniert es nicht.
ich bekomme von meinem FTP Client folgende Meldung
[R] 226 Down: 0 Files (0mb) Up: 0 Files (0mb) 10,000,000:1 CR: LEECH
Kann mir einer helfen?
Ratios On
GroupRatio default * 1 0 2 0
Leider funktioniert es nicht.
ich bekomme von meinem FTP Client folgende Meldung
[R] 226 Down: 0 Files (0mb) Up: 0 Files (0mb) 10,000,000:1 CR: LEECH
Kann mir einer helfen?
-
superuser1
- Posts: 291
- Joined: 2003-11-26 18:43
- Location: earth
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Danke dir vielmals für den Link. Bei mir funktioniert jetzt alles bestens. Ich hab nur noch das Problem das er die Ratios nicht speichert. Die zählen immer nur pro session. Meine config sieht wie folgt aus:
Ratios On
SaveRatios on
RatioFile "/etc/"
RatioTempFile "/etc/"
UserRatio speed 0 0 3 10000
Woran kann das liegen?
Ratios On
SaveRatios on
RatioFile "/etc/"
RatioTempFile "/etc/"
UserRatio speed 0 0 3 10000
Woran kann das liegen?
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
da steht File und nicht Dir..RatioFile "/etc/"
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Hab´s wie folgt geändert, leider ohne erfolg. Der zählt die Ratio nur per Session. Woran kann das liegen.
Ratios On
SaveRatios on
RatioFile "/etc/ratiolog.txt"
RatioTempFile "/etc/tempratiolog.txt"
UserRatio speed 0 0 3 10000
Ratios On
SaveRatios on
RatioFile "/etc/ratiolog.txt"
RatioTempFile "/etc/tempratiolog.txt"
UserRatio speed 0 0 3 10000
-
alexander newald
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Die Dateien exestieren?
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Nein. Er legt Sie nicht an.
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Das File musst du wohl erst noch anlegen und die Daten reinschreiben.
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Was soll ich in die Files reinschreiben. Keine Ahnung wie so ein Datensatz aussehen muss.
-
superuser1
- Posts: 291
- Joined: 2003-11-26 18:43
- Location: earth
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
Hi...
RTFM!
RTFM!
:roll:NOTES:
SaveRatios, RatioFile, RatioTempFile:
In order to have SaveRatios working properly, you must point
RatioFile and RatioTempFile to files that are read/writable for all
users that you wish to have ratios saved. If there is a problem
accessing the files, ProFTPD will revert back to the old per session
ratio method (u/l d/l stats will be forgotten on disconnect).
touch and chmod both files to allow r/w from all users whos ratios
will be saved. Enable ratios, users are added to the ratios file as
they log in and stat tracking begins.
If you are using DefaultRoot along with this command, the Ratio files
will need to be stored within the Root directory. One easy way is to
create a sub-directory off of DefaultRoot that is rwx by all users
and then restrict ALL access to these directorys within ProFTPD...
<Directory /workdir>
<Limit ALL>
Deny ALL
</Limit>
HideNoAccess
</Directory>
Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?
was bedeutet das eigentlich?RTFM