All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Limit traffic that use to download a file
@ 2004-10-25  5:46 Rinto Exandy
  2004-10-25 10:20 ` Stef Coene
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Rinto Exandy @ 2004-10-25  5:46 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] Limit traffic that use to download a file
  2004-10-25  5:46 [LARTC] Limit traffic that use to download a file Rinto Exandy
@ 2004-10-25 10:20 ` Stef Coene
  2004-10-25 11:13 ` Andy Furniss
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Stef Coene @ 2004-10-25 10:20 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] Limit traffic that use to download a file
  2004-10-25  5:46 [LARTC] Limit traffic that use to download a file Rinto Exandy
  2004-10-25 10:20 ` Stef Coene
@ 2004-10-25 11:13 ` Andy Furniss
  2004-10-25 14:59 ` EC
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Andy Furniss @ 2004-10-25 11:13 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [LARTC] Limit traffic that use to download a file
  2004-10-25  5:46 [LARTC] Limit traffic that use to download a file Rinto Exandy
  2004-10-25 10:20 ` Stef Coene
  2004-10-25 11:13 ` Andy Furniss
@ 2004-10-25 14:59 ` EC
  2004-10-25 17:47 ` Andy Furniss
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: EC @ 2004-10-25 14:59 UTC (permalink / raw)
  To: lartc

>
>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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] Limit traffic that use to download a file
  2004-10-25  5:46 [LARTC] Limit traffic that use to download a file Rinto Exandy
                   ` (2 preceding siblings ...)
  2004-10-25 14:59 ` EC
@ 2004-10-25 17:47 ` Andy Furniss
  2004-10-25 18:14 ` Tomasz Chilinski
  2004-10-27  3:28 ` Rinto Exandy
  5 siblings, 0 replies; 7+ messages in thread
From: Andy Furniss @ 2004-10-25 17:47 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] Limit traffic that use to download a file
  2004-10-25  5:46 [LARTC] Limit traffic that use to download a file Rinto Exandy
                   ` (3 preceding siblings ...)
  2004-10-25 17:47 ` Andy Furniss
@ 2004-10-25 18:14 ` Tomasz Chilinski
  2004-10-27  3:28 ` Rinto Exandy
  5 siblings, 0 replies; 7+ messages in thread
From: Tomasz Chilinski @ 2004-10-25 18:14 UTC (permalink / raw)
  To: lartc

> 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] Limit traffic that use to download a file
  2004-10-25  5:46 [LARTC] Limit traffic that use to download a file Rinto Exandy
                   ` (4 preceding siblings ...)
  2004-10-25 18:14 ` Tomasz Chilinski
@ 2004-10-27  3:28 ` Rinto Exandy
  5 siblings, 0 replies; 7+ messages in thread
From: Rinto Exandy @ 2004-10-27  3:28 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-27  3:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-25  5:46 [LARTC] Limit traffic that use to download a file Rinto Exandy
2004-10-25 10:20 ` Stef Coene
2004-10-25 11:13 ` Andy Furniss
2004-10-25 14:59 ` EC
2004-10-25 17:47 ` Andy Furniss
2004-10-25 18:14 ` Tomasz Chilinski
2004-10-27  3:28 ` Rinto Exandy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.