Forum Moderators: phranque

Message Too Old, No Replies

Anti-leech front end?

         

gryzor

9:23 am on Aug 26, 2008 (gmt 0)

10+ Year Member



Hello everyone!

I’ve tried in the past to find a solution to my problem, but to no avail… And the problem is, as with lots of others, leeching.

You see, I’ve got (a CentOS/Apache server), a wiki site on old computers. Also on the server I’ve got some directories that are open to the public and contain scans of related magazines. Unfortunately, some users just leech the entire archive, and as a result I’ve got a traffic of 20GB, for this month for instance, and still going up.

So the question is self-posing: what can I do to stop those who leech the entire directories? I’ve used .httaccess to block several bots, but of course that’s easy to circumvent. Is there any (maybe PHP/Java based?) directory that would act as a middleman to the archive? Or any other way to limit those who bomb the server with requests? I was thinking maybe a nice PHP (maybe) interface exists, like those web2ftp interfaces, only I have FTP disabled outside my VPN (due to some DoS attacks)...

Any pointers would be greatly, greatly appreciated… And yes, I've looked around here quite a bit, but found not much :(

Regards
Themis

[edited by: phranque at 9:27 am (utc) on Aug. 26, 2008]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]

phranque

9:35 am on Aug 26, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], Themis!

you should probably start here:
[webmasterworld.com...]

gryzor

10:33 am on Aug 26, 2008 (gmt 0)

10+ Year Member



Wow, that is quite a thread... and quite a script! Given the last post is from over two years ago, is it still good?

Let's start reading... thanks so much - good to have found you, since this forum is so vastly awesome!

gryzor

11:05 am on Aug 26, 2008 (gmt 0)

10+ Year Member



A bit out of my depth here, and I don't understand half of it almost, but it seems neat... what is great is that it can be called from .htaccess and thus allow per-directory protection. I'll up it tonight and see what happens!

It's just strange that the thread suddenly died so long ago :(

phranque

11:54 am on Aug 26, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



that information is still current and is considered the reference post for that script in WebmasterWorld forums.
you will notice the OP in that thread was updated by a moderator less than 3 weeks ago...