Hallo Zusammen,
ich moechte gerne einen FTP-Server mit UP-/Down-Ratio aufbauen. Mit welchem Ftp-Daemon geht das am besten? Ich benutze z.Z Pro-Ftp. Oder brauch ich andere Software, oder weiß jemand einen Link zu einem Howto?
Danke, Michael
Up/Down-Ratio bei FTP-Server
Re: Up/Down-Ratio bei FTP-Server
> ich moechte gerne einen FTP-Server mit UP-/Down-Ratio aufbauen.
einen ratio warez server ? <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">
> Mit welchem Ftp-Daemon geht das am besten? Ich benutze z.Z Pro-Ftp.
> Oder brauch ich andere Software, oder weiß jemand einen Link zu einem Howto?
probiers doch mal mit der ProFTPD-FAQ: <a href="http://pdd.sourceforge.net/faq/proftpdfaq-4.html" target="_blank"><!--auto-->http://pdd.sourceforge.net/faq/proftpdf ... <!--auto-->
4. Common Running problems
4.11 Can control upload/download ratios?
Yes the mod_ratio module provides for doing just this.
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 allowed), AnonRatio (matches password entered at login), UserRatio (accepts "*" for 'any user'), and GroupRatio.
<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
Ratios on # enable module
UserRatio ftp 0 0 0 0
HostRatio master.debian.org 0 0 0 0 # leech access (default)
GroupRatio proftpd 100 10 5 100000 # 100:1 files, 10 file cred
5:1 bytes, 100k byte cred
AnonRatio billg@microsoft.com 1 0 1 0 # 1:1 ratio, no credits
UserRatio * 5 5 5 50000 # special default case
</font><hr></pre></blockquote>
This example is for someone who (1) has downloaded 1 file of 82k, (2) has uploaded nothing, (3) has a ratio of 5:1 files and 5:1 bytes, (4) has 4 files and 17k credit remaining, and (5) is now changing directory to /art/nudes/young/carla. The initial credit, not shown, was 5 files and 100k (UserRatio * 5 5 5 100000).
Version 2.0 and above of this module integrate with mod_sql.
Limitations of mod_ratio
It appears that the ratio limits in mod_ratio are only maintained on a per session basis and there is no ongoing tracking of usage.
einen ratio warez server ? <img src="http://www.pl-forum.de/UltraBoard/Images/Wilk.gif" border="0" align="middle">
> Mit welchem Ftp-Daemon geht das am besten? Ich benutze z.Z Pro-Ftp.
> Oder brauch ich andere Software, oder weiß jemand einen Link zu einem Howto?
probiers doch mal mit der ProFTPD-FAQ: <a href="http://pdd.sourceforge.net/faq/proftpdfaq-4.html" target="_blank"><!--auto-->http://pdd.sourceforge.net/faq/proftpdf ... <!--auto-->
4. Common Running problems
4.11 Can control upload/download ratios?
Yes the mod_ratio module provides for doing just this.
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 allowed), AnonRatio (matches password entered at login), UserRatio (accepts "*" for 'any user'), and GroupRatio.
<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
Ratios on # enable module
UserRatio ftp 0 0 0 0
HostRatio master.debian.org 0 0 0 0 # leech access (default)
GroupRatio proftpd 100 10 5 100000 # 100:1 files, 10 file cred
5:1 bytes, 100k byte cred
AnonRatio billg@microsoft.com 1 0 1 0 # 1:1 ratio, no credits
UserRatio * 5 5 5 50000 # special default case
</font><hr></pre></blockquote>
This example is for someone who (1) has downloaded 1 file of 82k, (2) has uploaded nothing, (3) has a ratio of 5:1 files and 5:1 bytes, (4) has 4 files and 17k credit remaining, and (5) is now changing directory to /art/nudes/young/carla. The initial credit, not shown, was 5 files and 100k (UserRatio * 5 5 5 100000).
Version 2.0 and above of this module integrate with mod_sql.
Limitations of mod_ratio
It appears that the ratio limits in mod_ratio are only maintained on a per session basis and there is no ongoing tracking of usage.