Limit Bandwidth for One Click Filehoster
-
Hi,
I need a solution for throttling large file downloads.
First i thought limiting services like rapidshare, uploaded, etc. by limiting their ip ranges is a good way,
but as i am unable to find any good ip range lists of these providers,
it seems to me that i'm on the wrong track.How would you deal with requests like that?
I'm using pfSense embedded 2.0.2, using squid in transparent mode for caching needs.
Thanks in advance,
redflag237
-
Maybe the solution is to limit speed of a http Traffic Connection, if transferred size exceeds 1MB of data.
Is there a way to do so in pfsense?Maybe these file Downloads can be catched by L7 Filter on rar files in most cases.
Is there an option to do so, too?I found the following page:
http://l7-filter.sourceforge.net/protocolsthere is a l7 pattern for rar file format. How can i apply this pattern to pfsense?
Looking forward to your ideas :-)
-
Sorry but is there noone who could geve me a hint?
-
Sorry but is there noone who could geve me a hint?
If your HFSC is working, you could fiddle with m1 and d perimeter.
Say the queue responsible for downloading will get m1 = 20Mbit (bypass all other limit) for d=30seconds, and after that it's given a lower bandwidth m2=2Mbit. I believe this will automatically throttle any file bigger than 20Mbit x 30 / 8 = 75MByte.
-
@kyu:
Sorry but is there noone who could geve me a hint?
If your HFSC is working, you could fiddle with m1 and d perimeter.
Say the queue responsible for downloading will get m1 = 20Mbit (bypass all other limit) for d=30seconds, and after that it's given a lower bandwidth m2=2Mbit. I believe this will automatically throttle any file bigger than 20Mbit x 30 / 8 = 75MByte.
Works fine, thank you very much!