rejetto forum

Software => HFS ~ HTTP File Server => Programmers corner => Topic started by: mikkel on April 24, 2014, 01:55:37 PM

Title: Temporary auto ban
Post by: mikkel on April 24, 2014, 01:55:37 PM
Hi,

At the moment we have clients, due to other software issues, which keeps requesting the same download and keeps downloading over and over again.

What I need is a script of some kind, which bans an IP which for example downloads more than 100mb to be temporarily banned for 24h. Is that possible?

I have no experience regarding macros or scripts of any kind.

Your help is very much appreciated.

/Mikkel
Title: Re: Temporary auto ban
Post by: rejetto on April 26, 2014, 10:33:14 AM
it's possible but i don't think there's already a script to do exactly what you want.
If someone wants to work on it, can get a clue from these threads
http://www.rejetto.com/forum/hfs-~-http-file-server/how-to-ban-a-user-account/
http://www.rejetto.com/forum/hfs-~-http-file-server/automatictemporary-ban/

sorry but i cannot find the time to do it myself
Title: Re: Temporary auto ban
Post by: mikkel on April 28, 2014, 07:13:52 AM
Hi there,

Your reply is very much appreciated, even though it's not a final solution.

I hope someone out there would take a look at it, since I know I'm not the only one who will find it useful.