vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Limit Number of Concurrent Connections when Downloading Attachments (https://vborg.vbsupport.ru/showthread.php?t=143378)

DJ XtAzY 03-28-2007 03:02 AM

Limit Number of Concurrent Connections when Downloading Attachments
 
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

Brad 04-03-2007 01:00 PM

Take a look at mod_choke. :)

Zi55 09-04-2007 12:08 AM

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 .

Zi55 01-05-2008 09:48 AM

Any ANswer on this ?

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.


All times are GMT. The time now is 09:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00977 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete