PDA

View Full Version : [REQ]-Control.and/or.to.block.abuse.leech


iam
01-08-2005, 10:48 PM
A script to block the big leechers.
to fix a limit by day?/week/month

example:
with 10gb/week or 40gb/month max allowed of leech
if user1 reaches the limit, receive a warning notice (STOP YOUR MASS LEECH !!!) or alternative blocked as far as the following week/month in DL

what think?

neoxed
01-08-2005, 11:04 PM
Isn't that weekly credit allotments are for? If you want a different time duration (say monthly), schedule the weeklyset event to run once a month.

Quote from ioA's manual:

9. If using weekly allotment this needs to be triggered. To do so,
schedule it to be run whenever wanted. If you want dayly allotment run it each day.
If weekly allotment then once a week and so on.
It sets amount of credits when you run it.

Following example triggers it once a week:
Weekly = 0 0 * 6 EXEC ..\scripts\ioA\ioA.exe WEEKLYSET

site weekly <user/=group> <section>,<MB>
Sets X MB credits for a user to be used. It does not add but sets it to specific value.

Example:
site weekly ioFTPD 0,500 Set ioFTPD 500MB credits
site weekly =ioftpd 0,500 Set ioftpd 500MB credits
site weekly ioFTPD 0,0 Removes allotment for ioFTPD in section 0
site weekly Lists users with allotment

iam
01-09-2005, 11:09 AM
weekly allotment is not adapted for the account ratios or friends, supply, affils...
And weekly erases the credit.

Me I want a script which restrict the big leechers since a limit fixed for some account.
And the limit increases in according to upload.

EwarWoo
01-09-2005, 03:39 PM
Originally posted by iam
And the limit increases in according to upload.

Is that not just ratio? Just change 'em to 1:2 if they're leeching too much.

JoeBAR
01-10-2005, 03:59 PM
One wonder how much one would upload if not allowed to use the credits gained...