ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Backup, Restore und Transfer von Daten
Post Reply
rootnoob
Posts: 5
Joined: 2004-11-30 14:33
 

ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by rootnoob »

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?
superuser1
Posts: 291
Joined: 2003-11-26 18:43
Location: earth
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by superuser1 »

Hi...

schau dir nochmal http://www.dynw.com/mod_ratio/ genau an.

:roll:
rootnoob
Posts: 5
Joined: 2004-11-30 14:33
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by rootnoob »

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?
cfreak
Posts: 74
Joined: 2002-08-12 19:51
Location: Regensburg
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by cfreak »

RatioFile "/etc/"
da steht File und nicht Dir..
rootnoob
Posts: 5
Joined: 2004-11-30 14:33
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by rootnoob »

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
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by alexander newald »

Die Dateien exestieren?
rootnoob
Posts: 5
Joined: 2004-11-30 14:33
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by rootnoob »

Nein. Er legt Sie nicht an.
willi
Posts: 24
Joined: 2004-10-26 10:28
Contact:
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by willi »

Das File musst du wohl erst noch anlegen und die Daten reinschreiben.
rootnoob
Posts: 5
Joined: 2004-11-30 14:33
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by rootnoob »

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?

Post by superuser1 »

Hi...

RTFM!
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>
:roll:
willi
Posts: 24
Joined: 2004-10-26 10:28
Contact:
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by willi »

RTFM
was bedeutet das eigentlich?
metrax
Posts: 194
Joined: 2003-02-22 22:51
Location: München / Berg-am-Laim
Contact:
 

Re: ProFTPD hat einer Erfahrung wie man eine Ratio einstellt?

Post by metrax »

Post Reply