Skip to contentSkip to conversation

Limit traffic that use to download a file

LARTC Rinto Exandy 5 participants 7 messages Oct 25, 2004 – Oct 27, 2004

lore
Share & tools
lore
#0 lore raw

Dear All,

I want to limit traffic that use by my client to download files directly from browser, I have already limit the traffic for the same purpose to ftp connection. But I don't want to limit traffic that using for browsing the web. Can I do this with IMQ/HTB or any other method to make this happen.

Thank You.
Sorry my English is bad.

RInto Exandi
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 7 lines · Rinto Exandy

Dear All,

I want to limit traffic that use by my client to download files directly from browser, I have already limit the traffic for the same purpose to ftp connection. But I don't want to limit traffic that using for browsing the web. Can I do this with IMQ/HTB or any other method to make this happen.

You can do this if you use squid as a (transparent) proxy server. Squid knows the file size and if you set up delay pools, you can limit the big downloads.

Stef

Signature · 6 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Rinto Exandy
Quoted 8 lines · Rinto Exandy

Dear All,

I want to limit traffic that use by my client to download files directly from browser, I have already limit the traffic for the same purpose to ftp connection. But I don't want to limit traffic that using for browsing the web. Can I do this with IMQ/HTB or any other method to make this happen.

There is a patch at www.netfilter.org called connbytes, you could use this to seperate big http downloads from the smaller ones.

Quoted 6 lines

Thank You.
Sorry my English is bad.

RInto Exandi
_______________________________________________

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Rinto Exandy
Quoted 7 lines
Quoted 5 lines · Rinto Exandy

Dear All,

I want to limit traffic that use by my client to download files directly from browser, I have already limit the traffic for the same purpose to ftp connection. But I don't want to limit traffic that using

Quoted 7 lines

for

Quoted 3 lines

browsing the web. Can I do this with IMQ/HTB or any other method to make this happen.

There is a patch at www.netfilter.org called connbytes, you could use this to seperate big http downloads from the smaller ones.

This patch is considered experimental.

EC.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw
In reply to Rinto Exandy
Quoted 10 lines · EC
Quoted 10 lines
Quoted 5 lines · Rinto Exandy

Dear All,

I want to limit traffic that use by my client to download files directly from browser, I have already limit the traffic for the same purpose to ftp connection. But I don't want to limit traffic that using

for

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

browsing the web. Can I do this with IMQ/HTB or any other method to make this happen.

There is a patch at www.netfilter.org called connbytes, you could use this to seperate big http downloads from the smaller ones.

This patch is considered experimental.

It seems OK for me (many months) on 2.4 - I haven't tried it on 2.6 yet.

If you want connbytes and connmark you need more than POM though.

Someone posted a patch to this list a while back that let you use both together.

Andy.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#5 lore raw
In reply to Rinto Exandy
Quoted 2 lines

It seems OK for me (many months) on 2.4 - I haven't tried it on 2.6 yet.

For me it is rock stable, too ;-).

Quoted 4 lines

If you want connbytes and connmark you need more than POM though.

Someone posted a patch to this list a while back that let you use both together.

Someone wants connbytes and connmark at the same time? Here you have it again:
http://www.chilan.com/pom-ng-connmarkbytes.tar.bz2

Quoted 1 line

Andy.

--
Kind regards,
Tomasz Chilinski

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/