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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Monday 25 October 2004 07:46, Rinto Exandy wrote:> 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 -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Rinto Exandy wrote:> 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.> Thank You. > Sorry my English is bad. > > RInto Exandi > _______________________________________________ >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >Rinto Exandy wrote: >> 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.This patch is considered experimental. EC. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
EC wrote:>>Rinto Exandy wrote: >> >>>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. > > 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 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 ;-).> 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> Andy.-- Kind regards, Tomasz Chilinski _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Dear All, Thank you for the suggestion, I use iptables connbytes facility to mark large packet, and it'' works great. Sincerely, Rinto Exandi _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/