View Full Version : [Filled] Min Leech/Race Speed
hello,
Is there a way to force min speed trafic (kick user for too slow speed) ?
Tanks
neoxed
03-09-2004, 04:56 PM
Try ioBanana, it has a "slowrace" feature which does this. I really don't see a need for making another script if there's one that already does it. ;)
http://www.ioftpd.com/scripts/script.php?id=1
Thanks a lot for your answers. I ve efectively seen this :
#############
# slowraces #
#############
#
# slow_races: 1 to enable, 0 to disable
#
# will kick users off site (all connections) if upload speed less than
# 'slow_races_min_speed' kBps (kick announced in site chan)
#
# will punish the last user to upload a file in a race if it was uploaded
# at a speed less than 'slow_races_min_speed' kBps
# the user will loose 'slow_races_punish' MB (announced in site chan)
# slow_races_punish=0 to disable punish on race end
#
# applies only to releases with at least 'slow_races_min_files'
# not in any dirs in 'excluded_dirs_slowraces'
slow_races=0
slow_races_min_speed=150
slow_races_kick_during_race=1
slow_races_punish=500
slow_races_min_files=1
slow_races_exclude_flags=1M
excluded_dirs_slowraces=/!ioftpd /pre /requests /___speedtests___
But, i tried and it works only during race. I d like to force during simple upload and leech.
bizniz i m going to try your lib. Thanks again all.
I tried to use the lib like this in ioftp.ini
#put in ioFTPD.ini (scheduler could be * * * * TCL ..\should be ok :))
[Scheduler]
iobw = 0,5,10,15,20,25,30,35,40,45,50,55 * * * TCL ..\scripts\ioBWKIKKER.itcl
[FTP_Post-Command_Events]
pass = TCL ..\scripts\ioBWKIKKER.itcl ioBW:BANNED
but no effect:(
Help
:rolleyes:
Mouton
03-12-2004, 04:14 PM
if your using scripts that aren't posted on ioftpd.com/scripts, please use their forums for support.
in this case, there's probably a forum on #iom0d website or something similar.
Can I try adding this functionality :
SITE CHANGE <user> SPEEDMIN <dn_speed> <up_speed>
Which file do I have to modify (I ll try to do the implementation) ?
Tx...
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.