Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache download limits
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dilbot
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 153
Location: Canada

PostPosted: Mon Aug 27, 2007 3:56 am    Post subject: apache download limits Reply with quote

I have a lot of content for customers and potential customers on my website, and every few days some lamprey decides to suck it all down. I'm all for helping people in developing countries, but when they jam up my server with 10's of Gb's of downloads then it's time to put some brakes on.

Mostly these "users" have been from countries like China, Russia, Romania, Ukraine, Brazil, and Indonesia. I've been blocking off most of the IP's from those countries, but it's not a very efficient method. It's like waiting for your house to be broken into before locking the doors.

Is there some way of getting apache to automatically limit downloads by IP to say 1Gb per day or something like that?
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Mon Aug 27, 2007 5:26 am    Post subject: Reply with quote

you can use Apache 2 Bandwidth Quota and Throttling with mod_cband apache module

check some how to
http://www.howtoforge.com/mod_cband_apache2_bandwidth_quota_throttling_p3
http://cband.linux.pl/
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Aug 27, 2007 7:01 am    Post subject: Reply with quote

Moved from Desktop Environments to Networking & Security.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum