rip icon indicating copy to clipboard operation
rip copied to clipboard

Automatically ban resource hogs by IP address

Open 4pr0n opened this issue 12 years ago • 0 comments

A small percentage of the users are consuming a large percentage of the bandwidth and resources.

The system requires grepping access logs to find offenders & manually banning their IPs.

This could be a cron script (or embedded in python_cleanup.py). Look for users ripping albums over a threshold and ban them.

For ex, hand out bans for users that rip more than 50 albums in one day.

Bans could be reset at the end of the day, or after 2 days.

Banning should redirect to a page informing the user that they've been banned and [may] be unblocked in the near future.

4pr0n avatar Sep 06 '13 12:09 4pr0n