Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limiting file requests per file type 1

Status
Not open for further replies.

jh0

Technical User
Jan 22, 2005
16
US
Hello,

I run an Apache (cPanel) web server. One of the sites I host has a large quantity of MP3 files. I'm having problems with people using download managers to retrieve quantities of MP3 files at once, which bogs down the rest of the server -- it's on a 5mbit connection, but three or four of these abusers can bring things to a halt.

I need to find a way to limit MP3 files to only one (or maybe two) simultaneous retrievals per IP address. Optionally, I'd also like to control the amount of bandwidth that each IP address is allocated. This might not be possible, but I thought I'd ask anyway.

Any help would be greatly appreciated. Right now I'm resorting to simply blocking the IP addresses completely, and I'd rather not do that. Thank you!

jh0

 
jh0,

"mod_throttle is intended to reduce the load on your server & bandwidth generated by popular virtual hosts, directories, locations, or users according to supported polices (see below) that decide when to delay or refuse requests. Also mod_throttle can track and throttle incoming connections by IP address or by authenticated remote user."

This link seems tailored for cPanel:

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Thanks for the pointer! I think that I can make mod_throttle work for my needs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top