Apache limit for files or bytes downloaded per IP?

Apache limit for files or bytes downloaded per IP?

Post by Pete Ashdo » Wed, 22 Oct 2003 07:06:27


I'm in the process of setting up a repository of information that has been
abandoned several times in the past due to people downloading the whole thing
(ie: 10 gigabytes).

To avoid this problem, I would like to be able to limit the amount of files or
bytes that a single IP can download in a 24 hour period. I do not want to
limit the speed at which someone can download, nor do I want to limit the
number of files they can concurrently download. I've searched for a module to
do this, but have come up dry. Can anyone offer me some guidance?
--
Pneumatic tubes are killing the Internet.

Pete Ashdown XXXX@XXXXX.COM ICQ:5717723 Salt Lake City, Utah
XMission Internet Access - http://www.yqcomputer.com/ - Voice: 801 539 0852
 
 
 

Apache limit for files or bytes downloaded per IP?

Post by Paul Rubi » Wed, 22 Oct 2003 07:34:00

Pete Ashdown < XXXX@XXXXX.COM > writes:

I don't think you can really do that by IP address. Consider AOL for
example, where all the users funnel through a limited set of IP's.

 
 
 

Apache limit for files or bytes downloaded per IP?

Post by Michael W. » Wed, 22 Oct 2003 18:47:19

On 20 Oct 2003 15:34:00 -0700, Paul Rubin



Trying to limit by IP has a number or problems - not only the AOL
situation, but consider dynamic IPs...

I used an account approach when I had to solve this problem. They
sign up, I mailed them a password, they logged in, and I maintained a
counter. If you want to see how it works, goto
http://www.yqcomputer.com/ 's all PHP/MySQL driven -
"Access to the Central Core archives" is the app I was just talking
about, "Mike's Code" bypasses the accounting system. All the file
lists etc. are dynamic.

Mike-
Mornings: Evolution in action. Only the grumpy will survive.
-----------------------------------------------------

Please note - Due to the intense volume of spam, we have
installed site-wide spam filters at catherders.com. If
email from you bounces, try non-HTML, non-encoded,
non-attachments.


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.yqcomputer.com/ The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---