View Full Version : Limit Number of Concurrent Connections when Downloading Attachments
DJ XtAzY
03-28-2007, 03:02 AM
There are times when a member use a freaking download accelerator/manager programs that connects to some attachment at least 4 times so that he will receive the file at a faster transfer rate. Also most of those programs will allow to add all the attachment links in a post easily, so when they download them all at once, it really causes huge server load with so many connections from the same person. I was wondering if anyone can write a hack/edits that will maybe limit number of connections for an attachment based on IP or any methods that can limit connections. The connectoin limit can be change in admincp (im just throwing in ideas). Maybe a feature that detects if that person is already downloading another attachment and that there is a rule that allows you to only download attachments one at a time. If someone pick up on this, it will surely help me an other boards that may suffer the same problem. Thanks!
rjmjr69
03-28-2007, 03:37 AM
Thats a great idea.
DJ XtAzY
04-02-2007, 06:55 PM
It is since i hate download accelerators/managers that downloads from a database driven site...
i was wondering if i enable memory-limit in php will solve the problem
Take a look at mod_choke (http://os.cyberheatinc.com/mod_choke.php). :)
All this mod_bandwidh or mod_iplimit or mod_choke didn't work in php files i mean they didn't work on attachment.php i hope to see a soultion soon .
PinkMilk
09-15-2014, 06:22 PM
Sorry but ....bump
tbworld
09-15-2014, 07:44 PM
This is not a simple solution. This is usually accomplished by routing the download request to another server with some form of packet shaping, and/or software utilizing deep packet inspection techniques (See.. OSI layer 7). This subject matter probably exceeds the scope of the board here. If you have no idea what I am talking about, then find a hosting/cloud service that can handle this for you. :)
Zachery
09-15-2014, 09:11 PM
Doing this would be way more effort than its worth generally.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.